Class ContentUrlKeyEntity
- java.lang.Object
-
- org.alfresco.repo.domain.contentdata.ContentUrlKeyEntity
-
- All Implemented Interfaces:
java.io.Serializable
public class ContentUrlKeyEntity extends java.lang.Object implements java.io.Serializable- Author:
- sglover
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentUrlKeyEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAlgorithm()java.lang.LonggetContentUrlId()org.alfresco.service.cmr.repository.ContentUrlKeygetContentUrlKey()EncryptedKeygetEncryptedKey()byte[]getEncryptedKeyAsBytes()java.lang.LonggetId()java.lang.IntegergetKeySize()java.lang.StringgetMasterKeyAlias()java.lang.StringgetMasterKeystoreId()java.lang.LonggetUnencryptedFileSize()inthashCode()voidsetAlgorithm(java.lang.String algorithm)voidsetContentUrlId(java.lang.Long contentUrlId)static ContentUrlKeyEntitysetEncryptedKey(ContentUrlKeyEntity existing, EncryptedKey encryptedKey)voidsetEncryptedKey(EncryptedKey encryptedKey)voidsetEncryptedKeyAsBytes(byte[] encryptedKeyAsBytes)voidsetId(java.lang.Long id)voidsetKeySize(java.lang.Integer keySize)voidsetMasterKeyAlias(java.lang.String masterKeyAlias)voidsetMasterKeystoreId(java.lang.String masterKeystoreId)voidsetUnencryptedFileSize(java.lang.Long unencryptedFileSize)java.lang.StringtoString()
-
-
-
Method Detail
-
getContentUrlKey
public org.alfresco.service.cmr.repository.ContentUrlKey getContentUrlKey() throws org.apache.commons.codec.DecoderException- Throws:
org.apache.commons.codec.DecoderException
-
getContentUrlId
public java.lang.Long getContentUrlId()
-
setContentUrlId
public void setContentUrlId(java.lang.Long contentUrlId)
-
setEncryptedKeyAsBytes
public void setEncryptedKeyAsBytes(byte[] encryptedKeyAsBytes)
-
getEncryptedKeyAsBytes
public byte[] getEncryptedKeyAsBytes()
-
setEncryptedKey
public void setEncryptedKey(EncryptedKey encryptedKey)
-
setEncryptedKey
public static ContentUrlKeyEntity setEncryptedKey(ContentUrlKeyEntity existing, EncryptedKey encryptedKey)
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getEncryptedKey
public EncryptedKey getEncryptedKey() throws org.apache.commons.codec.DecoderException
- Throws:
org.apache.commons.codec.DecoderException
-
getUnencryptedFileSize
public java.lang.Long getUnencryptedFileSize()
-
setUnencryptedFileSize
public void setUnencryptedFileSize(java.lang.Long unencryptedFileSize)
-
setKeySize
public void setKeySize(java.lang.Integer keySize)
-
getKeySize
public java.lang.Integer getKeySize()
-
getAlgorithm
public java.lang.String getAlgorithm()
-
setAlgorithm
public void setAlgorithm(java.lang.String algorithm)
-
getMasterKeystoreId
public java.lang.String getMasterKeystoreId()
-
setMasterKeystoreId
public void setMasterKeystoreId(java.lang.String masterKeystoreId)
-
getMasterKeyAlias
public java.lang.String getMasterKeyAlias()
-
setMasterKeyAlias
public void setMasterKeyAlias(java.lang.String masterKeyAlias)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-