Package com.liferay.portal.kernel.model
Class RepositoryEntryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<RepositoryEntry>
com.liferay.portal.kernel.model.RepositoryEntryWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<RepositoryEntry>
,CTModel<RepositoryEntry>
,ClassedModel
,GroupedModel
,ModelWrapper<RepositoryEntry>
,MVCCModel
,PersistedModel
,RepositoryEntry
,RepositoryEntryModel
,ShardedModel
,StagedGroupedModel
,StagedModel
,Serializable
,Cloneable
,Comparable<RepositoryEntry>
public class RepositoryEntryWrapper
extends BaseModelWrapper<RepositoryEntry>
implements ModelWrapper<RepositoryEntry>, RepositoryEntry
This class is a wrapper for RepositoryEntry
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.RepositoryEntry
REPOSITORY_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this repository entry.Returns the create date of this repository entry.long
Returns the ct collection ID of this repository entry.long
Returns the group ID of this repository entry.Returns the last publish date of this repository entry.boolean
Returns the manual check in required of this repository entry.Returns the mapped ID of this repository entry.Returns the modified date of this repository entry.long
Returns the mvcc version of this repository entry.long
Returns the primary key of this repository entry.long
Returns the repository entry ID of this repository entry.long
Returns the repository ID of this repository entry.long
Returns the user ID of this repository entry.Returns the user name of this repository entry.Returns the user uuid of this repository entry.getUuid()
Returns the uuid of this repository entry.boolean
Returnstrue
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
Sets the uuid of this repository entry.protected RepositoryEntryWrapper
wrap
(RepositoryEntry repositoryEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
RepositoryEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<RepositoryEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<RepositoryEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<RepositoryEntry>
- Specified by:
cloneWithOriginalValues
in interfaceRepositoryEntryModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this repository entry.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceRepositoryEntryModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this repository entry
-
getCreateDate
Returns the create date of this repository entry.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceRepositoryEntryModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this repository entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this repository entry.- Specified by:
getCtCollectionId
in interfaceCTModel<RepositoryEntry>
- Specified by:
getCtCollectionId
in interfaceRepositoryEntryModel
- Returns:
- the ct collection ID of this repository entry
-
getGroupId
public long getGroupId()Returns the group ID of this repository entry.- Specified by:
getGroupId
in interfaceGroupedModel
- Specified by:
getGroupId
in interfaceRepositoryEntryModel
- Returns:
- the group ID of this repository entry
-
getLastPublishDate
Returns the last publish date of this repository entry.- Specified by:
getLastPublishDate
in interfaceRepositoryEntryModel
- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Returns:
- the last publish date of this repository entry
-
getManualCheckInRequired
public boolean getManualCheckInRequired()Returns the manual check in required of this repository entry.- Specified by:
getManualCheckInRequired
in interfaceRepositoryEntryModel
- Returns:
- the manual check in required of this repository entry
-
getMappedId
Returns the mapped ID of this repository entry.- Specified by:
getMappedId
in interfaceRepositoryEntryModel
- Returns:
- the mapped ID of this repository entry
-
getModifiedDate
Returns the modified date of this repository entry.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceRepositoryEntryModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this repository entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this repository entry.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceRepositoryEntryModel
- Returns:
- the mvcc version of this repository entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this repository entry.- Specified by:
getPrimaryKey
in interfaceCTModel<RepositoryEntry>
- Specified by:
getPrimaryKey
in interfaceRepositoryEntryModel
- Returns:
- the primary key of this repository entry
-
getRepositoryEntryId
public long getRepositoryEntryId()Returns the repository entry ID of this repository entry.- Specified by:
getRepositoryEntryId
in interfaceRepositoryEntryModel
- Returns:
- the repository entry ID of this repository entry
-
getRepositoryId
public long getRepositoryId()Returns the repository ID of this repository entry.- Specified by:
getRepositoryId
in interfaceRepositoryEntryModel
- Returns:
- the repository ID of this repository entry
-
getUserId
public long getUserId()Returns the user ID of this repository entry.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceRepositoryEntryModel
- Returns:
- the user ID of this repository entry
-
getUserName
Returns the user name of this repository entry.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceRepositoryEntryModel
- Returns:
- the user name of this repository entry
-
getUserUuid
Returns the user uuid of this repository entry.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceRepositoryEntryModel
- Returns:
- the user uuid of this repository entry
-
getUuid
Returns the uuid of this repository entry.- Specified by:
getUuid
in interfaceRepositoryEntryModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this repository entry
-
isManualCheckInRequired
public boolean isManualCheckInRequired()Returnstrue
if this repository entry is manual check in required.- Specified by:
isManualCheckInRequired
in interfaceRepositoryEntryModel
- Returns:
true
if this repository entry is manual check in required;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this repository entry.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceRepositoryEntryModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this repository entry
-
setCreateDate
Sets the create date of this repository entry.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceRepositoryEntryModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this repository entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this repository entry.- Specified by:
setCtCollectionId
in interfaceCTModel<RepositoryEntry>
- Specified by:
setCtCollectionId
in interfaceRepositoryEntryModel
- Parameters:
ctCollectionId
- the ct collection ID of this repository entry
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this repository entry.- Specified by:
setGroupId
in interfaceGroupedModel
- Specified by:
setGroupId
in interfaceRepositoryEntryModel
- Parameters:
groupId
- the group ID of this repository entry
-
setLastPublishDate
Sets the last publish date of this repository entry.- Specified by:
setLastPublishDate
in interfaceRepositoryEntryModel
- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this repository entry
-
setManualCheckInRequired
public void setManualCheckInRequired(boolean manualCheckInRequired) Sets whether this repository entry is manual check in required.- Specified by:
setManualCheckInRequired
in interfaceRepositoryEntryModel
- Parameters:
manualCheckInRequired
- the manual check in required of this repository entry
-
setMappedId
Sets the mapped ID of this repository entry.- Specified by:
setMappedId
in interfaceRepositoryEntryModel
- Parameters:
mappedId
- the mapped ID of this repository entry
-
setModifiedDate
Sets the modified date of this repository entry.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceRepositoryEntryModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this repository entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this repository entry.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceRepositoryEntryModel
- Parameters:
mvccVersion
- the mvcc version of this repository entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this repository entry.- Specified by:
setPrimaryKey
in interfaceCTModel<RepositoryEntry>
- Specified by:
setPrimaryKey
in interfaceRepositoryEntryModel
- Parameters:
primaryKey
- the primary key of this repository entry
-
setRepositoryEntryId
public void setRepositoryEntryId(long repositoryEntryId) Sets the repository entry ID of this repository entry.- Specified by:
setRepositoryEntryId
in interfaceRepositoryEntryModel
- Parameters:
repositoryEntryId
- the repository entry ID of this repository entry
-
setRepositoryId
public void setRepositoryId(long repositoryId) Sets the repository ID of this repository entry.- Specified by:
setRepositoryId
in interfaceRepositoryEntryModel
- Parameters:
repositoryId
- the repository ID of this repository entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this repository entry.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceRepositoryEntryModel
- Parameters:
userId
- the user ID of this repository entry
-
setUserName
Sets the user name of this repository entry.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceRepositoryEntryModel
- Parameters:
userName
- the user name of this repository entry
-
setUserUuid
Sets the user uuid of this repository entry.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceRepositoryEntryModel
- Parameters:
userUuid
- the user uuid of this repository entry
-
setUuid
Sets the uuid of this repository entry.- Specified by:
setUuid
in interfaceRepositoryEntryModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this repository entry
-
toXmlString
- Specified by:
toXmlString
in interfaceRepositoryEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<RepositoryEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<RepositoryEntry>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<RepositoryEntry>
-