Liferay 6.0.5

com.liferay.portlet.bookmarks.model
Class BookmarksEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.bookmarks.model.BookmarksEntryWrapper
All Implemented Interfaces:
BaseModel<BookmarksEntry>, BookmarksEntry, BookmarksEntryModel, Serializable, Cloneable, Comparable<BookmarksEntry>

public class BookmarksEntryWrapper
extends Object
implements BookmarksEntry

This class is a wrapper for BookmarksEntry.

See Also:
BookmarksEntry, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
BookmarksEntryWrapper(BookmarksEntry bookmarksEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BookmarksEntry bookmarksEntry)
           
 String getComments()
          Gets the comments of this bookmarks entry.
 long getCompanyId()
          Gets the company id of this bookmarks entry.
 Date getCreateDate()
          Gets the create date of this bookmarks entry.
 long getEntryId()
          Gets the entry id of this bookmarks entry.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 BookmarksFolder getFolder()
           
 long getFolderId()
          Gets the folder id of this bookmarks entry.
 long getGroupId()
          Gets the group id of this bookmarks entry.
 Date getModifiedDate()
          Gets the modified date of this bookmarks entry.
 String getName()
          Gets the name of this bookmarks entry.
 long getPrimaryKey()
          Gets the primary key of this bookmarks entry.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getPriority()
          Gets the priority of this bookmarks entry.
 String getUrl()
          Gets the url of this bookmarks entry.
 long getUserId()
          Gets the user id of this bookmarks entry.
 String getUserUuid()
          Gets the user uuid of this bookmarks entry.
 String getUuid()
          Gets the uuid of this bookmarks entry.
 int getVisits()
          Gets the visits of this bookmarks entry.
 BookmarksEntry getWrappedBookmarksEntry()
           
 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.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setComments(String comments)
          Sets the comments of this bookmarks entry.
 void setCompanyId(long companyId)
          Sets the company id of this bookmarks entry.
 void setCreateDate(Date createDate)
          Sets the create date of this bookmarks entry.
 void setEntryId(long entryId)
          Sets the entry id of this bookmarks entry.
 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 entry.
 void setGroupId(long groupId)
          Sets the group id of this bookmarks entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this bookmarks entry.
 void setName(String name)
          Sets the name of this bookmarks entry.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
          Sets the primary key of this bookmarks entry
 void setPriority(int priority)
          Sets the priority of this bookmarks entry.
 void setUrl(String url)
          Sets the url of this bookmarks entry.
 void setUserId(long userId)
          Sets the user id of this bookmarks entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this bookmarks entry.
 void setUuid(String uuid)
          Sets the uuid of this bookmarks entry.
 void setVisits(int visits)
          Sets the visits of this bookmarks entry.
 BookmarksEntry toEscapedModel()
          Gets a copy of this bookmarks entry 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

BookmarksEntryWrapper

