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