|
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.bookmarks.model.BookmarksFolderWrapper
public class BookmarksFolderWrapper
This class is a wrapper for BookmarksFolder.
BookmarksFolder,
Serialized Form| Constructor Summary | |
|---|---|
BookmarksFolderWrapper(BookmarksFolder bookmarksFolder)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(BookmarksFolder bookmarksFolder)
|
List<BookmarksFolder> |
getAncestors()
|
long |
getCompanyId()
Gets the company id of this bookmarks folder. |
Date |
getCreateDate()
Gets the create date of this bookmarks folder. |
String |
getDescription()
Gets the description of this bookmarks folder. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getFolderId()
Gets the folder id of this bookmarks folder. |
long |
getGroupId()
Gets the group id of this bookmarks folder. |
Date |
getModifiedDate()
Gets the modified date of this bookmarks folder. |
String |
getName()
Gets the name of this bookmarks folder. |
BookmarksFolder |
getParentFolder()
|
long |
getParentFolderId()
Gets the parent folder id of this bookmarks folder. |
long |
getPrimaryKey()
Gets the primary key of this bookmarks folder. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this bookmarks folder. |
String |
getUserUuid()
Gets the user uuid of this bookmarks folder. |
String |
getUuid()
Gets the uuid of this bookmarks folder. |
BookmarksFolder |
getWrappedBookmarksFolder()
|
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 bookmarks folder. |
void |
setCreateDate(Date createDate)
Sets the create date of this bookmarks folder. |
void |
setDescription(String description)
Sets the description of this bookmarks 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 bookmarks folder. |
void |
setGroupId(long groupId)
Sets the group id of this bookmarks folder. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this bookmarks folder. |
void |
setName(String name)
Sets the name of this bookmarks 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 bookmarks folder. |
void |
setPrimaryKey(long pk)
Sets the primary key of this bookmarks folder |
void |
setUserId(long userId)
Sets the user id of this bookmarks folder. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this bookmarks folder. |
void |
setUuid(String uuid)
Sets the uuid of this bookmarks folder. |
BookmarksFolder |
toEscapedModel()
Gets a copy of this bookmarks 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 BookmarksFolderWrapper(BookmarksFolder bookmarksFolder)
| Method Detail |
|---|
public long getPrimaryKey()
BookmarksFolderModel
getPrimaryKey in interface BookmarksFolderModelpublic void setPrimaryKey(long pk)
BookmarksFolderModel
setPrimaryKey in interface BookmarksFolderModelpk - the primary key of this bookmarks folderpublic String getUuid()
BookmarksFolderModel
getUuid in interface BookmarksFolderModelpublic void setUuid(String uuid)
BookmarksFolderModel
setUuid in interface BookmarksFolderModeluuid - the uuid of this bookmarks folderpublic long getFolderId()
BookmarksFolderModel
getFolderId in interface BookmarksFolderModelpublic void setFolderId(long folderId)
BookmarksFolderModel
setFolderId in interface BookmarksFolderModelfolderId - the folder id of this bookmarks folderpublic long getGroupId()
BookmarksFolderModel
getGroupId in interface BookmarksFolderModelpublic void setGroupId(long groupId)
BookmarksFolderModel
setGroupId in interface BookmarksFolderModelgroupId - the group id of this bookmarks folderpublic long getCompanyId()
BookmarksFolderModel
getCompanyId in interface BookmarksFolderModelpublic void setCompanyId(long companyId)
BookmarksFolderModel
setCompanyId in interface BookmarksFolderModelcompanyId - the company id of this bookmarks folderpublic long getUserId()
BookmarksFolderModel
getUserId in interface BookmarksFolderModelpublic void setUserId(long userId)
BookmarksFolderModel
setUserId in interface BookmarksFolderModeluserId - the user id of this bookmarks folder
public String getUserUuid()
throws SystemException
BookmarksFolderModel
getUserUuid in interface BookmarksFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
BookmarksFolderModel
setUserUuid in interface BookmarksFolderModeluserUuid - the user uuid of this bookmarks folderpublic Date getCreateDate()
BookmarksFolderModel
getCreateDate in interface BookmarksFolderModelpublic void setCreateDate(Date createDate)
BookmarksFolderModel
setCreateDate in interface BookmarksFolderModelcreateDate - the create date of this bookmarks folderpublic Date getModifiedDate()
BookmarksFolderModel
getModifiedDate in interface BookmarksFolderModelpublic void setModifiedDate(Date modifiedDate)
BookmarksFolderModel
setModifiedDate in interface BookmarksFolderModelmodifiedDate - the modified date of this bookmarks folderpublic long getParentFolderId()
BookmarksFolderModel
getParentFolderId in interface BookmarksFolderModelpublic void setParentFolderId(long parentFolderId)
BookmarksFolderModel
setParentFolderId in interface BookmarksFolderModelparentFolderId - the parent folder id of this bookmarks folderpublic String getName()
BookmarksFolderModel
getName in interface BookmarksFolderModelpublic void setName(String name)
BookmarksFolderModel
setName in interface BookmarksFolderModelname - the name of this bookmarks folderpublic String getDescription()
BookmarksFolderModel
getDescription in interface BookmarksFolderModelpublic void setDescription(String description)
BookmarksFolderModel
setDescription in interface BookmarksFolderModeldescription - the description of this bookmarks folderpublic BookmarksFolder toEscapedModel()
BookmarksFolderModelAutoEscapeBeanHandler.
toEscapedModel in interface BookmarksFolderModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<BookmarksFolder>isNew in interface BookmarksFolderModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<BookmarksFolder>setNew in interface BookmarksFolderModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<BookmarksFolder>isCachedModel in interface BookmarksFolderModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<BookmarksFolder>setCachedModel in interface BookmarksFolderModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<BookmarksFolder>isEscapedModel in interface BookmarksFolderModeltrue 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<BookmarksFolder>setEscapedModel in interface BookmarksFolderModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<BookmarksFolder>getPrimaryKeyObj in interface BookmarksFolderModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<BookmarksFolder>getExpandoBridge in interface BookmarksFolderModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BookmarksFolder>setExpandoBridgeAttributes in interface BookmarksFolderModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<BookmarksFolder>clone in interface BookmarksFolderModelclone in class Objectpublic int compareTo(BookmarksFolder bookmarksFolder)
compareTo in interface BookmarksFolderModelcompareTo in interface Comparable<BookmarksFolder>public int hashCode()
hashCode in interface BookmarksFolderModelhashCode in class Objectpublic String toString()
toString in interface BookmarksFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<BookmarksFolder>toXmlString in interface BookmarksFolderModel
public List<BookmarksFolder> getAncestors()
throws PortalException,
SystemException
getAncestors in interface BookmarksFolderPortalException
SystemException
public BookmarksFolder getParentFolder()
throws PortalException,
SystemException
getParentFolder in interface BookmarksFolderPortalException
SystemExceptionpublic boolean isRoot()
isRoot in interface BookmarksFolderpublic BookmarksFolder getWrappedBookmarksFolder()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||