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 TypeMethodDescriptionboolean
boolean
boolean
getMimeType
(EntityPermission entityPermission) getMimeType
(Session session) getMimeType
(Session session, EntityPermission entityPermission) getMimeTypeForUpdate
(Session session) boolean
boolean
boolean
int
hashCode()
void
remove()
void
void
setCacheEntryKey
(String cacheEntryKey) void
void
setCreatedTime
(Long createdTime) void
setMimeType
(MimeType entity) void
setMimeTypePK
(MimeTypePK mimeTypePK) void
setValidUntilTime
(Long validUntilTime) void
toString()
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:
getBaseFactoryInstance
in classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
store
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
getCacheEntryValue
-
setCacheEntryValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in 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
-