|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 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 IGFolderModel
public void setPrimaryKey(long pk)
IGFolderModel
setPrimaryKey
in interface IGFolderModel
pk
- the primary key of this i g folderpublic String getUuid()
IGFolderModel
getUuid
in interface IGFolderModel
public void setUuid(String uuid)
IGFolderModel
setUuid
in interface IGFolderModel
uuid
- the uuid of this i g folderpublic long getFolderId()
IGFolderModel
getFolderId
in interface IGFolderModel
public void setFolderId(long folderId)
IGFolderModel
setFolderId
in interface IGFolderModel
folderId
- the folder id of this i g folderpublic long getGroupId()
IGFolderModel
getGroupId
in interface IGFolderModel
public void setGroupId(long groupId)
IGFolderModel
setGroupId
in interface IGFolderModel
groupId
- the group id of this i g folderpublic long getCompanyId()
IGFolderModel
getCompanyId
in interface IGFolderModel
public void setCompanyId(long companyId)
IGFolderModel
setCompanyId
in interface IGFolderModel
companyId
- the company id of this i g folderpublic long getUserId()
IGFolderModel
getUserId
in interface IGFolderModel
public void setUserId(long userId)
IGFolderModel
setUserId
in interface IGFolderModel
userId
- the user id of this i g folderpublic String getUserUuid() throws SystemException
IGFolderModel
getUserUuid
in interface IGFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
IGFolderModel
setUserUuid
in interface IGFolderModel
userUuid
- the user uuid of this i g folderpublic Date getCreateDate()
IGFolderModel
getCreateDate
in interface IGFolderModel
public void setCreateDate(Date createDate)
IGFolderModel
setCreateDate
in interface IGFolderModel
createDate
- the create date of this i g folderpublic Date getModifiedDate()
IGFolderModel
getModifiedDate
in interface IGFolderModel
public void setModifiedDate(Date modifiedDate)
IGFolderModel
setModifiedDate
in interface IGFolderModel
modifiedDate
- the modified date of this i g folderpublic long getParentFolderId()
IGFolderModel
getParentFolderId
in interface IGFolderModel
public void setParentFolderId(long parentFolderId)
IGFolderModel
setParentFolderId
in interface IGFolderModel
parentFolderId
- the parent folder id of this i g folderpublic String getName()
IGFolderModel
getName
in interface IGFolderModel
public void setName(String name)
IGFolderModel
setName
in interface IGFolderModel
name
- the name of this i g folderpublic String getDescription()
IGFolderModel
getDescription
in interface IGFolderModel
public void setDescription(String description)
IGFolderModel
setDescription
in interface IGFolderModel
description
- the description of this i g folderpublic IGFolder toEscapedModel()
IGFolderModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface IGFolderModel
AutoEscapeBeanHandler
public 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 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.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |