|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 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 |
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 JournalFolderModelpublic void setPrimaryKey(long primaryKey)
JournalFolderModel
setPrimaryKey in interface JournalFolderModelprimaryKey - the primary key of this journal folderpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalFolder>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalFolderModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalFolder>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalFolderModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelgetModelClass in interface ContainerModelpublic String getModelClassName()
getModelClassName in interface ClassedModelgetModelClassName in interface ContainerModelpublic 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 StagedModelgetUuid in interface JournalFolderModelpublic void setUuid(String uuid)
JournalFolderModel
setUuid in interface StagedModelsetUuid in interface JournalFolderModeluuid - the uuid of this journal folderpublic String getOriginalUuid()
@JSON public long getFolderId()
JournalFolderModel
getFolderId in interface JournalFolderModelpublic void setFolderId(long folderId)
JournalFolderModel
setFolderId in interface JournalFolderModelfolderId - the folder ID of this journal folderpublic long getOriginalFolderId()
@JSON public long getGroupId()
JournalFolderModel
getGroupId in interface GroupedModelgetGroupId in interface JournalFolderModelpublic void setGroupId(long groupId)
JournalFolderModel
setGroupId in interface GroupedModelsetGroupId in interface JournalFolderModelgroupId - the group ID of this journal folderpublic long getOriginalGroupId()
@JSON public long getCompanyId()
JournalFolderModel
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface JournalFolderModelpublic void setCompanyId(long companyId)
JournalFolderModel
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface JournalFolderModelcompanyId - the company ID of this journal folderpublic long getOriginalCompanyId()
@JSON public long getUserId()
JournalFolderModel
getUserId in interface AuditedModelgetUserId in interface JournalFolderModelpublic void setUserId(long userId)
JournalFolderModel
setUserId in interface AuditedModelsetUserId in interface JournalFolderModeluserId - the user ID of this journal folder
public String getUserUuid()
throws SystemException
JournalFolderModel
getUserUuid in interface AuditedModelgetUserUuid in interface JournalFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
JournalFolderModel
setUserUuid in interface AuditedModelsetUserUuid in interface JournalFolderModeluserUuid - the user uuid of this journal folder@JSON public String getUserName()
JournalFolderModel
getUserName in interface AuditedModelgetUserName in interface JournalFolderModelpublic void setUserName(String userName)
JournalFolderModel
setUserName in interface AuditedModelsetUserName in interface JournalFolderModeluserName - the user name of this journal folder@JSON public Date getCreateDate()
JournalFolderModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface JournalFolderModelpublic void setCreateDate(Date createDate)
JournalFolderModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface JournalFolderModelcreateDate - the create date of this journal folder@JSON public Date getModifiedDate()
JournalFolderModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface JournalFolderModelpublic void setModifiedDate(Date modifiedDate)
JournalFolderModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface JournalFolderModelmodifiedDate - the modified date of this journal folder@JSON public long getParentFolderId()
JournalFolderModel
getParentFolderId in interface JournalFolderModelpublic void setParentFolderId(long parentFolderId)
JournalFolderModel
setParentFolderId in interface JournalFolderModelparentFolderId - the parent folder ID of this journal folderpublic long getOriginalParentFolderId()
@JSON public String getTreePath()
JournalFolderModel
getTreePath in interface JournalFolderModelpublic void setTreePath(String treePath)
JournalFolderModel
setTreePath in interface JournalFolderModeltreePath - the tree path of this journal folder@JSON public String getName()
JournalFolderModel
getName in interface JournalFolderModelpublic void setName(String name)
JournalFolderModel
setName in interface JournalFolderModelname - the name of this journal folderpublic String getOriginalName()
@JSON public String getDescription()
JournalFolderModel
getDescription in interface JournalFolderModelpublic void setDescription(String description)
JournalFolderModel
setDescription in interface JournalFolderModeldescription - the description of this journal folder@JSON public int getStatus()
JournalFolderModel
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelgetStatus in interface JournalFolderModelpublic void setStatus(int status)
JournalFolderModel
setStatus in interface WorkflowedModelsetStatus in interface JournalFolderModelstatus - the status of this journal folderpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
JournalFolderModel
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface JournalFolderModelpublic void setStatusByUserId(long statusByUserId)
JournalFolderModel
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface JournalFolderModelstatusByUserId - the status by user ID of this journal folder
public String getStatusByUserUuid()
throws SystemException
JournalFolderModel
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface JournalFolderModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalFolderModel
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface JournalFolderModelstatusByUserUuid - the status by user uuid of this journal folder@JSON public String getStatusByUserName()
JournalFolderModel
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface JournalFolderModelpublic void setStatusByUserName(String statusByUserName)
JournalFolderModel
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface JournalFolderModelstatusByUserName - the status by user name of this journal folder@JSON public Date getStatusDate()
JournalFolderModel
getStatusDate in interface WorkflowedModelgetStatusDate in interface JournalFolderModelpublic void setStatusDate(Date statusDate)
JournalFolderModel
setStatusDate in interface WorkflowedModelsetStatusDate in interface JournalFolderModelstatusDate - the status date of this journal folderpublic long getContainerModelId()
JournalFolderModel
getContainerModelId in interface ContainerModelgetContainerModelId in interface JournalFolderModelpublic void setContainerModelId(long containerModelId)
JournalFolderModel
setContainerModelId in interface ContainerModelsetContainerModelId in interface JournalFolderModelcontainerModelId - the container model ID of this journal folderpublic long getParentContainerModelId()
JournalFolderModel
getParentContainerModelId in interface ContainerModelgetParentContainerModelId in interface JournalFolderModelpublic void setParentContainerModelId(long parentContainerModelId)
JournalFolderModel
setParentContainerModelId in interface ContainerModelsetParentContainerModelId in interface JournalFolderModelparentContainerModelId - the parent container model ID of this journal folderpublic String getContainerModelName()
JournalFolderModel
getContainerModelName in interface ContainerModelgetContainerModelName in interface JournalFolderModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel
public TrashEntry getTrashEntry()
throws PortalException,
SystemException
JournalFolderModel
getTrashEntry in interface TrashedModelgetTrashEntry in interface JournalFolderModelSystemException - if a system exception occurred
PortalExceptionpublic long getTrashEntryClassPK()
JournalFolderModel
getTrashEntryClassPK in interface TrashedModelgetTrashEntryClassPK in interface JournalFolderModelpublic TrashHandler getTrashHandler()
JournalFolderModel
getTrashHandler in interface TrashedModelgetTrashHandler in interface JournalFolderModelpublic boolean isInTrash()
JournalFolderModeltrue if this journal folder is in the Recycle Bin.
isInTrash in interface TrashedModelisInTrash in interface JournalFolderModeltrue if this journal folder is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
JournalFolderModeltrue if the parent of this journal folder is in the Recycle Bin.
isInTrashContainer in interface TrashedModelisInTrashContainer in interface JournalFolderModeltrue if the parent of this journal folder is in the Recycle Bin; false otherwisepublic boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface JournalFolderModelpublic boolean isApproved()
JournalFolderModeltrue if this journal folder is approved.
isApproved in interface WorkflowedModelisApproved in interface JournalFolderModeltrue if this journal folder is approved; false otherwisepublic boolean isDenied()
JournalFolderModeltrue if this journal folder is denied.
isDenied in interface WorkflowedModelisDenied in interface JournalFolderModeltrue if this journal folder is denied; false otherwisepublic boolean isDraft()
JournalFolderModeltrue if this journal folder is a draft.
isDraft in interface WorkflowedModelisDraft in interface JournalFolderModeltrue if this journal folder is a draft; false otherwisepublic boolean isExpired()
JournalFolderModeltrue if this journal folder is expired.
isExpired in interface WorkflowedModelisExpired in interface JournalFolderModeltrue if this journal folder is expired; false otherwisepublic boolean isInactive()
JournalFolderModeltrue if this journal folder is inactive.
isInactive in interface WorkflowedModelisInactive in interface JournalFolderModeltrue if this journal folder is inactive; false otherwisepublic boolean isIncomplete()
JournalFolderModeltrue if this journal folder is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface JournalFolderModeltrue if this journal folder is incomplete; false otherwisepublic boolean isPending()
JournalFolderModeltrue if this journal folder is pending.
isPending in interface WorkflowedModelisPending in interface JournalFolderModeltrue if this journal folder is pending; false otherwisepublic boolean isScheduled()
JournalFolderModeltrue if this journal folder is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface JournalFolderModeltrue if this journal folder is scheduled; false otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalFolder>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalFolderModelgetExpandoBridge in class BaseModelImpl<JournalFolder>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalFolder>setExpandoBridgeAttributes in interface JournalFolderModelsetExpandoBridgeAttributes in class BaseModelImpl<JournalFolder>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public JournalFolder toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalFolder>toEscapedModel in interface JournalFolderModeltoEscapedModel in class BaseModelImpl<JournalFolder>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<JournalFolder>clone in interface StagedModelclone in interface JournalFolderModelclone in class BaseModelImpl<JournalFolder>public int compareTo(JournalFolder journalFolder)
compareTo in interface JournalFolderModelcompareTo in interface Comparable<JournalFolder>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface JournalFolderModelhashCode in class Objectpublic 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 JournalFolderModeltoCacheModel in class BaseModelImpl<JournalFolder>public String toString()
toString in interface JournalFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalFolder>toXmlString in interface JournalFolderModel
|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||