public class RepositoryWrapper extends BaseModelWrapper<Repository> implements ModelWrapper<Repository>, Repository
This class is a wrapper for Repository
.
Repository
,
Serialized Formmodel
REPOSITORY_ID_ACCESSOR
Constructor and Description |
---|
RepositoryWrapper(Repository repository) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the fully qualified class name of this repository.
|
long |
getClassNameId()
Returns the class name ID of this repository.
|
long |
getCompanyId()
Returns the company ID of this repository.
|
java.util.Date |
getCreateDate()
Returns the create date of this repository.
|
java.lang.String |
getDescription()
Returns the description of this repository.
|
long |
getDlFolderId()
Returns the dl folder ID of this repository.
|
long |
getGroupId()
Returns the group ID of this repository.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this repository.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this repository.
|
long |
getMvccVersion()
Returns the mvcc version of this repository.
|
java.lang.String |
getName()
Returns the name of this repository.
|
java.lang.String |
getPortletId()
Returns the portlet ID of this repository.
|
long |
getPrimaryKey()
Returns the primary key of this repository.
|
long |
getRepositoryId()
Returns the repository ID of this repository.
|
StagedModelType |
getStagedModelType() |
java.lang.String |
getTypeSettings()
Returns the type settings of this repository.
|
UnicodeProperties |
getTypeSettingsProperties() |
long |
getUserId()
Returns the user ID of this repository.
|
java.lang.String |
getUserName()
Returns the user name of this repository.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this repository.
|
java.lang.String |
getUuid()
Returns the uuid of this repository.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setClassName(java.lang.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(java.util.Date createDate)
Sets the create date of this repository.
|
void |
setDescription(java.lang.String description)
Sets the description of this repository.
|
void |
setDlFolderId(long dlFolderId)
Sets the dl folder ID of this repository.
|
void |
setGroupId(long groupId)
Sets the group ID of this repository.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this repository.
|
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.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this repository.
|
void |
setName(java.lang.String name)
Sets the name of this repository.
|
void |
setPortletId(java.lang.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(java.lang.String typeSettings)
Sets the type settings of this repository.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties) |
void |
setUserId(long userId)
Sets the user ID of this repository.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this repository.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this repository.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this repository.
|
protected RepositoryWrapper |
wrap(Repository repository) |
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
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
clone
public RepositoryWrapper(Repository repository)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Repository>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<Repository>
public java.lang.String getClassName()
getClassName
in interface RepositoryModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface RepositoryModel
getClassNameId
in interface TypedModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface RepositoryModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface RepositoryModel
getCreateDate
in interface StagedModel
public java.lang.String getDescription()
getDescription
in interface RepositoryModel
public long getDlFolderId()
getDlFolderId
in interface RepositoryModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface RepositoryModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface RepositoryModel
getLastPublishDate
in interface StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RepositoryModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RepositoryModel
public java.lang.String getName()
getName
in interface RepositoryModel
public java.lang.String getPortletId()
getPortletId
in interface RepositoryModel
public long getPrimaryKey()
getPrimaryKey
in interface RepositoryModel
public long getRepositoryId()
getRepositoryId
in interface RepositoryModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface RepositoryModel
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Repository
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RepositoryModel
public java.lang.String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RepositoryModel
public java.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface RepositoryModel
public java.lang.String getUuid()
getUuid
in interface RepositoryModel
getUuid
in interface StagedModel
public void persist()
Repository
interface instead.persist
in interface PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface RepositoryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface RepositoryModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this repositorypublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface RepositoryModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this repositorypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface RepositoryModel
setCreateDate
in interface StagedModel
createDate
- the create date of this repositorypublic void setDescription(java.lang.String description)
setDescription
in interface RepositoryModel
description
- the description of this repositorypublic void setDlFolderId(long dlFolderId)
setDlFolderId
in interface RepositoryModel
dlFolderId
- the dl folder ID of this repositorypublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface RepositoryModel
groupId
- the group ID of this repositorypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface RepositoryModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this repositorypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RepositoryModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this repositorypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RepositoryModel
mvccVersion
- the mvcc version of this repositorypublic void setName(java.lang.String name)
setName
in interface RepositoryModel
name
- the name of this repositorypublic void setPortletId(java.lang.String portletId)
setPortletId
in interface RepositoryModel
portletId
- the portlet ID of this repositorypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RepositoryModel
primaryKey
- the primary key of this repositorypublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface RepositoryModel
repositoryId
- the repository ID of this repositorypublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface RepositoryModel
typeSettings
- the type settings of this repositorypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Repository
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface RepositoryModel
userId
- the user ID of this repositorypublic void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
setUserName
in interface RepositoryModel
userName
- the user name of this repositorypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface RepositoryModel
userUuid
- the user uuid of this repositorypublic void setUuid(java.lang.String uuid)
setUuid
in interface RepositoryModel
setUuid
in interface StagedModel
uuid
- the uuid of this repositorypublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected RepositoryWrapper wrap(Repository repository)
wrap
in class BaseModelWrapper<Repository>