|
Liferay 6.2-ce-ga5 | |||||||||
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<JournalFolder> com.liferay.portlet.journal.model.impl.JournalFolderModelImpl
@JSON(strict=true) public class JournalFolderModelImpl
The base model implementation for the JournalFolder service. Represents a row in the "JournalFolder" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface JournalFolderModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalFolderImpl
.
JournalFolderImpl
,
JournalFolder
,
JournalFolderModel
,
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 |
FOLDERID_COLUMN_BITMASK
|
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 String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
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 | |
---|---|
JournalFolderModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalFolder journalFolder)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this journal folder. |
long |
getContainerModelId()
Returns the container model ID of this journal folder. |
String |
getContainerModelName()
Returns the container name of this journal folder. |
Date |
getCreateDate()
Returns the create date of this journal folder. |
String |
getDescription()
Returns the description of this journal folder. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFolderId()
Returns the folder ID of this journal folder. |
long |
getGroupId()
Returns the group ID of this journal folder. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal folder. |
String |
getName()
Returns the name of this journal folder. |
long |
getOriginalCompanyId()
|
long |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getOriginalParentFolderId()
|
int |
getOriginalStatus()
|
String |
getOriginalUuid()
|
long |
getParentContainerModelId()
Returns the parent container model ID of this journal folder. |
long |
getParentFolderId()
Returns the parent folder ID of this journal folder. |
long |
getPrimaryKey()
Returns the primary key of this journal folder. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this journal folder. |
long |
getStatusByUserId()
Returns the status by user ID of this journal folder. |
String |
getStatusByUserName()
Returns the status by user name of this journal folder. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this journal folder. |
Date |
getStatusDate()
Returns the status date of this journal folder. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this journal folder was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal folder. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this journal folder. |
String |
getTreePath()
Returns the tree path of this journal folder. |
long |
getUserId()
Returns the user ID of this journal folder. |
String |
getUserName()
Returns the user name of this journal folder. |
String |
getUserUuid()
Returns the user uuid of this journal folder. |
String |
getUuid()
Returns the uuid of this journal folder. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this journal folder is approved. |
boolean |
isDenied()
Returns true if this journal folder is denied. |
boolean |
isDraft()
Returns true if this journal folder is a draft. |
boolean |
isExpired()
Returns true if this journal folder is expired. |
boolean |
isInactive()
Returns true if this journal folder is inactive. |
boolean |
isIncomplete()
Returns true if this journal folder is incomplete. |
boolean |
isInTrash()
Returns true if this journal folder is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this journal folder is in the Recycle Bin. |
boolean |
isPending()
Returns true if this journal folder is pending. |
boolean |
isScheduled()
Returns true if this journal folder is scheduled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this journal folder. |
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this journal folder. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal folder. |
void |
setDescription(String description)
Sets the description of this journal 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 journal folder. |
void |
setGroupId(long groupId)
Sets the group ID of this journal folder. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal folder. |
void |
setName(String name)
Sets the name of this journal folder. |
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this journal folder. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this journal folder. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal folder. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatus(int status)
Sets the status of this journal folder. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this journal folder. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this journal folder. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this journal folder. |
void |
setStatusDate(Date statusDate)
Sets the status date of this journal folder. |
void |
setTreePath(String treePath)
Sets the tree path of this journal folder. |
void |
setUserId(long userId)
Sets the user ID of this journal folder. |
void |
setUserName(String userName)
Sets the user name of this journal folder. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal folder. |
void |
setUuid(String uuid)
Sets the uuid of this journal folder. |
CacheModel<JournalFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalFolder |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static JournalFolder |
toModel(JournalFolderSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<JournalFolder> |
toModels(JournalFolderSoap[] 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.journal.model.JournalFolderModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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 FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long PARENTFOLDERID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public JournalFolderModelImpl()
Method Detail |
---|
public static JournalFolder toModel(JournalFolderSoap soapModel)
soapModel
- the soap model instance to convert
public static List<JournalFolder> toModels(JournalFolderSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
JournalFolderModel
getPrimaryKey
in interface JournalFolderModel
public void setPrimaryKey(long primaryKey)
JournalFolderModel
setPrimaryKey
in interface JournalFolderModel
primaryKey
- the primary key of this journal folderpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalFolder>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalFolderModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalFolder>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalFolderModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
getModelClass
in interface ContainerModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
getModelClassName
in interface ContainerModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalFolder>
getModelAttributes
in class BaseModelImpl<JournalFolder>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalFolder>
setModelAttributes
in class BaseModelImpl<JournalFolder>
@JSON public String getUuid()
JournalFolderModel
getUuid
in interface StagedModel
getUuid
in interface JournalFolderModel
public void setUuid(String uuid)
JournalFolderModel
setUuid
in interface StagedModel
setUuid
in interface JournalFolderModel
uuid
- the uuid of this journal folderpublic String getOriginalUuid()
@JSON public long getFolderId()
JournalFolderModel
getFolderId
in interface JournalFolderModel
public void setFolderId(long folderId)
JournalFolderModel
setFolderId
in interface JournalFolderModel
folderId
- the folder ID of this journal folderpublic long getOriginalFolderId()
@JSON public long getGroupId()
JournalFolderModel
getGroupId
in interface GroupedModel
getGroupId
in interface JournalFolderModel
public void setGroupId(long groupId)
JournalFolderModel
setGroupId
in interface GroupedModel
setGroupId
in interface JournalFolderModel
groupId
- the group ID of this journal folderpublic long getOriginalGroupId()
@JSON public long getCompanyId()
JournalFolderModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface JournalFolderModel
public void setCompanyId(long companyId)
JournalFolderModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface JournalFolderModel
companyId
- the company ID of this journal folderpublic long getOriginalCompanyId()
@JSON public long getUserId()
JournalFolderModel
getUserId
in interface AuditedModel
getUserId
in interface JournalFolderModel
public void setUserId(long userId)
JournalFolderModel
setUserId
in interface AuditedModel
setUserId
in interface JournalFolderModel
userId
- the user ID of this journal folderpublic String getUserUuid() throws SystemException
JournalFolderModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface JournalFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
JournalFolderModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface JournalFolderModel
userUuid
- the user uuid of this journal folder@JSON public String getUserName()
JournalFolderModel
getUserName
in interface AuditedModel
getUserName
in interface JournalFolderModel
public void setUserName(String userName)
JournalFolderModel
setUserName
in interface AuditedModel
setUserName
in interface JournalFolderModel
userName
- the user name of this journal folder@JSON public Date getCreateDate()
JournalFolderModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface JournalFolderModel
public void setCreateDate(Date createDate)
JournalFolderModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface JournalFolderModel
createDate
- the create date of this journal folder@JSON public Date getModifiedDate()
JournalFolderModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface JournalFolderModel
public void setModifiedDate(Date modifiedDate)
JournalFolderModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface JournalFolderModel
modifiedDate
- the modified date of this journal folder@JSON public long getParentFolderId()
JournalFolderModel
getParentFolderId
in interface JournalFolderModel
public void setParentFolderId(long parentFolderId)
JournalFolderModel
setParentFolderId
in interface JournalFolderModel
parentFolderId
- the parent folder ID of this journal folderpublic long getOriginalParentFolderId()
@JSON public String getTreePath()
JournalFolderModel
getTreePath
in interface JournalFolderModel
public void setTreePath(String treePath)
JournalFolderModel
setTreePath
in interface JournalFolderModel
treePath
- the tree path of this journal folder@JSON public String getName()
JournalFolderModel
getName
in interface JournalFolderModel
public void setName(String name)
JournalFolderModel
setName
in interface JournalFolderModel
name
- the name of this journal folderpublic String getOriginalName()
@JSON public String getDescription()
JournalFolderModel
getDescription
in interface JournalFolderModel
public void setDescription(String description)
JournalFolderModel
setDescription
in interface JournalFolderModel
description
- the description of this journal folder@JSON public int getStatus()
JournalFolderModel
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface JournalFolderModel
public void setStatus(int status)
JournalFolderModel
setStatus
in interface WorkflowedModel
setStatus
in interface JournalFolderModel
status
- the status of this journal folderpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
JournalFolderModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface JournalFolderModel
public void setStatusByUserId(long statusByUserId)
JournalFolderModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface JournalFolderModel
statusByUserId
- the status by user ID of this journal folderpublic String getStatusByUserUuid() throws SystemException
JournalFolderModel
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface JournalFolderModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalFolderModel
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface JournalFolderModel
statusByUserUuid
- the status by user uuid of this journal folder@JSON public String getStatusByUserName()
JournalFolderModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface JournalFolderModel
public void setStatusByUserName(String statusByUserName)
JournalFolderModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface JournalFolderModel
statusByUserName
- the status by user name of this journal folder@JSON public Date getStatusDate()
JournalFolderModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface JournalFolderModel
public void setStatusDate(Date statusDate)
JournalFolderModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface JournalFolderModel
statusDate
- the status date of this journal folderpublic long getContainerModelId()
JournalFolderModel
getContainerModelId
in interface ContainerModel
getContainerModelId
in interface JournalFolderModel
public void setContainerModelId(long containerModelId)
JournalFolderModel
setContainerModelId
in interface ContainerModel
setContainerModelId
in interface JournalFolderModel
containerModelId
- the container model ID of this journal folderpublic long getParentContainerModelId()
JournalFolderModel
getParentContainerModelId
in interface ContainerModel
getParentContainerModelId
in interface JournalFolderModel
public void setParentContainerModelId(long parentContainerModelId)
JournalFolderModel
setParentContainerModelId
in interface ContainerModel
setParentContainerModelId
in interface JournalFolderModel
parentContainerModelId
- the parent container model ID of this journal folderpublic String getContainerModelName()
JournalFolderModel
getContainerModelName
in interface ContainerModel
getContainerModelName
in interface JournalFolderModel
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public TrashEntry getTrashEntry() throws PortalException, SystemException
JournalFolderModel
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface JournalFolderModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
JournalFolderModel
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface JournalFolderModel
public TrashHandler getTrashHandler()
JournalFolderModel
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface JournalFolderModel
public boolean isInTrash()
JournalFolderModel
true
if this journal folder is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface JournalFolderModel
true
if this journal folder is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
JournalFolderModel
true
if the parent of this journal folder is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
isInTrashContainer
in interface JournalFolderModel
true
if the parent of this journal folder is in the Recycle Bin; false
otherwisepublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface JournalFolderModel
public boolean isApproved()
JournalFolderModel
true
if this journal folder is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface JournalFolderModel
true
if this journal folder is approved; false
otherwisepublic boolean isDenied()
JournalFolderModel
true
if this journal folder is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface JournalFolderModel
true
if this journal folder is denied; false
otherwisepublic boolean isDraft()
JournalFolderModel
true
if this journal folder is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface JournalFolderModel
true
if this journal folder is a draft; false
otherwisepublic boolean isExpired()
JournalFolderModel
true
if this journal folder is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface JournalFolderModel
true
if this journal folder is expired; false
otherwisepublic boolean isInactive()
JournalFolderModel
true
if this journal folder is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface JournalFolderModel
true
if this journal folder is inactive; false
otherwisepublic boolean isIncomplete()
JournalFolderModel
true
if this journal folder is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface JournalFolderModel
true
if this journal folder is incomplete; false
otherwisepublic boolean isPending()
JournalFolderModel
true
if this journal folder is pending.
isPending
in interface WorkflowedModel
isPending
in interface JournalFolderModel
true
if this journal folder is pending; false
otherwisepublic boolean isScheduled()
JournalFolderModel
true
if this journal folder is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface JournalFolderModel
true
if this journal folder is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalFolder>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalFolderModel
getExpandoBridge
in class BaseModelImpl<JournalFolder>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalFolder>
setExpandoBridgeAttributes
in interface JournalFolderModel
setExpandoBridgeAttributes
in class BaseModelImpl<JournalFolder>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public JournalFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalFolder>
toEscapedModel
in interface JournalFolderModel
toEscapedModel
in class BaseModelImpl<JournalFolder>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<JournalFolder>
clone
in interface StagedModel
clone
in interface JournalFolderModel
clone
in class BaseModelImpl<JournalFolder>
public int compareTo(JournalFolder journalFolder)
compareTo
in interface JournalFolderModel
compareTo
in interface Comparable<JournalFolder>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface JournalFolderModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalFolder>
resetOriginalValues
in class BaseModelImpl<JournalFolder>
public CacheModel<JournalFolder> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalFolder>
toCacheModel
in interface JournalFolderModel
toCacheModel
in class BaseModelImpl<JournalFolder>
public String toString()
toString
in interface JournalFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalFolder>
toXmlString
in interface JournalFolderModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |