|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.RepositoryWrapper
@ProviderType public class RepositoryWrapper
This class is a wrapper for Repository
.
Repository
,
Serialized FormConstructor 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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date 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()
|
Repository |
getWrappedRepository()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Repository>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Repository>
public long getPrimaryKey()
getPrimaryKey
in interface RepositoryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RepositoryModel
primaryKey
- the primary key of this repositorypublic String getUuid()
getUuid
in interface RepositoryModel
getUuid
in interface StagedModel
public void setUuid(String uuid)
setUuid
in interface RepositoryModel
setUuid
in interface StagedModel
uuid
- the uuid of this repositorypublic long getRepositoryId()
getRepositoryId
in interface RepositoryModel
public void setRepositoryId(long repositoryId)
setRepositoryId
in interface RepositoryModel
repositoryId
- the repository ID of this repositorypublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface RepositoryModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface RepositoryModel
groupId
- the group ID of this repositorypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface RepositoryModel
getCompanyId
in interface StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface RepositoryModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this repositorypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RepositoryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface RepositoryModel
userId
- the user ID of this repositorypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface RepositoryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface RepositoryModel
userUuid
- the user uuid of this repositorypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RepositoryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface RepositoryModel
userName
- the user name of this repositorypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface RepositoryModel
getCreateDate
in interface StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface RepositoryModel
setCreateDate
in interface StagedModel
createDate
- the create date of this repositorypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RepositoryModel
getModifiedDate
in interface StagedModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RepositoryModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this repositorypublic String getClassName()
getClassName
in interface RepositoryModel
getClassName
in interface TypedModel
public void setClassName(String className)
setClassName
in interface RepositoryModel
public long getClassNameId()
getClassNameId
in interface RepositoryModel
getClassNameId
in interface TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface RepositoryModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this repositorypublic String getName()
getName
in interface RepositoryModel
public void setName(String name)
setName
in interface RepositoryModel
name
- the name of this repositorypublic String getDescription()
getDescription
in interface RepositoryModel
public void setDescription(String description)
setDescription
in interface RepositoryModel
description
- the description of this repositorypublic String getPortletId()
getPortletId
in interface RepositoryModel
public void setPortletId(String portletId)
setPortletId
in interface RepositoryModel
portletId
- the portlet ID of this repositorypublic String getTypeSettings()
getTypeSettings
in interface RepositoryModel
public void setTypeSettings(String typeSettings)
setTypeSettings
in interface RepositoryModel
typeSettings
- the type settings of this repositorypublic long getDlFolderId()
getDlFolderId
in interface RepositoryModel
public void setDlFolderId(long dlFolderId)
setDlFolderId
in interface RepositoryModel
dlFolderId
- the dl folder ID of this repositorypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Repository>
isNew
in interface RepositoryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Repository>
setNew
in interface RepositoryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Repository>
isCachedModel
in interface RepositoryModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Repository>
setCachedModel
in interface RepositoryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Repository>
isEscapedModel
in interface RepositoryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Repository>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RepositoryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Repository>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RepositoryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Repository>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RepositoryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Repository>
setExpandoBridgeAttributes
in interface RepositoryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Repository>
setExpandoBridgeAttributes
in interface RepositoryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Repository>
setExpandoBridgeAttributes
in interface RepositoryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Repository>
clone
in interface RepositoryModel
clone
in interface StagedModel
clone
in class Object
public int compareTo(Repository repository)
compareTo
in interface RepositoryModel
compareTo
in interface Comparable<Repository>
public int hashCode()
hashCode
in interface RepositoryModel
hashCode
in class Object
public CacheModel<Repository> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Repository>
toCacheModel
in interface RepositoryModel
public Repository toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Repository>
toEscapedModel
in interface RepositoryModel
AutoEscapeBeanHandler
public Repository toUnescapedModel()
toUnescapedModel
in interface BaseModel<Repository>
toUnescapedModel
in interface RepositoryModel
public String toString()
toString
in interface RepositoryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Repository>
toXmlString
in interface RepositoryModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Repository
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Repository
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public Repository getWrappedRepository()
getWrappedModel()
public Repository getWrappedModel()
getWrappedModel
in interface ModelWrapper<Repository>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Repository>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |