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
modelFields 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.longReturns the class name ID of this repository.longReturns the company ID of this repository.Returns the create date of this repository.longReturns the ct collection ID of this repository.Returns the description of this repository.longReturns the dl folder ID of this repository.Returns the external reference code of this repository.longReturns the group ID of this repository.Returns the last publish date of this repository.Returns the modified date of this repository.longReturns the mvcc version of this repository.getName()Returns the name of this repository.Returns the portlet ID of this repository.longReturns the primary key of this repository.longReturns the repository ID of this repository.Returns the type settings of this repository.longReturns 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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this repository.voidsetCompanyId(long companyId) Sets the company ID of this repository.voidsetCreateDate(Date createDate) Sets the create date of this repository.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this repository.voidsetDescription(String description) Sets the description of this repository.voidsetDlFolderId(long dlFolderId) Sets the dl folder ID of this repository.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this repository.voidsetGroupId(long groupId) Sets the group ID of this repository.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this repository.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this repository.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this repository.voidSets the name of this repository.voidsetPortletId(String portletId) Sets the portlet ID of this repository.voidsetPrimaryKey(long primaryKey) Sets the primary key of this repository.voidsetRepositoryId(long repositoryId) Sets the repository ID of this repository.voidsetTypeSettings(String typeSettings) Sets the type settings of this repository.voidsetTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) voidsetUserId(long userId) Sets the user ID of this repository.voidsetUserName(String userName) Sets the user name of this repository.voidsetUserUuid(String userUuid) Sets the user uuid of this repository.voidSets the uuid of this repository.protected RepositoryWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
RepositoryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Repository>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Repository>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Repository>- Specified by:
cloneWithOriginalValuesin interfaceRepositoryModel
-
getClassName
Returns the fully qualified class name of this repository.- Specified by:
getClassNamein interfaceRepositoryModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this repository
-
getClassNameId
public long getClassNameId()Returns the class name ID of this repository.- Specified by:
getClassNameIdin interfaceRepositoryModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this repository
-
getCompanyId
public long getCompanyId()Returns the company ID of this repository.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceRepositoryModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this repository
-
getCreateDate
Returns the create date of this repository.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceRepositoryModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this repository
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this repository.- Specified by:
getCtCollectionIdin interfaceCTModel<Repository>- Specified by:
getCtCollectionIdin interfaceRepositoryModel- Returns:
- the ct collection ID of this repository
-
getDescription
Returns the description of this repository.- Specified by:
getDescriptionin interfaceRepositoryModel- Returns:
- the description of this repository
-
getDlFolderId
public long getDlFolderId()Returns the dl folder ID of this repository.- Specified by:
getDlFolderIdin interfaceRepositoryModel- Returns:
- the dl folder ID of this repository
-
getExternalReferenceCode
Returns the external reference code of this repository.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceRepositoryModel- Returns:
- the external reference code of this repository
-
getGroupId
public long getGroupId()Returns the group ID of this repository.- Specified by:
getGroupIdin interfaceGroupedModel- Specified by:
getGroupIdin interfaceRepositoryModel- Returns:
- the group ID of this repository
-
getLastPublishDate
Returns the last publish date of this repository.- Specified by:
getLastPublishDatein interfaceRepositoryModel- Specified by:
getLastPublishDatein interfaceStagedGroupedModel- Returns:
- the last publish date of this repository
-
getModifiedDate
Returns the modified date of this repository.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceRepositoryModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this repository
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this repository.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceRepositoryModel- Returns:
- the mvcc version of this repository
-
getName
Returns the name of this repository.- Specified by:
getNamein interfaceRepositoryModel- Returns:
- the name of this repository
-
getPortletId
Returns the portlet ID of this repository.- Specified by:
getPortletIdin interfaceRepositoryModel- Returns:
- the portlet ID of this repository
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this repository.- Specified by:
getPrimaryKeyin interfaceCTModel<Repository>- Specified by:
getPrimaryKeyin interfaceRepositoryModel- Returns:
- the primary key of this repository
-
getRepositoryId
public long getRepositoryId()Returns the repository ID of this repository.- Specified by:
getRepositoryIdin interfaceRepositoryModel- Returns:
- the repository ID of this repository
-
getTypeSettings
Returns the type settings of this repository.- Specified by:
getTypeSettingsin interfaceRepositoryModel- Returns:
- the type settings of this repository
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsPropertiesin interfaceRepository
-
getUserId
public long getUserId()Returns the user ID of this repository.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceRepositoryModel- Returns:
- the user ID of this repository
-
getUserName
Returns the user name of this repository.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceRepositoryModel- Returns:
- the user name of this repository
-
getUserUuid
Returns the user uuid of this repository.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceRepositoryModel- Returns:
- the user uuid of this repository
-
getUuid
Returns the uuid of this repository.- Specified by:
getUuidin interfaceRepositoryModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this repository
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceRepositoryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this repository.- Specified by:
setClassNameIdin interfaceRepositoryModel- Specified by:
setClassNameIdin 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:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceRepositoryModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this repository
-
setCreateDate
Sets the create date of this repository.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceRepositoryModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<Repository>- Specified by:
setCtCollectionIdin interfaceRepositoryModel- Parameters:
ctCollectionId- the ct collection ID of this repository
-
setDescription
Sets the description of this repository.- Specified by:
setDescriptionin interfaceRepositoryModel- Parameters:
description- the description of this repository
-
setDlFolderId
public void setDlFolderId(long dlFolderId) Sets the dl folder ID of this repository.- Specified by:
setDlFolderIdin interfaceRepositoryModel- Parameters:
dlFolderId- the dl folder ID of this repository
-
setExternalReferenceCode
Sets the external reference code of this repository.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein 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:
setGroupIdin interfaceGroupedModel- Specified by:
setGroupIdin interfaceRepositoryModel- Parameters:
groupId- the group ID of this repository
-
setLastPublishDate
Sets the last publish date of this repository.- Specified by:
setLastPublishDatein interfaceRepositoryModel- Specified by:
setLastPublishDatein interfaceStagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this repository
-
setModifiedDate
Sets the modified date of this repository.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceRepositoryModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this repository
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this repository.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceRepositoryModel- Parameters:
mvccVersion- the mvcc version of this repository
-
setName
Sets the name of this repository.- Specified by:
setNamein interfaceRepositoryModel- Parameters:
name- the name of this repository
-
setPortletId
Sets the portlet ID of this repository.- Specified by:
setPortletIdin interfaceRepositoryModel- Parameters:
portletId- the portlet ID of this repository
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this repository.- Specified by:
setPrimaryKeyin interfaceCTModel<Repository>- Specified by:
setPrimaryKeyin interfaceRepositoryModel- Parameters:
primaryKey- the primary key of this repository
-
setRepositoryId
public void setRepositoryId(long repositoryId) Sets the repository ID of this repository.- Specified by:
setRepositoryIdin interfaceRepositoryModel- Parameters:
repositoryId- the repository ID of this repository
-
setTypeSettings
Sets the type settings of this repository.- Specified by:
setTypeSettingsin interfaceRepositoryModel- Parameters:
typeSettings- the type settings of this repository
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsPropertiesin interfaceRepository
-
setUserId
public void setUserId(long userId) Sets the user ID of this repository.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceRepositoryModel- Parameters:
userId- the user ID of this repository
-
setUserName
Sets the user name of this repository.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceRepositoryModel- Parameters:
userName- the user name of this repository
-
setUserUuid
Sets the user uuid of this repository.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceRepositoryModel- Parameters:
userUuid- the user uuid of this repository
-
setUuid
Sets the uuid of this repository.- Specified by:
setUuidin interfaceRepositoryModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this repository
-
toXmlString
- Specified by:
toXmlStringin interfaceRepositoryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Repository>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Repository>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Repository>
-