Class ContentUrlEntity
- java.lang.Object
-
- org.alfresco.repo.domain.contentdata.ContentUrlEntity
-
- All Implemented Interfaces:
Serializable
public class ContentUrlEntity extends Object implements Serializable
Entity bean for alf_content_url table.These are unique (see
equalsandhashCode) based on thecontent URLvalue.- Since:
- 3.2
- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LongCONST_LONG_ZEROstatic StringEMPTY_URL
-
Constructor Summary
Constructors Constructor Description ContentUrlEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContentUrl()longgetContentUrlCrc()For persistence useContentUrlKeyEntitygetContentUrlKey()StringgetContentUrlShort()For persistence useLonggetId()LonggetOrphanTime()longgetSize()inthashCode()voidsetContentUrl(String contentUrl)voidsetContentUrlCrc(long contentUrlCrc)For persistence usestatic ContentUrlEntitysetContentUrlKey(ContentUrlEntity existing, ContentUrlKeyEntity contentUrlKey)voidsetContentUrlKey(ContentUrlKeyEntity contentUrlKey)voidsetContentUrlShort(String contentUrlShort)For persistence usevoidsetId(Long id)voidsetOrphanTime(Long orphanTime)voidsetSize(long size)StringtoString()
-
-
-
Field Detail
-
CONST_LONG_ZERO
public static final Long CONST_LONG_ZERO
-
EMPTY_URL
public static final String EMPTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentUrlKey
public ContentUrlKeyEntity getContentUrlKey()
-
setContentUrlKey
public static ContentUrlEntity setContentUrlKey(ContentUrlEntity existing, ContentUrlKeyEntity contentUrlKey)
-
setContentUrlKey
public void setContentUrlKey(ContentUrlKeyEntity contentUrlKey)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getContentUrl
public String getContentUrl()
-
setContentUrl
public void setContentUrl(String contentUrl)
-
getContentUrlShort
public String getContentUrlShort()
For persistence use
-
setContentUrlShort
public void setContentUrlShort(String contentUrlShort)
For persistence use
-
getContentUrlCrc
public long getContentUrlCrc()
For persistence use
-
setContentUrlCrc
public void setContentUrlCrc(long contentUrlCrc)
For persistence use
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getOrphanTime
public Long getOrphanTime()
-
setOrphanTime
public void setOrphanTime(Long orphanTime)
-
-