Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.model.impl
Class DLFileShortcutModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileShortcut>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DLFileShortcut>, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, DLFileShortcutModel, Serializable, Cloneable, Comparable<DLFileShortcut>
Direct Known Subclasses:
DLFileShortcutBaseImpl

@JSON(strict=true)
public class DLFileShortcutModelImpl
extends BaseModelImpl<DLFileShortcut>
implements DLFileShortcutModel

The base model implementation for the DLFileShortcut service. Represents a row in the "DLFileShortcut" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface DLFileShortcutModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileShortcutImpl.

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

Field Summary
static long ACTIVE_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static long FILESHORTCUTID_COLUMN_BITMASK
           
static boolean FINDER_CACHE_ENABLED
           
static long FOLDERID_COLUMN_BITMASK
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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 long TOFILEENTRYID_COLUMN_BITMASK
           
static String TX_MANAGER
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
DLFileShortcutModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileShortcut dlFileShortcut)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this document library file shortcut.
 boolean getApproved()
          Deprecated. As of 6.1.0, replaced by isApproved()
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this document library file shortcut.
 Date getCreateDate()
          Returns the create date of this document library file shortcut.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFileShortcutId()
          Returns the file shortcut ID of this document library file shortcut.
 long getFolderId()
          Returns the folder ID of this document library file shortcut.
 long getGroupId()
          Returns the group ID of this document library file shortcut.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this document library file shortcut.
 boolean getOriginalActive()
           
 long getOriginalCompanyId()
           
 long getOriginalFolderId()
           
 long getOriginalGroupId()
           
 int getOriginalStatus()
           
 long getOriginalToFileEntryId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this document library file shortcut.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRepositoryId()
          Returns the repository ID of this document library file shortcut.
 StagedModelType getStagedModelType()
           
 int getStatus()
          Returns the status of this document library file shortcut.
 long getStatusByUserId()
          Returns the status by user ID of this document library file shortcut.
 String getStatusByUserName()
          Returns the status by user name of this document library file shortcut.
 String getStatusByUserUuid()
          Returns the status by user uuid of this document library file shortcut.
 Date getStatusDate()
          Returns the status date of this document library file shortcut.
 long getToFileEntryId()
          Returns the to file entry ID of this document library file shortcut.
 TrashEntry getTrashEntry()
          Returns the trash entry created when this document library file shortcut was moved to the Recycle Bin.
 long getTrashEntryClassPK()
          Returns the class primary key of the trash entry for this document library file shortcut.
 TrashHandler getTrashHandler()
          Returns the trash handler for this document library file shortcut.
 String getTreePath()
          Returns the tree path of this document library file shortcut.
 long getUserId()
          Returns the user ID of this document library file shortcut.
 String getUserName()
          Returns the user name of this document library file shortcut.
 String getUserUuid()
          Returns the user uuid of this document library file shortcut.
 String getUuid()
          Returns the uuid of this document library file shortcut.
 int hashCode()
           
 boolean isActive()
          Returns true if this document library file shortcut is active.
 boolean isApproved()
          Returns true if this document library file shortcut is approved.
 boolean isDenied()
          Returns true if this document library file shortcut is denied.
 boolean isDraft()
          Returns true if this document library file shortcut is a draft.
 boolean isExpired()
          Returns true if this document library file shortcut is expired.
 boolean isInactive()
          Returns true if this document library file shortcut is inactive.
 boolean isIncomplete()
          Returns true if this document library file shortcut is incomplete.
 boolean isInTrash()
          Returns true if this document library file shortcut is in the Recycle Bin.
 boolean isInTrashContainer()
          Returns true if the parent of this document library file shortcut is in the Recycle Bin.
 boolean isPending()
          Returns true if this document library file shortcut is pending.
 boolean isScheduled()
          Returns true if this document library file shortcut is scheduled.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActive(boolean active)
          Sets whether this document library file shortcut is active.
 void setCompanyId(long companyId)
          Sets the company ID of this document library file shortcut.
 void setCreateDate(Date createDate)
          Sets the create date of this document library file shortcut.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFileShortcutId(long fileShortcutId)
          Sets the file shortcut ID of this document library file shortcut.
 void setFolderId(long folderId)
          Sets the folder ID of this document library file shortcut.
 void setGroupId(long groupId)
          Sets the group ID of this document library file shortcut.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this document library file shortcut.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this document library file shortcut.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRepositoryId(long repositoryId)
          Sets the repository ID of this document library file shortcut.
 void setStatus(int status)
          Sets the status of this document library file shortcut.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user ID of this document library file shortcut.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this document library file shortcut.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this document library file shortcut.
 void setStatusDate(Date statusDate)
          Sets the status date of this document library file shortcut.
 void setToFileEntryId(long toFileEntryId)
          Sets the to file entry ID of this document library file shortcut.
 void setTreePath(String treePath)
          Sets the tree path of this document library file shortcut.
 void setUserId(long userId)
          Sets the user ID of this document library file shortcut.
 void setUserName(String userName)
          Sets the user name of this document library file shortcut.
 void setUserUuid(String userUuid)
          Sets the user uuid of this document library file shortcut.
 void setUuid(String uuid)
          Sets the uuid of this document library file shortcut.
 CacheModel<DLFileShortcut> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLFileShortcut toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLFileShortcut toModel(DLFileShortcutSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileShortcut> toModels(DLFileShortcutSoap[] 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.documentlibrary.model.DLFileShortcutModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ACTIVE_COLUMN_BITMASK

public static long ACTIVE_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

FOLDERID_COLUMN_BITMASK

public static long FOLDERID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

TOFILEENTRYID_COLUMN_BITMASK

public static long TOFILEENTRYID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

FILESHORTCUTID_COLUMN_BITMASK

public static long FILESHORTCUTID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileShortcutModelImpl

public DLFileShortcutModelImpl()
Method Detail

toModel

public static DLFileShortcut toModel(DLFileShortcutSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<DLFileShortcut> toModels(DLFileShortcutSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DLFileShortcutModel
Returns the primary key of this document library file shortcut.

Specified by:
getPrimaryKey in interface DLFileShortcutModel
Returns:
the primary key of this document library file shortcut

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DLFileShortcutModel
Sets the primary key of this document library file shortcut.

Specified by:
setPrimaryKey in interface DLFileShortcutModel
Parameters:
primaryKey - the primary key of this document library file shortcut

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileShortcut>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLFileShortcutModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DLFileShortcut>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLFileShortcutModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DLFileShortcut>
Overrides:
getModelAttributes in class BaseModelImpl<DLFileShortcut>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DLFileShortcut>
Overrides:
setModelAttributes in class BaseModelImpl<DLFileShortcut>

getUuid

@JSON
public String getUuid()
Description copied from interface: DLFileShortcutModel
Returns the uuid of this document library file shortcut.

Specified by:
getUuid in interface StagedModel
Specified by:
getUuid in interface DLFileShortcutModel
Returns:
the uuid of this document library file shortcut

setUuid

public void setUuid(String uuid)
Description copied from interface: DLFileShortcutModel
Sets the uuid of this document library file shortcut.

Specified by:
setUuid in interface StagedModel
Specified by:
setUuid in interface DLFileShortcutModel
Parameters:
uuid - the uuid of this document library file shortcut

getOriginalUuid

public String getOriginalUuid()

getFileShortcutId

@JSON
public long getFileShortcutId()
Description copied from interface: DLFileShortcutModel
Returns the file shortcut ID of this document library file shortcut.

Specified by:
getFileShortcutId in interface DLFileShortcutModel
Returns:
the file shortcut ID of this document library file shortcut

setFileShortcutId

public void setFileShortcutId(long fileShortcutId)
Description copied from interface: DLFileShortcutModel
Sets the file shortcut ID of this document library file shortcut.

Specified by:
setFileShortcutId in interface DLFileShortcutModel
Parameters:
fileShortcutId - the file shortcut ID of this document library file shortcut

getGroupId

@JSON
public long getGroupId()
Description copied from interface: DLFileShortcutModel
Returns the group ID of this document library file shortcut.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface DLFileShortcutModel
Returns:
the group ID of this document library file shortcut

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileShortcutModel
Sets the group ID of this document library file shortcut.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface DLFileShortcutModel
Parameters:
groupId - the group ID of this document library file shortcut

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: DLFileShortcutModel
Returns the company ID of this document library file shortcut.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel
Specified by:
getCompanyId in interface DLFileShortcutModel
Returns:
the company ID of this document library file shortcut

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileShortcutModel
Sets the company ID of this document library file shortcut.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface StagedModel
Specified by:
setCompanyId in interface DLFileShortcutModel
Parameters:
companyId - the company ID of this document library file shortcut

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: DLFileShortcutModel
Returns the user ID of this document library file shortcut.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface DLFileShortcutModel
Returns:
the user ID of this document library file shortcut

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileShortcutModel
Sets the user ID of this document library file shortcut.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface DLFileShortcutModel
Parameters:
userId - the user ID of this document library file shortcut

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileShortcutModel
Returns the user uuid of this document library file shortcut.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface DLFileShortcutModel
Returns:
the user uuid of this document library file shortcut
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DLFileShortcutModel
Sets the user uuid of this document library file shortcut.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface DLFileShortcutModel
Parameters:
userUuid - the user uuid of this document library file shortcut

getUserName

@JSON
public String getUserName()
Description copied from interface: DLFileShortcutModel
Returns the user name of this document library file shortcut.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface DLFileShortcutModel
Returns:
the user name of this document library file shortcut

setUserName

public void setUserName(String userName)
Description copied from interface: DLFileShortcutModel
Sets the user name of this document library file shortcut.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface DLFileShortcutModel
Parameters:
userName - the user name of this document library file shortcut

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: DLFileShortcutModel
Returns the create date of this document library file shortcut.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel
Specified by:
getCreateDate in interface DLFileShortcutModel
Returns:
the create date of this document library file shortcut

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLFileShortcutModel
Sets the create date of this document library file shortcut.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface StagedModel
Specified by:
setCreateDate in interface DLFileShortcutModel
Parameters:
createDate - the create date of this document library file shortcut

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: DLFileShortcutModel
Returns the modified date of this document library file shortcut.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface StagedModel
Specified by:
getModifiedDate in interface DLFileShortcutModel
Returns:
the modified date of this document library file shortcut

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLFileShortcutModel
Sets the modified date of this document library file shortcut.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface StagedModel
Specified by:
setModifiedDate in interface DLFileShortcutModel
Parameters:
modifiedDate - the modified date of this document library file shortcut

getRepositoryId

@JSON
public long getRepositoryId()
Description copied from interface: DLFileShortcutModel
Returns the repository ID of this document library file shortcut.

Specified by:
getRepositoryId in interface DLFileShortcutModel
Returns:
the repository ID of this document library file shortcut

setRepositoryId

public void setRepositoryId(long repositoryId)
Description copied from interface: DLFileShortcutModel
Sets the repository ID of this document library file shortcut.

Specified by:
setRepositoryId in interface DLFileShortcutModel
Parameters:
repositoryId - the repository ID of this document library file shortcut

getFolderId

@JSON
public long getFolderId()
Description copied from interface: DLFileShortcutModel
Returns the folder ID of this document library file shortcut.

Specified by:
getFolderId in interface DLFileShortcutModel
Returns:
the folder ID of this document library file shortcut

setFolderId

public void setFolderId(long folderId)
Description copied from interface: DLFileShortcutModel
Sets the folder ID of this document library file shortcut.

Specified by:
setFolderId in interface DLFileShortcutModel
Parameters:
folderId - the folder ID of this document library file shortcut

getOriginalFolderId

public long getOriginalFolderId()

getToFileEntryId

@JSON
public long getToFileEntryId()
Description copied from interface: DLFileShortcutModel
Returns the to file entry ID of this document library file shortcut.

Specified by:
getToFileEntryId in interface DLFileShortcutModel
Returns:
the to file entry ID of this document library file shortcut

setToFileEntryId

public void setToFileEntryId(long toFileEntryId)
Description copied from interface: DLFileShortcutModel
Sets the to file entry ID of this document library file shortcut.

Specified by:
setToFileEntryId in interface DLFileShortcutModel
Parameters:
toFileEntryId - the to file entry ID of this document library file shortcut

getOriginalToFileEntryId

public long getOriginalToFileEntryId()

getTreePath

@JSON
public String getTreePath()
Description copied from interface: DLFileShortcutModel
Returns the tree path of this document library file shortcut.

Specified by:
getTreePath in interface DLFileShortcutModel
Returns:
the tree path of this document library file shortcut

setTreePath

public void setTreePath(String treePath)
Description copied from interface: DLFileShortcutModel
Sets the tree path of this document library file shortcut.

Specified by:
setTreePath in interface DLFileShortcutModel
Parameters:
treePath - the tree path of this document library file shortcut

getActive

@JSON
public boolean getActive()
Description copied from interface: DLFileShortcutModel
Returns the active of this document library file shortcut.

Specified by:
getActive in interface DLFileShortcutModel
Returns:
the active of this document library file shortcut

isActive

public boolean isActive()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is active.

Specified by:
isActive in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is active; false otherwise

setActive

public void setActive(boolean active)
Description copied from interface: DLFileShortcutModel
Sets whether this document library file shortcut is active.

Specified by:
setActive in interface DLFileShortcutModel
Parameters:
active - the active of this document library file shortcut

getOriginalActive

public boolean getOriginalActive()

getStatus

@JSON
public int getStatus()
Description copied from interface: DLFileShortcutModel
Returns the status of this document library file shortcut.

Specified by:
getStatus in interface TrashedModel
Specified by:
getStatus in interface WorkflowedModel
Specified by:
getStatus in interface DLFileShortcutModel
Returns:
the status of this document library file shortcut

setStatus

public void setStatus(int status)
Description copied from interface: DLFileShortcutModel
Sets the status of this document library file shortcut.

Specified by:
setStatus in interface WorkflowedModel
Specified by:
setStatus in interface DLFileShortcutModel
Parameters:
status - the status of this document library file shortcut

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Description copied from interface: DLFileShortcutModel
Returns the status by user ID of this document library file shortcut.

Specified by:
getStatusByUserId in interface WorkflowedModel
Specified by:
getStatusByUserId in interface DLFileShortcutModel
Returns:
the status by user ID of this document library file shortcut

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: DLFileShortcutModel
Sets the status by user ID of this document library file shortcut.

Specified by:
setStatusByUserId in interface WorkflowedModel
Specified by:
setStatusByUserId in interface DLFileShortcutModel
Parameters:
statusByUserId - the status by user ID of this document library file shortcut

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: DLFileShortcutModel
Returns the status by user uuid of this document library file shortcut.

Specified by:
getStatusByUserUuid in interface WorkflowedModel
Specified by:
getStatusByUserUuid in interface DLFileShortcutModel
Returns:
the status by user uuid of this document library file shortcut
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: DLFileShortcutModel
Sets the status by user uuid of this document library file shortcut.

Specified by:
setStatusByUserUuid in interface WorkflowedModel
Specified by:
setStatusByUserUuid in interface DLFileShortcutModel
Parameters:
statusByUserUuid - the status by user uuid of this document library file shortcut

getStatusByUserName

@JSON
public String getStatusByUserName()
Description copied from interface: DLFileShortcutModel
Returns the status by user name of this document library file shortcut.

Specified by:
getStatusByUserName in interface WorkflowedModel
Specified by:
getStatusByUserName in interface DLFileShortcutModel
Returns:
the status by user name of this document library file shortcut

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: DLFileShortcutModel
Sets the status by user name of this document library file shortcut.

Specified by:
setStatusByUserName in interface WorkflowedModel
Specified by:
setStatusByUserName in interface DLFileShortcutModel
Parameters:
statusByUserName - the status by user name of this document library file shortcut

getStatusDate

@JSON
public Date getStatusDate()
Description copied from interface: DLFileShortcutModel
Returns the status date of this document library file shortcut.

Specified by:
getStatusDate in interface WorkflowedModel
Specified by:
getStatusDate in interface DLFileShortcutModel
Returns:
the status date of this document library file shortcut

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: DLFileShortcutModel
Sets the status date of this document library file shortcut.

Specified by:
setStatusDate in interface WorkflowedModel
Specified by:
setStatusDate in interface DLFileShortcutModel
Parameters:
statusDate - the status date of this document library file shortcut

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getTrashEntry

public TrashEntry getTrashEntry()
                         throws PortalException,
                                SystemException
Description copied from interface: DLFileShortcutModel
Returns the trash entry created when this document library file shortcut was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this document library file shortcut.

Specified by:
getTrashEntry in interface TrashedModel
Specified by:
getTrashEntry in interface DLFileShortcutModel
Returns:
the trash entry created when this document library file shortcut was moved to the Recycle Bin
Throws:
SystemException - if a system exception occurred
PortalException

getTrashEntryClassPK

public long getTrashEntryClassPK()
Description copied from interface: DLFileShortcutModel
Returns the class primary key of the trash entry for this document library file shortcut.

Specified by:
getTrashEntryClassPK in interface TrashedModel
Specified by:
getTrashEntryClassPK in interface DLFileShortcutModel
Returns:
the class primary key of the trash entry for this document library file shortcut

getTrashHandler

public TrashHandler getTrashHandler()
Description copied from interface: DLFileShortcutModel
Returns the trash handler for this document library file shortcut.

Specified by:
getTrashHandler in interface TrashedModel
Specified by:
getTrashHandler in interface DLFileShortcutModel
Returns:
the trash handler for this document library file shortcut

isInTrash

public boolean isInTrash()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is in the Recycle Bin.

Specified by:
isInTrash in interface TrashedModel
Specified by:
isInTrash in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is in the Recycle Bin; false otherwise

isInTrashContainer

public boolean isInTrashContainer()
Description copied from interface: DLFileShortcutModel
Returns true if the parent of this document library file shortcut is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Specified by:
isInTrashContainer in interface DLFileShortcutModel
Returns:
true if the parent of this document library file shortcut is in the Recycle Bin; false otherwise

getApproved

public boolean getApproved()
Deprecated. As of 6.1.0, replaced by isApproved()

Specified by:
getApproved in interface WorkflowedModel
Specified by:
getApproved in interface DLFileShortcutModel

isApproved

public boolean isApproved()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is approved.

Specified by:
isApproved in interface WorkflowedModel
Specified by:
isApproved in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is approved; false otherwise

isDenied

public boolean isDenied()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is denied.

Specified by:
isDenied in interface WorkflowedModel
Specified by:
isDenied in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is denied; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is a draft.

Specified by:
isDraft in interface WorkflowedModel
Specified by:
isDraft in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is expired.

Specified by:
isExpired in interface WorkflowedModel
Specified by:
isExpired in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is expired; false otherwise

isInactive

public boolean isInactive()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is inactive.

Specified by:
isInactive in interface WorkflowedModel
Specified by:
isInactive in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is inactive; false otherwise

isIncomplete

public boolean isIncomplete()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is incomplete.

Specified by:
isIncomplete in interface WorkflowedModel
Specified by:
isIncomplete in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is incomplete; false otherwise

isPending

public boolean isPending()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is pending.

Specified by:
isPending in interface WorkflowedModel
Specified by:
isPending in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is pending; false otherwise

isScheduled

public boolean isScheduled()
Description copied from interface: DLFileShortcutModel
Returns true if this document library file shortcut is scheduled.

Specified by:
isScheduled in interface WorkflowedModel
Specified by:
isScheduled in interface DLFileShortcutModel
Returns:
true if this document library file shortcut is scheduled; false otherwise

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<DLFileShortcut>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileShortcutModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileShortcut>
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<DLFileShortcut>
Specified by:
setExpandoBridgeAttributes in interface DLFileShortcutModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileShortcut>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLFileShortcut toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DLFileShortcut>
Specified by:
toEscapedModel in interface DLFileShortcutModel
Overrides:
toEscapedModel in class BaseModelImpl<DLFileShortcut>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

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

Specified by:
clone in interface BaseModel<DLFileShortcut>
Specified by:
clone in interface StagedModel
Specified by:
clone in interface DLFileShortcutModel
Specified by:
clone in class BaseModelImpl<DLFileShortcut>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileShortcut dlFileShortcut)
Specified by:
compareTo in interface DLFileShortcutModel
Specified by:
compareTo in interface Comparable<DLFileShortcut>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DLFileShortcut>
Overrides:
resetOriginalValues in class BaseModelImpl<DLFileShortcut>

toCacheModel

public CacheModel<DLFileShortcut> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DLFileShortcut>
Specified by:
toCacheModel in interface DLFileShortcutModel
Overrides:
toCacheModel in class BaseModelImpl<DLFileShortcut>
Returns:
the cache model object

toString

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

toXmlString

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

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

Liferay 6.2-ce-ga5