|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileShortcutWrapper
public class DLFileShortcutWrapper
This class is a wrapper for DLFileShortcut.
DLFileShortcut,
Serialized Form| Constructor Summary | |
|---|---|
DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileShortcut dlFileShortcut)
|
boolean |
getApproved()
Deprecated. isApproved() |
long |
getCompanyId()
Gets the company ID of this d l file shortcut. |
Date |
getCreateDate()
Gets the create date of this d l file shortcut. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFileShortcutId()
Gets the file shortcut ID of this d l file shortcut. |
DLFolder |
getFolder()
|
long |
getFolderId()
Gets the folder ID of this d l file shortcut. |
long |
getGroupId()
Gets the group ID of this d l file shortcut. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this d l file shortcut. |
long |
getPrimaryKey()
Gets the primary key of this d l file shortcut. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getStatus()
Gets the status of this d l file shortcut. |
long |
getStatusByUserId()
Gets the status by user ID of this d l file shortcut. |
String |
getStatusByUserName()
Gets the status by user name of this d l file shortcut. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this d l file shortcut. |
Date |
getStatusDate()
Gets the status date of this d l file shortcut. |
DLFileEntry |
getToFileEntry()
|
long |
getToFileEntryId()
Gets the to file entry ID of this d l file shortcut. |
long |
getToFolderId()
Deprecated. getToFileEntry() |
long |
getToGroupId()
Deprecated. getToFileEntry() |
String |
getToName()
Deprecated. getToFileEntry() |
String |
getToTitle()
|
long |
getUserId()
Gets the user ID of this d l file shortcut. |
String |
getUserName()
Gets the user name of this d l file shortcut. |
String |
getUserUuid()
Gets the user uuid of this d l file shortcut. |
String |
getUuid()
Gets the uuid of this d l file shortcut. |
DLFileShortcut |
getWrappedDLFileShortcut()
|
int |
hashCode()
|
boolean |
isApproved()
Determines if this d l file shortcut is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDraft()
Determines if this d l file shortcut is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Determines if this d l file shortcut is expired. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Determines if this d l file shortcut is pending. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 d l file shortcut. |
void |
setCreateDate(Date createDate)
Sets the create date of this d l file shortcut. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 d l file shortcut. |
void |
setFolderId(long folderId)
Sets the folder ID of this d l file shortcut. |
void |
setGroupId(long groupId)
Sets the group ID of this d l file shortcut. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d l 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 d l file shortcut |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatus(int status)
Sets the status of this d l file shortcut. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this d l file shortcut. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this d l file shortcut. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this d l file shortcut. |
void |
setStatusDate(Date statusDate)
Sets the status date of this d l file shortcut. |
void |
setToFileEntryId(long toFileEntryId)
Sets the to file entry ID of this d l file shortcut. |
void |
setUserId(long userId)
Sets the user ID of this d l file shortcut. |
void |
setUserName(String userName)
Sets the user name of this d l file shortcut. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d l file shortcut. |
void |
setUuid(String uuid)
Sets the uuid of this d l 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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileShortcutModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileShortcutModelprimaryKey - the primary key of this d l file shortcutpublic String getUuid()
getUuid in interface DLFileShortcutModelpublic void setUuid(String uuid)
setUuid in interface DLFileShortcutModeluuid - the uuid of this d l file shortcutpublic long getFileShortcutId()
getFileShortcutId in interface DLFileShortcutModelpublic void setFileShortcutId(long fileShortcutId)
setFileShortcutId in interface DLFileShortcutModelfileShortcutId - the file shortcut ID of this d l file shortcutpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DLFileShortcutModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DLFileShortcutModelgroupId - the group ID of this d l file shortcutpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface DLFileShortcutModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface DLFileShortcutModelcompanyId - the company ID of this d l file shortcutpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DLFileShortcutModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DLFileShortcutModeluserId - the user ID of this d l file shortcut
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface DLFileShortcutModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DLFileShortcutModeluserUuid - the user uuid of this d l file shortcutpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DLFileShortcutModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DLFileShortcutModeluserName - the user name of this d l file shortcutpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface DLFileShortcutModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface DLFileShortcutModelcreateDate - the create date of this d l file shortcutpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface DLFileShortcutModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface DLFileShortcutModelmodifiedDate - the modified date of this d l file shortcutpublic long getFolderId()
getFolderId in interface DLFileShortcutModelpublic void setFolderId(long folderId)
setFolderId in interface DLFileShortcutModelfolderId - the folder ID of this d l file shortcutpublic long getToFileEntryId()
getToFileEntryId in interface DLFileShortcutModelpublic void setToFileEntryId(long toFileEntryId)
setToFileEntryId in interface DLFileShortcutModeltoFileEntryId - the to file entry ID of this d l file shortcutpublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface DLFileShortcutModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface DLFileShortcutModelstatus - the status of this d l file shortcutpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface DLFileShortcutModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface DLFileShortcutModelstatusByUserId - the status by user ID of this d l file shortcut
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface DLFileShortcutModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface DLFileShortcutModelstatusByUserUuid - the status by user uuid of this d l file shortcutpublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface DLFileShortcutModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface DLFileShortcutModelstatusByUserName - the status by user name of this d l file shortcutpublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface DLFileShortcutModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface DLFileShortcutModelstatusDate - the status date of this d l file shortcutpublic boolean getApproved()
isApproved()
getApproved in interface DLFileShortcutModelpublic boolean isApproved()
isApproved in interface WorkflowedModelisApproved in interface DLFileShortcutModeltrue if this d l file shortcut is approved; false otherwisepublic boolean isDraft()
isDraft in interface WorkflowedModelisDraft in interface DLFileShortcutModeltrue if this d l file shortcut is a draft; false otherwisepublic boolean isExpired()
isExpired in interface WorkflowedModelisExpired in interface DLFileShortcutModeltrue if this d l file shortcut is expired; false otherwisepublic boolean isPending()
isPending in interface WorkflowedModelisPending in interface DLFileShortcutModeltrue if this d l file shortcut is pending; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DLFileShortcut>isNew in interface DLFileShortcutModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DLFileShortcut>setNew in interface DLFileShortcutModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DLFileShortcut>isCachedModel in interface DLFileShortcutModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLFileShortcut>setCachedModel in interface DLFileShortcutModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DLFileShortcut>isEscapedModel in interface DLFileShortcutModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<DLFileShortcut>setEscapedModel in interface DLFileShortcutModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileShortcut>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileShortcutModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileShortcut>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileShortcutModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileShortcut>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileShortcutModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileShortcut>setExpandoBridgeAttributes in interface DLFileShortcutModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFileShortcut>clone in interface DLFileShortcutModelclone in class Objectpublic int compareTo(DLFileShortcut dlFileShortcut)
compareTo in interface DLFileShortcutModelcompareTo in interface Comparable<DLFileShortcut>public int hashCode()
hashCode in interface DLFileShortcutModelhashCode in class Objectpublic CacheModel<DLFileShortcut> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileShortcut>toCacheModel in interface DLFileShortcutModelpublic DLFileShortcut toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileShortcut>toEscapedModel in interface DLFileShortcutModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLFileShortcutModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileShortcut>toXmlString in interface DLFileShortcutModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic DLFolder getFolder()
getFolder in interface DLFileShortcut
public DLFileEntry getToFileEntry()
throws PortalException,
SystemException
getToFileEntry in interface DLFileShortcutPortalException
SystemException
public long getToFolderId()
throws PortalException,
SystemException
getToFileEntry()
getToFolderId in interface DLFileShortcutPortalException
SystemException
public long getToGroupId()
throws PortalException,
SystemException
getToFileEntry()
getToGroupId in interface DLFileShortcutPortalException
SystemException
public String getToName()
throws PortalException,
SystemException
getToFileEntry()
getToName in interface DLFileShortcutPortalException
SystemExceptionpublic String getToTitle()
getToTitle in interface DLFileShortcutpublic DLFileShortcut getWrappedDLFileShortcut()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileShortcut>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||