@ProviderType public class RepositoryEntryWrapper extends BaseModelWrapper<RepositoryEntry> implements RepositoryEntry, ModelWrapper<RepositoryEntry>
This class is a wrapper for RepositoryEntry
.
RepositoryEntry
,
Serialized Formmodel
REPOSITORY_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
RepositoryEntryWrapper(RepositoryEntry repositoryEntry) |
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Returns the company ID of this repository entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this repository entry.
|
long |
getGroupId()
Returns the group ID of this repository entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this repository entry.
|
boolean |
getManualCheckInRequired()
Returns the manual check in required of this repository entry.
|
java.lang.String |
getMappedId()
Returns the mapped ID of this repository entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.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.
|
java.lang.String |
getUserName()
Returns the user name of this repository entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this repository entry.
|
java.lang.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(java.util.Date createDate)
Sets the create date of this repository entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this repository entry.
|
void |
setLastPublishDate(java.util.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(java.lang.String mappedId)
Sets the mapped ID of this repository entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.lang.String userName)
Sets the user name of this repository entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this repository entry.
|
void |
setUuid(java.lang.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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
clone
getWrappedModel
public RepositoryEntryWrapper(RepositoryEntry repositoryEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RepositoryEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<RepositoryEntry>
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface RepositoryEntryModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface RepositoryEntryModel
getCreateDate
in interface StagedModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface RepositoryEntryModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface RepositoryEntryModel
getLastPublishDate
in interface StagedGroupedModel
public boolean getManualCheckInRequired()
getManualCheckInRequired
in interface RepositoryEntryModel
public java.lang.String getMappedId()
getMappedId
in interface RepositoryEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RepositoryEntryModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RepositoryEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface RepositoryEntryModel
public long getRepositoryEntryId()
getRepositoryEntryId
in interface RepositoryEntryModel
public long getRepositoryId()
getRepositoryId
in interface RepositoryEntryModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RepositoryEntryModel
public java.lang.String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RepositoryEntryModel
public java.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface RepositoryEntryModel
public java.lang.String getUuid()
getUuid
in interface RepositoryEntryModel
getUuid
in interface StagedModel
public boolean isManualCheckInRequired()
true
if this repository entry is manual check in required.isManualCheckInRequired
in interface RepositoryEntryModel
true
if this repository entry is manual check in required; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface RepositoryEntryModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this repository entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface RepositoryEntryModel
setCreateDate
in interface StagedModel
createDate
- the create date of this repository entrypublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface RepositoryEntryModel
groupId
- the group ID of this repository entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface RepositoryEntryModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this repository entrypublic void setManualCheckInRequired(boolean manualCheckInRequired)
setManualCheckInRequired
in interface RepositoryEntryModel
manualCheckInRequired
- the manual check in required of this repository entrypublic void setMappedId(java.lang.String mappedId)
setMappedId
in interface RepositoryEntryModel
mappedId
- the mapped ID of this repository entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RepositoryEntryModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this repository entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RepositoryEntryModel
mvccVersion
- the mvcc version of this repository entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RepositoryEntryModel
primaryKey
- the primary key of this repository entrypublic void setRepositoryEntryId(long repositoryEntryId)
setRepositoryEntryId
in interface RepositoryEntryModel
repositoryEntryId
- the repository entry ID of this repository entrypublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface RepositoryEntryModel
repositoryId
- the repository ID of this repository entrypublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface RepositoryEntryModel
userId
- the user ID of this repository entrypublic void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
setUserName
in interface RepositoryEntryModel
userName
- the user name of this repository entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface RepositoryEntryModel
userUuid
- the user uuid of this repository entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface RepositoryEntryModel
setUuid
in interface StagedModel
uuid
- the uuid of this repository entrypublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected RepositoryEntryWrapper wrap(RepositoryEntry repositoryEntry)
wrap
in class BaseModelWrapper<RepositoryEntry>