Class CacheEntry
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.core.server.entity.CacheEntry
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of CacheEntryCacheEntry(CacheEntryValue value, EntityPermission entityPermission) Creates a new instance of CacheEntry -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetMimeType(EntityPermission entityPermission) getMimeType(Session session) getMimeType(Session session, EntityPermission entityPermission) getMimeTypeForUpdate(Session session) booleanbooleanbooleaninthashCode()voidremove()voidvoidsetCacheEntryKey(String cacheEntryKey) voidvoidsetCreatedTime(Long createdTime) voidsetMimeType(MimeType entity) voidsetMimeTypePK(MimeTypePK mimeTypePK) voidsetValidUntilTime(Long validUntilTime) voidtoString()Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
CacheEntry
Creates a new instance of CacheEntry- Throws:
PersistenceException
-
CacheEntry
Creates a new instance of CacheEntry
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstancein classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModifiedin classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
storein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
getCacheEntryValue
-
setCacheEntryValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKeyin classBaseEntity
-
getCacheEntryKey
-
setCacheEntryKey
public void setCacheEntryKey(String cacheEntryKey) throws PersistenceNotNullException, PersistenceReadOnlyException -
getCacheEntryKeyHasBeenModified
-
getMimeTypePK
-
getMimeType
-
getMimeType
-
getMimeType
-
getMimeType
-
getMimeTypeForUpdate
-
getMimeTypeForUpdate
-
setMimeTypePK
public void setMimeTypePK(MimeTypePK mimeTypePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setMimeType
-
getMimeTypePKHasBeenModified
-
getCreatedTime
-
setCreatedTime
public void setCreatedTime(Long createdTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getCreatedTimeHasBeenModified
-
getValidUntilTime
-
setValidUntilTime
public void setValidUntilTime(Long validUntilTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getValidUntilTimeHasBeenModified
-