|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.imagegallery.model.IGFolderWrapper
public class IGFolderWrapper
This class is a wrapper for IGFolder.
IGFolder,
Serialized Form| Constructor Summary | |
|---|---|
IGFolderWrapper(IGFolder igFolder)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(IGFolder igFolder)
|
List<IGFolder> |
getAncestors()
|
long |
getCompanyId()
Gets the company ID of this i g folder. |
Date |
getCreateDate()
Gets the create date of this i g folder. |
String |
getDescription()
Gets the description of this i g folder. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFolderId()
Gets the folder ID of this i g folder. |
long |
getGroupId()
Gets the group ID of this i g folder. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this i g folder. |
String |
getName()
Gets the name of this i g folder. |
IGFolder |
getParentFolder()
|
long |
getParentFolderId()
Gets the parent folder ID of this i g folder. |
long |
getPrimaryKey()
Gets the primary key of this i g folder. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Gets the user ID of this i g folder. |
String |
getUserName()
Gets the user name of this i g folder. |
String |
getUserUuid()
Gets the user uuid of this i g folder. |
String |
getUuid()
Gets the uuid of this i g folder. |
IGFolder |
getWrappedIGFolder()
|
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. |
boolean |
isRoot()
|
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 |
setCompanyId(long companyId)
Sets the company ID of this i g folder. |
void |
setCreateDate(Date createDate)
Sets the create date of this i g folder. |
void |
setDescription(String description)
Sets the description of this i g folder. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFolderId(long folderId)
Sets the folder ID of this i g folder. |
void |
setGroupId(long groupId)
Sets the group ID of this i g folder. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this i g folder. |
void |
setName(String name)
Sets the name of this i g folder. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this i g folder. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this i g folder |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this i g folder. |
void |
setUserName(String userName)
Sets the user name of this i g folder. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this i g folder. |
void |
setUuid(String uuid)
Sets the uuid of this i g folder. |
CacheModel<IGFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
IGFolder |
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 IGFolderWrapper(IGFolder igFolder)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface IGFolderModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface IGFolderModelprimaryKey - the primary key of this i g folderpublic String getUuid()
getUuid in interface IGFolderModelpublic void setUuid(String uuid)
setUuid in interface IGFolderModeluuid - the uuid of this i g folderpublic long getFolderId()
getFolderId in interface IGFolderModelpublic void setFolderId(long folderId)
setFolderId in interface IGFolderModelfolderId - the folder ID of this i g folderpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface IGFolderModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface IGFolderModelgroupId - the group ID of this i g folderpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface IGFolderModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface IGFolderModelcompanyId - the company ID of this i g folderpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface IGFolderModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface IGFolderModeluserId - the user ID of this i g folder
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface IGFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface IGFolderModeluserUuid - the user uuid of this i g folderpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface IGFolderModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface IGFolderModeluserName - the user name of this i g folderpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface IGFolderModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface IGFolderModelcreateDate - the create date of this i g folderpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface IGFolderModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface IGFolderModelmodifiedDate - the modified date of this i g folderpublic long getParentFolderId()
getParentFolderId in interface IGFolderModelpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface IGFolderModelparentFolderId - the parent folder ID of this i g folderpublic String getName()
getName in interface IGFolderModelpublic void setName(String name)
setName in interface IGFolderModelname - the name of this i g folderpublic String getDescription()
getDescription in interface IGFolderModelpublic void setDescription(String description)
setDescription in interface IGFolderModeldescription - the description of this i g folderpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<IGFolder>isNew in interface IGFolderModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<IGFolder>setNew in interface IGFolderModeln - 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<IGFolder>isCachedModel in interface IGFolderModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<IGFolder>setCachedModel in interface IGFolderModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<IGFolder>isEscapedModel in interface IGFolderModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<IGFolder>setEscapedModel in interface IGFolderModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<IGFolder>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface IGFolderModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<IGFolder>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface IGFolderModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<IGFolder>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface IGFolderModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<IGFolder>setExpandoBridgeAttributes in interface IGFolderModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<IGFolder>clone in interface IGFolderModelclone in class Objectpublic int compareTo(IGFolder igFolder)
compareTo in interface IGFolderModelcompareTo in interface Comparable<IGFolder>public int hashCode()
hashCode in interface IGFolderModelhashCode in class Objectpublic CacheModel<IGFolder> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<IGFolder>toCacheModel in interface IGFolderModelpublic IGFolder toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<IGFolder>toEscapedModel in interface IGFolderModelAutoEscapeBeanHandlerpublic String toString()
toString in interface IGFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<IGFolder>toXmlString in interface IGFolderModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public List<IGFolder> getAncestors()
throws PortalException,
SystemException
getAncestors in interface IGFolderPortalException
SystemException
public IGFolder getParentFolder()
throws PortalException,
SystemException
getParentFolder in interface IGFolderPortalException
SystemExceptionpublic boolean isRoot()
isRoot in interface IGFolderpublic IGFolder getWrappedIGFolder()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<IGFolder>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||