|
Liferay 6.0.4 | |||||||||
| 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()
Gets 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. |
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()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id 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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRoot()
|
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 pk)
Sets the primary key of this i g folder |
void |
setUserId(long userId)
Sets the user id 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. |
IGFolder |
toEscapedModel()
Gets a copy of this i g folder as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets 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 long getPrimaryKey()
IGFolderModel
getPrimaryKey in interface IGFolderModelpublic void setPrimaryKey(long pk)
IGFolderModel
setPrimaryKey in interface IGFolderModelpk - the primary key of this i g folderpublic String getUuid()
IGFolderModel
getUuid in interface IGFolderModelpublic void setUuid(String uuid)
IGFolderModel
setUuid in interface IGFolderModeluuid - the uuid of this i g folderpublic long getFolderId()
IGFolderModel
getFolderId in interface IGFolderModelpublic void setFolderId(long folderId)
IGFolderModel
setFolderId in interface IGFolderModelfolderId - the folder id of this i g folderpublic long getGroupId()
IGFolderModel
getGroupId in interface IGFolderModelpublic void setGroupId(long groupId)
IGFolderModel
setGroupId in interface IGFolderModelgroupId - the group id of this i g folderpublic long getCompanyId()
IGFolderModel
getCompanyId in interface IGFolderModelpublic void setCompanyId(long companyId)
IGFolderModel
setCompanyId in interface IGFolderModelcompanyId - the company id of this i g folderpublic long getUserId()
IGFolderModel
getUserId in interface IGFolderModelpublic void setUserId(long userId)
IGFolderModel
setUserId in interface IGFolderModeluserId - the user id of this i g folder
public String getUserUuid()
throws SystemException
IGFolderModel
getUserUuid in interface IGFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
IGFolderModel
setUserUuid in interface IGFolderModeluserUuid - the user uuid of this i g folderpublic Date getCreateDate()
IGFolderModel
getCreateDate in interface IGFolderModelpublic void setCreateDate(Date createDate)
IGFolderModel
setCreateDate in interface IGFolderModelcreateDate - the create date of this i g folderpublic Date getModifiedDate()
IGFolderModel
getModifiedDate in interface IGFolderModelpublic void setModifiedDate(Date modifiedDate)
IGFolderModel
setModifiedDate in interface IGFolderModelmodifiedDate - the modified date of this i g folderpublic long getParentFolderId()
IGFolderModel
getParentFolderId in interface IGFolderModelpublic void setParentFolderId(long parentFolderId)
IGFolderModel
setParentFolderId in interface IGFolderModelparentFolderId - the parent folder id of this i g folderpublic String getName()
IGFolderModel
getName in interface IGFolderModelpublic void setName(String name)
IGFolderModel
setName in interface IGFolderModelname - the name of this i g folderpublic String getDescription()
IGFolderModel
getDescription in interface IGFolderModelpublic void setDescription(String description)
IGFolderModel
setDescription in interface IGFolderModeldescription - the description of this i g folderpublic IGFolder toEscapedModel()
IGFolderModelAutoEscapeBeanHandler.
toEscapedModel in interface IGFolderModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
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 IGFolderModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<IGFolder>getExpandoBridge in interface IGFolderModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<IGFolder>setExpandoBridgeAttributes in interface IGFolderModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString in interface IGFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<IGFolder>toXmlString in interface IGFolderModel
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()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||