@ProviderType public interface DLFileShortcutModel extends BaseModel<DLFileShortcut>, ShardedModel, StagedGroupedModel, TrashedModel, WorkflowedModel
This interface and its corresponding implementation com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutImpl.
DLFileShortcut,
com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutImpl,
com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileShortcut dlFileShortcut) |
boolean |
getActive()
Returns the active of this document library file shortcut.
|
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.
|
Date |
getLastPublishDate()
Returns the last publish date of this document library file shortcut.
|
Date |
getModifiedDate()
Returns the modified date of this document library file shortcut.
|
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.
|
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 |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
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 |
isEscapedModel()
Returns
true if this model instance is escaped. |
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 |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
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 |
setActive(boolean active)
Sets whether this document library file shortcut is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this document library file shortcut.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library file shortcut.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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. |
String |
toString() |
DLFileShortcut |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamegetStagedModelTypelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this document library file shortcut@AutoEscape String getUuid()
getUuid in interface StagedModelvoid setUuid(String uuid)
setUuid in interface StagedModeluuid - the uuid of this document library file shortcutlong getFileShortcutId()
void setFileShortcutId(long fileShortcutId)
fileShortcutId - the file shortcut ID of this document library file shortcutlong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this document library file shortcutlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this document library file shortcutlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this document library file shortcutString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this document library file shortcut@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this document library file shortcutDate getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this document library file shortcutDate getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this document library file shortcutlong getRepositoryId()
void setRepositoryId(long repositoryId)
repositoryId - the repository ID of this document library file shortcutlong getFolderId()
void setFolderId(long folderId)
folderId - the folder ID of this document library file shortcutlong getToFileEntryId()
void setToFileEntryId(long toFileEntryId)
toFileEntryId - the to file entry ID of this document library file shortcut@AutoEscape String getTreePath()
void setTreePath(String treePath)
treePath - the tree path of this document library file shortcutboolean getActive()
boolean isActive()
true if this document library file shortcut is active.true if this document library file shortcut is active; false otherwisevoid setActive(boolean active)
active - the active of this document library file shortcutDate getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelvoid setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this document library file shortcutint getStatus()
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this document library file shortcutlong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this document library file shortcutString getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this document library file shortcut@AutoEscape String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this document library file shortcutDate getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this document library file shortcutTrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface TrashedModelPortalExceptionlong getTrashEntryClassPK()
getTrashEntryClassPK in interface TrashedModelTrashHandler getTrashHandler()
getTrashHandler in interface TrashedModelboolean isInTrash()
true if this document library file shortcut is in the Recycle Bin.isInTrash in interface TrashedModeltrue if this document library file shortcut is in the Recycle Bin; false otherwiseboolean isInTrashContainer()
true if the parent of this document library file shortcut is in the Recycle Bin.isInTrashContainer in interface TrashedModeltrue if the parent of this document library file shortcut is in the Recycle Bin; false otherwiseboolean isInTrashExplicitly()
isInTrashExplicitly in interface TrashedModelboolean isInTrashImplicitly()
isInTrashImplicitly in interface TrashedModelboolean isApproved()
true if this document library file shortcut is approved.isApproved in interface WorkflowedModeltrue if this document library file shortcut is approved; false otherwiseboolean isDenied()
true if this document library file shortcut is denied.isDenied in interface WorkflowedModeltrue if this document library file shortcut is denied; false otherwiseboolean isDraft()
true if this document library file shortcut is a draft.isDraft in interface WorkflowedModeltrue if this document library file shortcut is a draft; false otherwiseboolean isExpired()
true if this document library file shortcut is expired.isExpired in interface WorkflowedModeltrue if this document library file shortcut is expired; false otherwiseboolean isInactive()
true if this document library file shortcut is inactive.isInactive in interface WorkflowedModeltrue if this document library file shortcut is inactive; false otherwiseboolean isIncomplete()
true if this document library file shortcut is incomplete.isIncomplete in interface WorkflowedModeltrue if this document library file shortcut is incomplete; false otherwiseboolean isPending()
true if this document library file shortcut is pending.isPending in interface WorkflowedModeltrue if this document library file shortcut is pending; false otherwiseboolean isScheduled()
true if this document library file shortcut is scheduled.isScheduled in interface WorkflowedModeltrue if this document library file shortcut is scheduled; false otherwiseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<DLFileShortcut>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<DLFileShortcut>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<DLFileShortcut>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<DLFileShortcut>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DLFileShortcut>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLFileShortcut>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLFileShortcut>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLFileShortcut>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLFileShortcut>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLFileShortcut>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLFileShortcut>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<DLFileShortcut>clone in interface StagedModelint compareTo(DLFileShortcut dlFileShortcut)
compareTo in interface Comparable<DLFileShortcut>CacheModel<DLFileShortcut> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLFileShortcut>DLFileShortcut toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLFileShortcut>AutoEscapeBeanHandlerDLFileShortcut toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileShortcut>String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLFileShortcut>