Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.model
Class DLFileShortcutWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.model.DLFileShortcutWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<DLFileShortcut>, ClassedModel, GroupedModel, ModelWrapper<DLFileShortcut>, PersistedModel, WorkflowedModel, DLFileShortcut, DLFileShortcutModel, Serializable, Cloneable, Comparable<DLFileShortcut>

public class DLFileShortcutWrapper
extends Object
implements DLFileShortcut, ModelWrapper<DLFileShortcut>

This class is a wrapper for DLFileShortcut.

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

Constructor Summary
DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileShortcut dlFileShortcut)
           
 boolean equals(Object obj)
           
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 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.
 Folder getFolder()
           
 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.
 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.
 String getToTitle()
           
 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.
 DLFileShortcut getWrappedDLFileShortcut()
          Deprecated. Renamed to getWrappedModel()
 DLFileShortcut getWrappedModel()
           
 int hashCode()
           
 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 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 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 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 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 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DLFileShortcutWrapper

public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
Method Detail

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>

setModelAttributes

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

getPrimaryKey

public long getPrimaryKey()
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)
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

getUuid

public String getUuid()
Returns the uuid of this document library file shortcut.

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

setUuid

public void setUuid(String uuid)
Sets the uuid of this document library file shortcut.

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

getFileShortcutId

public long getFileShortcutId()
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)
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

public long getGroupId()
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)
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

getCompanyId

public long getCompanyId()
Returns the company ID of this document library file shortcut.

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

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this document library file shortcut.

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

getUserId

public long getUserId()
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)
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
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)
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

public String getUserName()
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)
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

public Date getCreateDate()
Returns the create date of this document library file shortcut.

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

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this document library file shortcut.

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

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this document library file shortcut.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this document library file shortcut.

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

getRepositoryId

public long getRepositoryId()
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)
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

public long getFolderId()
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)
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

getToFileEntryId

public long getToFileEntryId()
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)
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

getStatus

public int getStatus()
Returns the status of this document library file shortcut.

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)
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

getStatusByUserId

public long getStatusByUserId()
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)
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
Returns the status by user uuid of this document library file shortcut.

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)
Sets the status by user uuid of this document library file shortcut.

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

getStatusByUserName

public String getStatusByUserName()
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)
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

public Date getStatusDate()
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)
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

getApproved

public boolean getApproved()
Deprecated. Renamed to isApproved()

Specified by:
getApproved in interface DLFileShortcutModel

isApproved

public boolean isApproved()
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()
Returns true if this document library file shortcut is denied.

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

isDraft

public boolean isDraft()
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()
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()
Returns true if this document library file shortcut is inactive.

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

isIncomplete

public boolean isIncomplete()
Returns true if this document library file shortcut is incomplete.

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

isPending

public boolean isPending()
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()
Returns true if this document library file shortcut is scheduled.

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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DLFileShortcut>
Specified by:
isNew in interface DLFileShortcutModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DLFileShortcut>
Specified by:
setNew in interface DLFileShortcutModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DLFileShortcut>
Specified by:
isCachedModel in interface DLFileShortcutModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DLFileShortcut>
Specified by:
setCachedModel in interface DLFileShortcutModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DLFileShortcut>
Specified by:
isEscapedModel in interface DLFileShortcutModel
Returns:
true if this model instance is escaped; false otherwise

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

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
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
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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 DLFileShortcutModel
Overrides:
clone in class Object
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>

hashCode

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

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
Returns:
the cache model object

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
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLFileShortcut toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLFileShortcut>
Specified by:
toUnescapedModel in interface DLFileShortcutModel

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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getFolder

public Folder getFolder()
Specified by:
getFolder in interface DLFileShortcut

getToTitle

public String getToTitle()
Specified by:
getToTitle in interface DLFileShortcut

equals

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

getWrappedDLFileShortcut

public DLFileShortcut getWrappedDLFileShortcut()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public DLFileShortcut getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<DLFileShortcut>

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<DLFileShortcut>

Liferay 6.1.2-ce-ga3