|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.RepositoryWrapper
public class RepositoryWrapper
This class is a wrapper for Repository.
Repository,
Serialized Form| Constructor Summary | |
|---|---|
RepositoryWrapper(Repository repository)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Repository repository)
|
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. |
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. |
String |
getTypeSettings()
Returns the type settings of this repository. |
UnicodeProperties |
getTypeSettingsProperties()
|
Repository |
getWrappedRepository()
|
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 |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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(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 |
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)
|
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 long getPrimaryKey()
getPrimaryKey in interface RepositoryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RepositoryModelprimaryKey - the primary key of this repositorypublic long getRepositoryId()
getRepositoryId in interface RepositoryModelpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface RepositoryModelrepositoryId - the repository ID of this repositorypublic long getGroupId()
getGroupId in interface RepositoryModelpublic void setGroupId(long groupId)
setGroupId in interface RepositoryModelgroupId - the group ID of this repositorypublic long getCompanyId()
getCompanyId in interface RepositoryModelpublic void setCompanyId(long companyId)
setCompanyId in interface RepositoryModelcompanyId - the company ID of this repositorypublic Date getCreateDate()
getCreateDate in interface RepositoryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface RepositoryModelcreateDate - the create date of this repositorypublic Date getModifiedDate()
getModifiedDate in interface RepositoryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface RepositoryModelmodifiedDate - the modified date of this repositorypublic String getClassName()
getClassName in interface RepositoryModelpublic long getClassNameId()
getClassNameId in interface RepositoryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RepositoryModelclassNameId - the class name ID of this repositorypublic String getName()
getName in interface RepositoryModelpublic void setName(String name)
setName in interface RepositoryModelname - the name of this repositorypublic String getDescription()
getDescription in interface RepositoryModelpublic void setDescription(String description)
setDescription in interface RepositoryModeldescription - the description of this repositorypublic String getPortletId()
getPortletId in interface RepositoryModelpublic void setPortletId(String portletId)
setPortletId in interface RepositoryModelportletId - the portlet ID of this repositorypublic String getTypeSettings()
getTypeSettings in interface RepositorygetTypeSettings in interface RepositoryModelpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface RepositorysetTypeSettings in interface RepositoryModeltypeSettings - the type settings of this repositorypublic long getDlFolderId()
getDlFolderId in interface RepositoryModelpublic void setDlFolderId(long dlFolderId)
setDlFolderId in interface RepositoryModeldlFolderId - the dl folder ID of this repositorypublic 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<Repository>setNew in interface RepositoryModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Repository>setCachedModel in interface RepositoryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Repository>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RepositoryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Repository>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RepositoryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Repository>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RepositoryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Repository>setExpandoBridgeAttributes in interface RepositoryModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Repository>clone in interface RepositoryModelclone in class Objectpublic int compareTo(Repository repository)
compareTo in interface RepositoryModelcompareTo in interface Comparable<Repository>public int hashCode()
hashCode in interface RepositoryModelhashCode in class Objectpublic 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 String toXmlString()
BaseModel
toXmlString in interface BaseModel<Repository>toXmlString in interface RepositoryModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Repositorypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Repositorypublic Repository getWrappedRepository()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Repository>
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||