public BookmarksEntryWrapper(BookmarksEntry bookmarksEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: BookmarksEntryModel
Gets the primary key of this bookmarks entry.

Specified by:
getPrimaryKey in interface BookmarksEntryModel
Returns:
the primary key of this bookmarks entry

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: BookmarksEntryModel
Sets the primary key of this bookmarks entry

Specified by:
setPrimaryKey in interface BookmarksEntryModel
Parameters:
pk - the primary key of this bookmarks entry

getUuid

public String getUuid()
Description copied from interface: BookmarksEntryModel
Gets the uuid of this bookmarks entry.

Specified by:
getUuid in interface BookmarksEntryModel
Returns:
the uuid of this bookmarks entry

setUuid

public void setUuid(String uuid)
Description copied from interface: BookmarksEntryModel
Sets the uuid of this bookmarks entry.

Specified by:
setUuid in interface BookmarksEntryModel
Parameters:
uuid - the uuid of this bookmarks entry

getEntryId

public long getEntryId()
Description copied from interface: BookmarksEntryModel
Gets the entry id of this bookmarks entry.

Specified by:
getEntryId in interface BookmarksEntryModel
Returns:
the entry id of this bookmarks entry

setEntryId

public void setEntryId(long entryId)
Description copied from interface: BookmarksEntryModel
Sets the entry id of this bookmarks entry.

Specified by:
setEntryId in interface BookmarksEntryModel
Parameters:
entryId - the entry id of this bookmarks entry

getGroupId

public long getGroupId()
Description copied from interface: BookmarksEntryModel
Gets the group id of this bookmarks entry.

Specified by:
getGroupId in interface BookmarksEntryModel
Returns:
the group id of this bookmarks entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: BookmarksEntryModel
Sets the group id of this bookmarks entry.

Specified by:
setGroupId in interface BookmarksEntryModel
Parameters:
groupId - the group id of this bookmarks entry

getCompanyId

public long getCompanyId()
Description copied from interface: BookmarksEntryModel
Gets the company id of this bookmarks entry.

Specified by:
getCompanyId in interface BookmarksEntryModel
Returns:
the company id of this bookmarks entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: BookmarksEntryModel
Sets the company id of this bookmarks entry.

Specified by:
setCompanyId in interface BookmarksEntryModel
Parameters:
companyId - the company id of this bookmarks entry

getUserId

public long getUserId()
Description copied from interface: BookmarksEntryModel
Gets the user id of this bookmarks entry.

Specified by:
getUserId in interface BookmarksEntryModel
Returns:
the user id of this bookmarks entry

setUserId

public void setUserId(long userId)
Description copied from interface: BookmarksEntryModel
Sets the user id of this bookmarks entry.

Specified by:
setUserId in interface BookmarksEntryModel
Parameters:
userId - the user id of this bookmarks entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: BookmarksEntryModel
Gets the user uuid of this bookmarks entry.

Specified by:
getUserUuid in interface BookmarksEntryModel
Returns:
the user uuid of this bookmarks entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: BookmarksEntryModel
Sets the user uuid of this bookmarks entry.

Specified by:
setUserUuid in interface BookmarksEntryModel
Parameters:
userUuid - the user uuid of this bookmarks entry

getCreateDate

public Date getCreateDate()
Description copied from interface: BookmarksEntryModel
Gets the create date of this bookmarks entry.

Specified by:
getCreateDate in interface BookmarksEntryModel
Returns:
the create date of this bookmarks entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: BookmarksEntryModel
Sets the create date of this bookmarks entry.

Specified by:
setCreateDate in interface BookmarksEntryModel
Parameters:
createDate - the create date of this bookmarks entry

getModifiedDate

public Date getModifiedDate()
Description copied from interface: BookmarksEntryModel
Gets the modified date of this bookmarks entry.

Specified by:
getModifiedDate in interface BookmarksEntryModel
Returns:
the modified date of this bookmarks entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: BookmarksEntryModel
Sets the modified date of this bookmarks entry.

Specified by:
setModifiedDate in interface BookmarksEntryModel
Parameters:
modifiedDate - the modified date of this bookmarks entry

getFolderId

public long getFolderId()
Description copied from interface: BookmarksEntryModel
Gets the folder id of this bookmarks entry.

Specified by:
getFolderId in interface BookmarksEntryModel
Returns:
the folder id of this bookmarks entry

setFolderId

public void setFolderId(long folderId)
Description copied from interface: BookmarksEntryModel
Sets the folder id of this bookmarks entry.

Specified by:
setFolderId in interface BookmarksEntryModel
Parameters:
folderId - the folder id of this bookmarks entry

getName

public String getName()
Description copied from interface: BookmarksEntryModel
Gets the name of this bookmarks entry.

Specified by:
getName in interface BookmarksEntryModel
Returns:
the name of this bookmarks entry

setName

public void setName(String name)
Description copied from interface: BookmarksEntryModel
Sets the name of this bookmarks entry.

Specified by:
setName in interface BookmarksEntryModel
Parameters:
name - the name of this bookmarks entry

getUrl

public String getUrl()
Description copied from interface: BookmarksEntryModel
Gets the url of this bookmarks entry.

Specified by:
getUrl in interface BookmarksEntryModel
Returns:
the url of this bookmarks entry

setUrl

public void setUrl(String url)
Description copied from interface: BookmarksEntryModel
Sets the url of this bookmarks entry.

Specified by:
setUrl in interface BookmarksEntryModel
Parameters:
url - the url of this bookmarks entry

getComments

public String getComments()
Description copied from interface: BookmarksEntryModel
Gets the comments of this bookmarks entry.

Specified by:
getComments in interface BookmarksEntryModel
Returns:
the comments of this bookmarks entry

setComments

public void setComments(String comments)
Description copied from interface: BookmarksEntryModel
Sets the comments of this bookmarks entry.

Specified by:
setComments in interface BookmarksEntryModel
Parameters:
comments - the comments of this bookmarks entry

getVisits

public int getVisits()
Description copied from interface: BookmarksEntryModel
Gets the visits of this bookmarks entry.

Specified by:
getVisits in interface BookmarksEntryModel
Returns:
the visits of this bookmarks entry

setVisits

public void setVisits(int visits)
Description copied from interface: BookmarksEntryModel
Sets the visits of this bookmarks entry.

Specified by:
setVisits in interface BookmarksEntryModel
Parameters:
visits - the visits of this bookmarks entry

getPriority

public int getPriority()
Description copied from interface: BookmarksEntryModel
Gets the priority of this bookmarks entry.

Specified by:
getPriority in interface BookmarksEntryModel
Returns:
the priority of this bookmarks entry

setPriority

public void setPriority(int priority)
Description copied from interface: BookmarksEntryModel
Sets the priority of this bookmarks entry.

Specified by:
setPriority in interface BookmarksEntryModel
Parameters:
priority - the priority of this bookmarks entry

toEscapedModel

public BookmarksEntry toEscapedModel()
Description copied from interface: BookmarksEntryModel
Gets a copy of this bookmarks entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BookmarksEntryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<BookmarksEntry>
Specified by:
isNew in interface BookmarksEntryModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<BookmarksEntry>
Specified by:
setNew in interface BookmarksEntryModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<BookmarksEntry>
Specified by:
isCachedModel in interface BookmarksEntryModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<BookmarksEntry>
Specified by:
setCachedModel in interface BookmarksEntryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<BookmarksEntry>
Specified by:
isEscapedModel in interface BookmarksEntryModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<BookmarksEntry>
Specified by:
setEscapedModel in interface BookmarksEntryModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<BookmarksEntry>
Specified by:
getPrimaryKeyObj in interface BookmarksEntryModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<BookmarksEntry>
Specified by:
getExpandoBridge in interface BookmarksEntryModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<BookmarksEntry>
Specified by:
setExpandoBridgeAttributes in interface BookmarksEntryModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<BookmarksEntry>
Specified by:
clone in interface BookmarksEntryModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(BookmarksEntry bookmarksEntry)
Specified by:
compareTo in interface BookmarksEntryModel
Specified by:
compareTo in interface Comparable<BookmarksEntry>

hashCode

public int hashCode()
Specified by:
hashCode in interface BookmarksEntryModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface BookmarksEntryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<BookmarksEntry>
Specified by:
toXmlString in interface BookmarksEntryModel
Returns:
the XML representation of this model instance

getFolder

public BookmarksFolder getFolder()
Specified by:
getFolder in interface BookmarksEntry

getWrappedBookmarksEntry

public BookmarksEntry getWrappedBookmarksEntry()

Liferay 6.0.5