|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<BookmarksFolder>
com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl
@JSON(strict=true) public class BookmarksFolderModelImpl
The base model implementation for the BookmarksFolder service. Represents a row in the "BookmarksFolder" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface BookmarksFolderModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in BookmarksFolderImpl.
BookmarksFolderImpl,
BookmarksFolder,
BookmarksFolderModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTFOLDERID_COLUMN_BITMASK
|
static long |
RESOURCEBLOCKID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
BookmarksFolderModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(BookmarksFolder bookmarksFolder)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this bookmarks folder. |
Date |
getCreateDate()
Returns the create date of this bookmarks folder. |
String |
getDescription()
Returns the description of this bookmarks folder. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFolderId()
Returns the folder ID of this bookmarks folder. |
long |
getGroupId()
Returns the group ID of this bookmarks folder. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this bookmarks folder. |
String |
getName()
Returns the name of this bookmarks folder. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
long |
getOriginalParentFolderId()
|
long |
getOriginalResourceBlockId()
|
String |
getOriginalUuid()
|
long |
getParentFolderId()
Returns the parent folder ID of this bookmarks folder. |
long |
getPrimaryKey()
Returns the primary key of this bookmarks folder. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourceBlockId()
Returns the resource block ID of this bookmarks folder. |
long |
getUserId()
Returns the user ID of this bookmarks folder. |
String |
getUserName()
Returns the user name of this bookmarks folder. |
String |
getUserUuid()
Returns the user uuid of this bookmarks folder. |
String |
getUuid()
Returns the uuid of this bookmarks folder. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this bookmarks folder. |
void |
setName(String name)
Sets the name of this bookmarks folder. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this bookmarks folder. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this bookmarks folder. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourceBlockId(long resourceBlockId)
Sets the resource block ID of this bookmarks folder. |
void |
setUserId(long userId)
Sets the user ID of this bookmarks folder. |
void |
setUserName(String userName)
Sets the user name 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. |
CacheModel<BookmarksFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
BookmarksFolder |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static BookmarksFolder |
toModel(BookmarksFolderSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<BookmarksFolder> |
toModels(BookmarksFolderSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.bookmarks.model.BookmarksFolderModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long PARENTFOLDERID_COLUMN_BITMASK
public static long RESOURCEBLOCKID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public BookmarksFolderModelImpl()
| Method Detail |
|---|
public static BookmarksFolder toModel(BookmarksFolderSoap soapModel)
soapModel - the soap model instance to convert
public static List<BookmarksFolder> toModels(BookmarksFolderSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
BookmarksFolderModel
getPrimaryKey in interface BookmarksFolderModelpublic void setPrimaryKey(long primaryKey)
BookmarksFolderModel
setPrimaryKey in interface BookmarksFolderModelprimaryKey - the primary key of this bookmarks folderpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<BookmarksFolder>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface BookmarksFolderModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<BookmarksFolder>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface BookmarksFolderModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<BookmarksFolder>getModelAttributes in class BaseModelImpl<BookmarksFolder>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<BookmarksFolder>setModelAttributes in class BaseModelImpl<BookmarksFolder>@JSON public String getUuid()
BookmarksFolderModel
getUuid in interface StagedModelgetUuid in interface BookmarksFolderModelpublic void setUuid(String uuid)
BookmarksFolderModel
setUuid in interface BookmarksFolderModeluuid - the uuid of this bookmarks folderpublic String getOriginalUuid()
@JSON public long getFolderId()
BookmarksFolderModel
getFolderId in interface BookmarksFolderModelpublic void setFolderId(long folderId)
BookmarksFolderModel
setFolderId in interface BookmarksFolderModelfolderId - the folder ID of this bookmarks folder@JSON public long getGroupId()
BookmarksFolderModel
getGroupId in interface GroupedModelgetGroupId in interface BookmarksFolderModelpublic void setGroupId(long groupId)
BookmarksFolderModel
setGroupId in interface GroupedModelsetGroupId in interface BookmarksFolderModelgroupId - the group ID of this bookmarks folderpublic long getOriginalGroupId()
@JSON public long getCompanyId()
BookmarksFolderModel
getCompanyId in interface AuditedModelgetCompanyId in interface BookmarksFolderModelpublic void setCompanyId(long companyId)
BookmarksFolderModel
setCompanyId in interface AuditedModelsetCompanyId in interface BookmarksFolderModelcompanyId - the company ID of this bookmarks folderpublic long getOriginalCompanyId()
@JSON public long getUserId()
BookmarksFolderModel
getUserId in interface AuditedModelgetUserId in interface BookmarksFolderModelpublic void setUserId(long userId)
BookmarksFolderModel
setUserId in interface AuditedModelsetUserId in interface BookmarksFolderModeluserId - the user ID of this bookmarks folder
public String getUserUuid()
throws SystemException
BookmarksFolderModel
getUserUuid in interface AuditedModelgetUserUuid in interface BookmarksFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
BookmarksFolderModel
setUserUuid in interface AuditedModelsetUserUuid in interface BookmarksFolderModeluserUuid - the user uuid of this bookmarks folder@JSON public String getUserName()
BookmarksFolderModel
getUserName in interface AuditedModelgetUserName in interface BookmarksFolderModelpublic void setUserName(String userName)
BookmarksFolderModel
setUserName in interface AuditedModelsetUserName in interface BookmarksFolderModeluserName - the user name of this bookmarks folder@JSON public Date getCreateDate()
BookmarksFolderModel
getCreateDate in interface AuditedModelgetCreateDate in interface BookmarksFolderModelpublic void setCreateDate(Date createDate)
BookmarksFolderModel
setCreateDate in interface AuditedModelsetCreateDate in interface BookmarksFolderModelcreateDate - the create date of this bookmarks folder@JSON public Date getModifiedDate()
BookmarksFolderModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface BookmarksFolderModelpublic void setModifiedDate(Date modifiedDate)
BookmarksFolderModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface BookmarksFolderModelmodifiedDate - the modified date of this bookmarks folder@JSON public long getResourceBlockId()
BookmarksFolderModel
getResourceBlockId in interface BookmarksFolderModelpublic void setResourceBlockId(long resourceBlockId)
BookmarksFolderModel
setResourceBlockId in interface BookmarksFolderModelresourceBlockId - the resource block ID of this bookmarks folderpublic long getOriginalResourceBlockId()
@JSON public long getParentFolderId()
BookmarksFolderModel
getParentFolderId in interface BookmarksFolderModelpublic void setParentFolderId(long parentFolderId)
BookmarksFolderModel
setParentFolderId in interface BookmarksFolderModelparentFolderId - the parent folder ID of this bookmarks folderpublic long getOriginalParentFolderId()
@JSON public String getName()
BookmarksFolderModel
getName in interface BookmarksFolderModelpublic void setName(String name)
BookmarksFolderModel
setName in interface BookmarksFolderModelname - the name of this bookmarks folder@JSON public String getDescription()
BookmarksFolderModel
getDescription in interface BookmarksFolderModelpublic void setDescription(String description)
BookmarksFolderModel
setDescription in interface BookmarksFolderModeldescription - the description of this bookmarks folderpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<BookmarksFolder>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface BookmarksFolderModelgetExpandoBridge in class BaseModelImpl<BookmarksFolder>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BookmarksFolder>setExpandoBridgeAttributes in interface BookmarksFolderModelsetExpandoBridgeAttributes in class BaseModelImpl<BookmarksFolder>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public BookmarksFolder toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<BookmarksFolder>toEscapedModel in interface BookmarksFolderModeltoEscapedModel in class BaseModelImpl<BookmarksFolder>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<BookmarksFolder>clone in interface BookmarksFolderModelclone in class BaseModelImpl<BookmarksFolder>public int compareTo(BookmarksFolder bookmarksFolder)
compareTo in interface BookmarksFolderModelcompareTo in interface Comparable<BookmarksFolder>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface BookmarksFolderModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<BookmarksFolder>resetOriginalValues in class BaseModelImpl<BookmarksFolder>public CacheModel<BookmarksFolder> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<BookmarksFolder>toCacheModel in interface BookmarksFolderModeltoCacheModel in class BaseModelImpl<BookmarksFolder>public String toString()
toString in interface BookmarksFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<BookmarksFolder>toXmlString in interface BookmarksFolderModel
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||