public class RepositoryEntryWrapper extends BaseModelWrapper<RepositoryEntry> implements ModelWrapper<RepositoryEntry>, RepositoryEntry
This class is a wrapper for RepositoryEntry.
RepositoryEntry,
Serialized FormmodelREPOSITORY_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
RepositoryEntryWrapper(RepositoryEntry repositoryEntry) |
| Modifier and Type | Method and Description |
|---|---|
RepositoryEntry |
cloneWithOriginalValues() |
Map<String,Function<RepositoryEntry,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<RepositoryEntry,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this repository entry.
|
Date |
getCreateDate()
Returns the create date of this repository entry.
|
long |
getCtCollectionId()
Returns the ct collection ID of this repository entry.
|
long |
getGroupId()
Returns the group ID of this repository entry.
|
Date |
getLastPublishDate()
Returns the last publish date of this repository entry.
|
boolean |
getManualCheckInRequired()
Returns the manual check in required of this repository entry.
|
String |
getMappedId()
Returns the mapped ID of this repository entry.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this repository entry.
|
long |
getMvccVersion()
Returns the mvcc version of this repository entry.
|
long |
getPrimaryKey()
Returns the primary key of this repository entry.
|
long |
getRepositoryEntryId()
Returns the repository entry ID of this repository entry.
|
long |
getRepositoryId()
Returns the repository ID of this repository entry.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this repository entry.
|
String |
getUserName()
Returns the user name of this repository entry.
|
String |
getUserUuid()
Returns the user uuid of this repository entry.
|
String |
getUuid()
Returns the uuid of this repository entry.
|
boolean |
isManualCheckInRequired()
Returns
true if this repository entry is manual check in required. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this repository entry.
|
void |
setCreateDate(Date createDate)
Sets the create date of this repository entry.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this repository entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this repository entry.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this repository entry.
|
void |
setManualCheckInRequired(boolean manualCheckInRequired)
Sets whether this repository entry is manual check in required.
|
void |
setMappedId(String mappedId)
Sets the mapped ID of this repository entry.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this repository entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this repository entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this repository entry.
|
void |
setRepositoryEntryId(long repositoryEntryId)
Sets the repository entry ID of this repository entry.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this repository entry.
|
void |
setUserId(long userId)
Sets the user ID of this repository entry.
|
void |
setUserName(String userName)
Sets the user name of this repository entry.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this repository entry.
|
void |
setUuid(String uuid)
Sets the uuid of this repository entry.
|
protected RepositoryEntryWrapper |
wrap(RepositoryEntry repositoryEntry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonepublic RepositoryEntryWrapper(RepositoryEntry repositoryEntry)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RepositoryEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RepositoryEntry>public RepositoryEntry cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<RepositoryEntry>cloneWithOriginalValues in interface RepositoryEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface RepositoryEntryModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface RepositoryEntryModelgetCreateDate in interface StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<RepositoryEntry>getCtCollectionId in interface RepositoryEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface RepositoryEntryModelpublic Date getLastPublishDate()
getLastPublishDate in interface RepositoryEntryModelgetLastPublishDate in interface StagedGroupedModelpublic boolean getManualCheckInRequired()
getManualCheckInRequired in interface RepositoryEntryModelpublic String getMappedId()
getMappedId in interface RepositoryEntryModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface RepositoryEntryModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RepositoryEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<RepositoryEntry>getPrimaryKey in interface RepositoryEntryModelpublic long getRepositoryEntryId()
getRepositoryEntryId in interface RepositoryEntryModelpublic long getRepositoryId()
getRepositoryId in interface RepositoryEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RepositoryEntryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface RepositoryEntryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface RepositoryEntryModelpublic String getUuid()
getUuid in interface RepositoryEntryModelgetUuid in interface StagedModelpublic boolean isManualCheckInRequired()
true if this repository entry is manual check in required.isManualCheckInRequired in interface RepositoryEntryModeltrue if this repository entry is manual check in required; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface RepositoryEntryModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this repository entrypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface RepositoryEntryModelsetCreateDate in interface StagedModelcreateDate - the create date of this repository entrypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<RepositoryEntry>setCtCollectionId in interface RepositoryEntryModelctCollectionId - the ct collection ID of this repository entrypublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface RepositoryEntryModelgroupId - the group ID of this repository entrypublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface RepositoryEntryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this repository entrypublic void setManualCheckInRequired(boolean manualCheckInRequired)
setManualCheckInRequired in interface RepositoryEntryModelmanualCheckInRequired - the manual check in required of this repository entrypublic void setMappedId(String mappedId)
setMappedId in interface RepositoryEntryModelmappedId - the mapped ID of this repository entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface RepositoryEntryModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this repository entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RepositoryEntryModelmvccVersion - the mvcc version of this repository entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<RepositoryEntry>setPrimaryKey in interface RepositoryEntryModelprimaryKey - the primary key of this repository entrypublic void setRepositoryEntryId(long repositoryEntryId)
setRepositoryEntryId in interface RepositoryEntryModelrepositoryEntryId - the repository entry ID of this repository entrypublic void setRepositoryId(long repositoryId)
setRepositoryId in interface RepositoryEntryModelrepositoryId - the repository ID of this repository entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RepositoryEntryModeluserId - the user ID of this repository entrypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface RepositoryEntryModeluserName - the user name of this repository entrypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RepositoryEntryModeluserUuid - the user uuid of this repository entrypublic void setUuid(String uuid)
setUuid in interface RepositoryEntryModelsetUuid in interface StagedModeluuid - the uuid of this repository entrypublic Map<String,Function<RepositoryEntry,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<RepositoryEntry>public Map<String,BiConsumer<RepositoryEntry,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<RepositoryEntry>public StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected RepositoryEntryWrapper wrap(RepositoryEntry repositoryEntry)
wrap in class BaseModelWrapper<RepositoryEntry>