Package com.liferay.portal.kernel.model
Class RepositoryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Repository>
com.liferay.portal.kernel.model.RepositoryWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<Repository>
,CTModel<Repository>
,ClassedModel
,ExternalReferenceCodeModel
,GroupedModel
,ModelWrapper<Repository>
,MVCCModel
,PersistedModel
,Repository
,RepositoryModel
,ShardedModel
,StagedGroupedModel
,StagedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<Repository>
public class RepositoryWrapper
extends BaseModelWrapper<Repository>
implements ModelWrapper<Repository>, Repository
This class is a wrapper for Repository
.
- 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.Repository
REPOSITORY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this repository.long
Returns the class name ID of this repository.long
Returns the company ID of this repository.Returns the create date of this repository.long
Returns the ct collection ID of this repository.Returns the description of this repository.long
Returns the dl folder ID of this repository.Returns the external reference code of this repository.long
Returns the group ID of this repository.Returns the last publish date of this repository.Returns the modified date of this repository.long
Returns the mvcc version of this repository.getName()
Returns the name of this repository.Returns the portlet ID of this repository.long
Returns the primary key of this repository.long
Returns the repository ID of this repository.Returns the type settings of this repository.long
Returns the user ID of this repository.Returns the user name of this repository.Returns the user uuid of this repository.getUuid()
Returns the uuid of this repository.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this repository.void
setCompanyId
(long companyId) Sets the company ID of this repository.void
setCreateDate
(Date createDate) Sets the create date of this repository.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this repository.void
setDescription
(String description) Sets the description of this repository.void
setDlFolderId
(long dlFolderId) Sets the dl folder ID of this repository.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this repository.void
setGroupId
(long groupId) Sets the group ID of this repository.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this repository.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this repository.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this repository.void
Sets the name of this repository.void
setPortletId
(String portletId) Sets the portlet ID of this repository.void
setPrimaryKey
(long primaryKey) Sets the primary key of this repository.void
setRepositoryId
(long repositoryId) Sets the repository ID of this repository.void
setTypeSettings
(String typeSettings) Sets the type settings of this repository.void
setTypeSettingsProperties
(UnicodeProperties typeSettingsUnicodeProperties) void
setUserId
(long userId) Sets the user ID of this repository.void
setUserName
(String userName) Sets the user name of this repository.void
setUserUuid
(String userUuid) Sets the user uuid of this repository.void
Sets the uuid of this repository.protected RepositoryWrapper
wrap
(Repository repository) 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
-
RepositoryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Repository>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Repository>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Repository>
- Specified by:
cloneWithOriginalValues
in interfaceRepositoryModel
-
getClassName
Returns the fully qualified class name of this repository.- Specified by:
getClassName
in interfaceRepositoryModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this repository
-
getClassNameId
public long getClassNameId()Returns the class name ID of this repository.- Specified by:
getClassNameId
in interfaceRepositoryModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this repository
-
getCompanyId
public long getCompanyId()Returns the company ID of this repository.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceRepositoryModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this repository
-
getCreateDate
Returns the create date of this repository.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceRepositoryModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this repository
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this repository.- Specified by:
getCtCollectionId
in interfaceCTModel<Repository>
- Specified by:
getCtCollectionId
in interfaceRepositoryModel
- Returns:
- the ct collection ID of this repository
-
getDescription
Returns the description of this repository.- Specified by:
getDescription
in interfaceRepositoryModel
- Returns:
- the description of this repository
-
getDlFolderId
public long getDlFolderId()Returns the dl folder ID of this repository.- Specified by:
getDlFolderId
in interfaceRepositoryModel
- Returns:
- the dl folder ID of this repository
-
getExternalReferenceCode
Returns the external reference code of this repository.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceRepositoryModel
- Returns:
- the external reference code of this repository
-
getGroupId
public long getGroupId()Returns the group ID of this repository.- Specified by:
getGroupId
in interfaceGroupedModel
- Specified by:
getGroupId
in interfaceRepositoryModel
- Returns:
- the group ID of this repository
-
getLastPublishDate
Returns the last publish date of this repository.- Specified by:
getLastPublishDate
in interfaceRepositoryModel
- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Returns:
- the last publish date of this repository
-
getModifiedDate
Returns the modified date of this repository.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceRepositoryModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this repository
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this repository.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceRepositoryModel
- Returns:
- the mvcc version of this repository
-
getName
Returns the name of this repository.- Specified by:
getName
in interfaceRepositoryModel
- Returns:
- the name of this repository
-
getPortletId
Returns the portlet ID of this repository.- Specified by:
getPortletId
in interfaceRepositoryModel
- Returns:
- the portlet ID of this repository
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this repository.- Specified by:
getPrimaryKey
in interfaceCTModel<Repository>
- Specified by:
getPrimaryKey
in interfaceRepositoryModel
- Returns:
- the primary key of this repository
-
getRepositoryId
public long getRepositoryId()Returns the repository ID of this repository.- Specified by:
getRepositoryId
in interfaceRepositoryModel
- Returns:
- the repository ID of this repository
-
getTypeSettings
Returns the type settings of this repository.- Specified by:
getTypeSettings
in interfaceRepositoryModel
- Returns:
- the type settings of this repository
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsProperties
in interfaceRepository
-
getUserId
public long getUserId()Returns the user ID of this repository.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceRepositoryModel
- Returns:
- the user ID of this repository
-
getUserName
Returns the user name of this repository.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceRepositoryModel
- Returns:
- the user name of this repository
-
getUserUuid
Returns the user uuid of this repository.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceRepositoryModel
- Returns:
- the user uuid of this repository
-
getUuid
Returns the uuid of this repository.- Specified by:
getUuid
in interfaceRepositoryModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this repository
-
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
-
setClassName
- Specified by:
setClassName
in interfaceRepositoryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this repository.- Specified by:
setClassNameId
in interfaceRepositoryModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this repository
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this repository.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceRepositoryModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this repository
-
setCreateDate
Sets the create date of this repository.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceRepositoryModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this repository
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this repository.- Specified by:
setCtCollectionId
in interfaceCTModel<Repository>
- Specified by:
setCtCollectionId
in interfaceRepositoryModel
- Parameters:
ctCollectionId
- the ct collection ID of this repository
-
setDescription
Sets the description of this repository.- Specified by:
setDescription
in interfaceRepositoryModel
- Parameters:
description
- the description of this repository
-
setDlFolderId
public void setDlFolderId(long dlFolderId) Sets the dl folder ID of this repository.- Specified by:
setDlFolderId
in interfaceRepositoryModel
- Parameters:
dlFolderId
- the dl folder ID of this repository
-
setExternalReferenceCode
Sets the external reference code of this repository.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceRepositoryModel
- Parameters:
externalReferenceCode
- the external reference code of this repository
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this repository.- Specified by:
setGroupId
in interfaceGroupedModel
- Specified by:
setGroupId
in interfaceRepositoryModel
- Parameters:
groupId
- the group ID of this repository
-
setLastPublishDate
Sets the last publish date of this repository.- Specified by:
setLastPublishDate
in interfaceRepositoryModel
- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this repository
-
setModifiedDate
Sets the modified date of this repository.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceRepositoryModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this repository
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this repository.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceRepositoryModel
- Parameters:
mvccVersion
- the mvcc version of this repository
-
setName
Sets the name of this repository.- Specified by:
setName
in interfaceRepositoryModel
- Parameters:
name
- the name of this repository
-
setPortletId
Sets the portlet ID of this repository.- Specified by:
setPortletId
in interfaceRepositoryModel
- Parameters:
portletId
- the portlet ID of this repository
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this repository.- Specified by:
setPrimaryKey
in interfaceCTModel<Repository>
- Specified by:
setPrimaryKey
in interfaceRepositoryModel
- Parameters:
primaryKey
- the primary key of this repository
-
setRepositoryId
public void setRepositoryId(long repositoryId) Sets the repository ID of this repository.- Specified by:
setRepositoryId
in interfaceRepositoryModel
- Parameters:
repositoryId
- the repository ID of this repository
-
setTypeSettings
Sets the type settings of this repository.- Specified by:
setTypeSettings
in interfaceRepositoryModel
- Parameters:
typeSettings
- the type settings of this repository
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsProperties
in interfaceRepository
-
setUserId
public void setUserId(long userId) Sets the user ID of this repository.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceRepositoryModel
- Parameters:
userId
- the user ID of this repository
-
setUserName
Sets the user name of this repository.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceRepositoryModel
- Parameters:
userName
- the user name of this repository
-
setUserUuid
Sets the user uuid of this repository.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceRepositoryModel
- Parameters:
userUuid
- the user uuid of this repository
-
setUuid
Sets the uuid of this repository.- Specified by:
setUuid
in interfaceRepositoryModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this repository
-
toXmlString
- Specified by:
toXmlString
in interfaceRepositoryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Repository>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Repository>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Repository>
-