|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 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()
|
BookmarksFolder |
toUnescapedModel()
|
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 |
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 |
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 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 BookmarksFolderModel
public void setPrimaryKey(long primaryKey)
BookmarksFolderModel
setPrimaryKey
in interface BookmarksFolderModel
primaryKey
- the primary key of this bookmarks folderpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<BookmarksFolder>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface BookmarksFolderModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<BookmarksFolder>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface BookmarksFolderModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 BookmarksFolderModel
public void setUuid(String uuid)
BookmarksFolderModel
setUuid
in interface BookmarksFolderModel
uuid
- the uuid of this bookmarks folderpublic String getOriginalUuid()
@JSON public long getFolderId()
BookmarksFolderModel
getFolderId
in interface BookmarksFolderModel
public void setFolderId(long folderId)
BookmarksFolderModel
setFolderId
in interface BookmarksFolderModel
folderId
- the folder ID of this bookmarks folder@JSON public long getGroupId()
BookmarksFolderModel
getGroupId
in interface GroupedModel
getGroupId
in interface BookmarksFolderModel
public void setGroupId(long groupId)
BookmarksFolderModel
setGroupId
in interface GroupedModel
setGroupId
in interface BookmarksFolderModel
groupId
- the group ID of this bookmarks folderpublic long getOriginalGroupId()
@JSON public long getCompanyId()
BookmarksFolderModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface BookmarksFolderModel
public void setCompanyId(long companyId)
BookmarksFolderModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface BookmarksFolderModel
companyId
- the company ID of this bookmarks folderpublic long getOriginalCompanyId()
@JSON public long getUserId()
BookmarksFolderModel
getUserId
in interface AuditedModel
getUserId
in interface BookmarksFolderModel
public void setUserId(long userId)
BookmarksFolderModel
setUserId
in interface AuditedModel
setUserId
in interface BookmarksFolderModel
userId
- the user ID of this bookmarks folderpublic String getUserUuid() throws SystemException
BookmarksFolderModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface BookmarksFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
BookmarksFolderModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface BookmarksFolderModel
userUuid
- the user uuid of this bookmarks folder@JSON public String getUserName()
BookmarksFolderModel
getUserName
in interface AuditedModel
getUserName
in interface BookmarksFolderModel
public void setUserName(String userName)
BookmarksFolderModel
setUserName
in interface AuditedModel
setUserName
in interface BookmarksFolderModel
userName
- the user name of this bookmarks folder@JSON public Date getCreateDate()
BookmarksFolderModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface BookmarksFolderModel
public void setCreateDate(Date createDate)
BookmarksFolderModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface BookmarksFolderModel
createDate
- the create date of this bookmarks folder@JSON public Date getModifiedDate()
BookmarksFolderModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface BookmarksFolderModel
public void setModifiedDate(Date modifiedDate)
BookmarksFolderModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface BookmarksFolderModel
modifiedDate
- the modified date of this bookmarks folder@JSON public long getResourceBlockId()
BookmarksFolderModel
getResourceBlockId
in interface BookmarksFolderModel
public void setResourceBlockId(long resourceBlockId)
BookmarksFolderModel
setResourceBlockId
in interface BookmarksFolderModel
resourceBlockId
- the resource block ID of this bookmarks folderpublic long getOriginalResourceBlockId()
@JSON public 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 long getOriginalParentFolderId()
@JSON public String getName()
BookmarksFolderModel
getName
in interface BookmarksFolderModel
public void setName(String name)
BookmarksFolderModel
setName
in interface BookmarksFolderModel
name
- the name of this bookmarks folder@JSON public String getDescription()
BookmarksFolderModel
getDescription
in interface BookmarksFolderModel
public void setDescription(String description)
BookmarksFolderModel
setDescription
in interface BookmarksFolderModel
description
- the description of this bookmarks folderpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<BookmarksFolder>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface BookmarksFolderModel
getExpandoBridge
in class BaseModelImpl<BookmarksFolder>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<BookmarksFolder>
setExpandoBridgeAttributes
in interface BookmarksFolderModel
setExpandoBridgeAttributes
in class BaseModelImpl<BookmarksFolder>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public BookmarksFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<BookmarksFolder>
toEscapedModel
in interface BookmarksFolderModel
toEscapedModel
in class BaseModelImpl<BookmarksFolder>
AutoEscapeBeanHandler
public BookmarksFolder toUnescapedModel()
toUnescapedModel
in interface BaseModel<BookmarksFolder>
toUnescapedModel
in interface BookmarksFolderModel
toUnescapedModel
in class BaseModelImpl<BookmarksFolder>
public Object clone()
BaseModel
clone
in interface BaseModel<BookmarksFolder>
clone
in interface BookmarksFolderModel
clone
in class BaseModelImpl<BookmarksFolder>
public int compareTo(BookmarksFolder bookmarksFolder)
compareTo
in interface BookmarksFolderModel
compareTo
in interface Comparable<BookmarksFolder>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface BookmarksFolderModel
hashCode
in class Object
public 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 BookmarksFolderModel
toCacheModel
in class BaseModelImpl<BookmarksFolder>
public String toString()
toString
in interface BookmarksFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<BookmarksFolder>
toXmlString
in interface BookmarksFolderModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |