|
Liferay 6.0-ee | |||||||||
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 FormConstructor 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 entity 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()
getPrimaryKey
in interface IGFolderModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface IGFolderModel
pk
- the primary key of this i g folderpublic String getUuid()
getUuid
in interface IGFolderModel
public void setUuid(String uuid)
setUuid
in interface IGFolderModel
uuid
- the uuid of this i g folderpublic long getFolderId()
getFolderId
in interface IGFolderModel
public void setFolderId(long folderId)
setFolderId
in interface IGFolderModel
folderId
- the folder id of this i g folderpublic long getGroupId()
getGroupId
in interface IGFolderModel
public void setGroupId(long groupId)
setGroupId
in interface IGFolderModel
groupId
- the group id of this i g folderpublic long getCompanyId()
getCompanyId
in interface IGFolderModel
public void setCompanyId(long companyId)
setCompanyId
in interface IGFolderModel
companyId
- the company id of this i g folderpublic long getUserId()
getUserId
in interface IGFolderModel
public void setUserId(long userId)
setUserId
in interface IGFolderModel
userId
- the user id of this i g folderpublic String getUserUuid() throws SystemException
getUserUuid
in interface IGFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface IGFolderModel
userUuid
- the user uuid of this i g folderpublic Date getCreateDate()
getCreateDate
in interface IGFolderModel
public void setCreateDate(Date createDate)
setCreateDate
in interface IGFolderModel
createDate
- the create date of this i g folderpublic Date getModifiedDate()
getModifiedDate
in interface IGFolderModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface IGFolderModel
modifiedDate
- the modified date of this i g folderpublic long getParentFolderId()
getParentFolderId
in interface IGFolderModel
public void setParentFolderId(long parentFolderId)
setParentFolderId
in interface IGFolderModel
parentFolderId
- the parent folder id of this i g folderpublic String getName()
getName
in interface IGFolderModel
public void setName(String name)
setName
in interface IGFolderModel
name
- the name of this i g folderpublic String getDescription()
getDescription
in interface IGFolderModel
public void setDescription(String description)
setDescription
in interface IGFolderModel
description
- the description of this i g folderpublic boolean isNew()
BaseModel
isNew
in interface BaseModel<IGFolder>
isNew
in interface IGFolderModel
true
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 IGFolderModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<IGFolder>
isCachedModel
in interface IGFolderModel
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<IGFolder>
setCachedModel
in interface IGFolderModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<IGFolder>
isEscapedModel
in interface IGFolderModel
true
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 IGFolderModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<IGFolder>
getPrimaryKeyObj
in interface IGFolderModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<IGFolder>
getExpandoBridge
in interface IGFolderModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<IGFolder>
setExpandoBridgeAttributes
in interface IGFolderModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<IGFolder>
clone
in interface IGFolderModel
clone
in class Object
public int compareTo(IGFolder igFolder)
compareTo
in interface IGFolderModel
compareTo
in interface Comparable<IGFolder>
public int hashCode()
hashCode
in interface IGFolderModel
hashCode
in class Object
public IGFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<IGFolder>
toEscapedModel
in interface IGFolderModel
AutoEscapeBeanHandler
public String toString()
toString
in interface IGFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<IGFolder>
toXmlString
in interface IGFolderModel
public List<IGFolder> getAncestors() throws PortalException, SystemException
getAncestors
in interface IGFolder
PortalException
SystemException
public IGFolder getParentFolder() throws PortalException, SystemException
getParentFolder
in interface IGFolder
PortalException
SystemException
public boolean isRoot()
isRoot
in interface IGFolder
public IGFolder getWrappedIGFolder()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |