|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.RepositoryWrapper
@ProviderType public class RepositoryWrapper
This class is a wrapper for Repository.
Repository,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Repository |
|---|
REPOSITORY_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
RepositoryWrapper(Repository repository)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Repository repository)
|
boolean |
equals(Object obj)
|
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. |
Date |
getCreateDate()
Returns the create date of this repository. |
String |
getDescription()
Returns the description of this repository. |
long |
getDlFolderId()
Returns the dl folder ID of this repository. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this repository. |
Date |
getLastPublishDate()
Returns the last publish date of this repository. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this repository. |
long |
getMvccVersion()
Returns the mvcc version of this repository. |
String |
getName()
Returns the name of this repository. |
String |
getPortletId()
Returns the portlet ID of this repository. |
long |
getPrimaryKey()
Returns the primary key of this repository. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this repository. |
StagedModelType |
getStagedModelType()
|
String |
getTypeSettings()
Returns the type settings of this repository. |
UnicodeProperties |
getTypeSettingsProperties()
|
long |
getUserId()
Returns the user ID of this repository. |
String |
getUserName()
Returns the user name of this repository. |
String |
getUserUuid()
Returns the user uuid of this repository. |
String |
getUuid()
Returns the uuid of this repository. |
Repository |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setDescription(String description)
Sets the description of this repository. |
void |
setDlFolderId(long dlFolderId)
Sets the dl folder ID of this repository. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 |
setName(String name)
Sets the name of this repository. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPortletId(String portletId)
Sets the portlet ID of this repository. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this repository. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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 typeSettingsProperties)
|
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 |
setUuid(String uuid)
Sets the uuid of this repository. |
CacheModel<Repository> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Repository |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Repository |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryWrapper(Repository repository)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Repository>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Repository>public Object clone()
BaseModel
clone in interface BaseModel<Repository>clone in interface RepositoryModelclone in interface StagedModelclone in class Objectpublic int compareTo(Repository repository)
compareTo in interface RepositoryModelcompareTo in interface Comparable<Repository>public String getClassName()
getClassName in interface RepositoryModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface RepositoryModelgetClassNameId in interface TypedModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface RepositoryModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface RepositoryModelgetCreateDate in interface StagedModelpublic String getDescription()
getDescription in interface RepositoryModelpublic long getDlFolderId()
getDlFolderId in interface RepositoryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Repository>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RepositoryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface RepositoryModelpublic Date getLastPublishDate()
getLastPublishDate in interface RepositoryModelgetLastPublishDate in interface StagedGroupedModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface RepositoryModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RepositoryModelpublic String getName()
getName in interface RepositoryModelpublic String getPortletId()
getPortletId in interface RepositoryModelpublic long getPrimaryKey()
getPrimaryKey in interface RepositoryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Repository>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RepositoryModelpublic long getRepositoryId()
getRepositoryId in interface RepositoryModelpublic String getTypeSettings()
getTypeSettings in interface RepositoryModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Repositorypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RepositoryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface RepositoryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface RepositoryModelpublic String getUuid()
getUuid in interface RepositoryModelgetUuid in interface StagedModelpublic int hashCode()
hashCode in interface RepositoryModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Repository>isCachedModel in interface RepositoryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Repository>isEscapedModel in interface RepositoryModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Repository>isNew in interface RepositoryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Repository>setCachedModel in interface RepositoryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface RepositoryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RepositoryModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this repositorypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface RepositoryModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this repositorypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface RepositoryModelsetCreateDate in interface StagedModelcreateDate - the create date of this repositorypublic void setDescription(String description)
setDescription in interface RepositoryModeldescription - the description of this repositorypublic void setDlFolderId(long dlFolderId)
setDlFolderId in interface RepositoryModeldlFolderId - the dl folder ID of this repositorypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Repository>setExpandoBridgeAttributes in interface RepositoryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Repository>setExpandoBridgeAttributes in interface RepositoryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Repository>setExpandoBridgeAttributes in interface RepositoryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface RepositoryModelgroupId - the group ID of this repositorypublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface RepositoryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this repositorypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface RepositoryModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this repositorypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RepositoryModelmvccVersion - the mvcc version of this repositorypublic void setName(String name)
setName in interface RepositoryModelname - the name of this repositorypublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Repository>setNew in interface RepositoryModeln - whether this model instance does not yet exist in the databasepublic void setPortletId(String portletId)
setPortletId in interface RepositoryModelportletId - the portlet ID of this repositorypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RepositoryModelprimaryKey - the primary key of this repositorypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Repository>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RepositoryModelprimaryKeyObj - the primary key of this model instancepublic void setRepositoryId(long repositoryId)
setRepositoryId in interface RepositoryModelrepositoryId - the repository ID of this repositorypublic void setTypeSettings(String typeSettings)
setTypeSettings in interface RepositoryModeltypeSettings - the type settings of this repositorypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Repositorypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RepositoryModeluserId - the user ID of this repositorypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface RepositoryModeluserName - the user name of this repositorypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RepositoryModeluserUuid - the user uuid of this repositorypublic void setUuid(String uuid)
setUuid in interface RepositoryModelsetUuid in interface StagedModeluuid - the uuid of this repositorypublic CacheModel<Repository> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Repository>toCacheModel in interface RepositoryModelpublic Repository toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Repository>toEscapedModel in interface RepositoryModelAutoEscapeBeanHandlerpublic String toString()
toString in interface RepositoryModeltoString in class Objectpublic Repository toUnescapedModel()
toUnescapedModel in interface BaseModel<Repository>toUnescapedModel in interface RepositoryModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Repository>toXmlString in interface RepositoryModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic Repository getWrappedModel()
getWrappedModel in interface ModelWrapper<Repository>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Repository>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Repository>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Repository>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||