Class CommunicationEventPurpose
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.communication.server.entity.CommunicationEventPurpose
- 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 CommunicationEventPurposeCommunicationEventPurpose
(CommunicationEventPurposeValue value, EntityPermission entityPermission) Creates a new instance of CommunicationEventPurpose -
Method Summary
Modifier and TypeMethodDescriptionboolean
getActiveDetail
(EntityPermission entityPermission) getActiveDetail
(Session session) getActiveDetail
(Session session, EntityPermission entityPermission) getActiveDetailForUpdate
(Session session) boolean
getLastDetail
(EntityPermission entityPermission) getLastDetail
(Session session) getLastDetail
(Session session, EntityPermission entityPermission) getLastDetailForUpdate
(Session session) boolean
boolean
int
hashCode()
void
remove()
void
void
void
setActiveDetailPK
(CommunicationEventPurposeDetailPK activeDetailPK) void
void
void
setLastDetailPK
(CommunicationEventPurposeDetailPK lastDetailPK) void
toString()
Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
CommunicationEventPurpose
Creates a new instance of CommunicationEventPurpose- Throws:
PersistenceException
-
CommunicationEventPurpose
public CommunicationEventPurpose(CommunicationEventPurposeValue value, EntityPermission entityPermission) Creates a new instance of CommunicationEventPurpose
-
-
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
-
getCommunicationEventPurposeValue
-
setCommunicationEventPurposeValue
public void setCommunicationEventPurposeValue(CommunicationEventPurposeValue value) throws PersistenceReadOnlyException - Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in classBaseEntity
-
getActiveDetailPK
-
getActiveDetail
public CommunicationEventPurposeDetail getActiveDetail(Session session, EntityPermission entityPermission) -
getActiveDetail
-
getActiveDetail
-
getActiveDetail
-
getActiveDetailForUpdate
-
getActiveDetailForUpdate
-
setActiveDetailPK
public void setActiveDetailPK(CommunicationEventPurposeDetailPK activeDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setActiveDetail
-
getActiveDetailPKHasBeenModified
-
getLastDetailPK
-
getLastDetail
public CommunicationEventPurposeDetail getLastDetail(Session session, EntityPermission entityPermission) -
getLastDetail
-
getLastDetail
-
getLastDetail
-
getLastDetailForUpdate
-
getLastDetailForUpdate
-
setLastDetailPK
public void setLastDetailPK(CommunicationEventPurposeDetailPK lastDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setLastDetail
-
getLastDetailPKHasBeenModified
-