Liferay 6.0.5

com.liferay.portlet.documentlibrary.model
Class DLFileShortcutWrapper

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

public class DLFileShortcutWrapper
extends Object
implements 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 is generated.

Constructor Summary
DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileShortcut dlFileShortcut)
           
 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()
          Gets 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.
 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()
          Gets 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.
 long getToFolderId()
          Gets the to folder id of this d l file shortcut.
 String getToName()
          Gets the to name of this d l file shortcut.
 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 whether this d l file shortcut is approved.
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
          Determines whether this d l file shortcut is a draft.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isExpired()
          Determines whether this d l file shortcut is expired.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
          Determines whether this d l file shortcut is pending.
 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 pk)
          Sets the primary key of this d l file shortcut
 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 setToFolderId(long toFolderId)
          Sets the to folder id of this d l file shortcut.
 void setToName(String toName)
          Sets the to name 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.
 DLFileShortcut toEscapedModel()
          Gets a copy of this d l file shortcut as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DLFileShortcutWrapper

public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DLFileShortcutModel
Gets the primary key of this d l file shortcut.

Specified by:
getPrimaryKey in interface DLFileShortcutModel
Returns:
the primary key of this d l file shortcut

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: DLFileShortcutModel
Sets the primary key of this d l file shortcut

Specified by:
setPrimaryKey in interface DLFileShortcutModel
Parameters:
pk - the primary key of this d l file shortcut

getUuid

public String getUuid()
Description copied from interface: DLFileShortcutModel
Gets the uuid of this d l file shortcut.

Specified by:
getUuid in interface DLFileShortcutModel
Returns:
the uuid of this d l file shortcut

setUuid

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

Specified by:
setUuid in interface DLFileShortcutModel
Parameters:
uuid - the uuid of this d l file shortcut

getFileShortcutId

public long getFileShortcutId()
Description copied from interface: DLFileShortcutModel
Gets the file shortcut id of this d l file shortcut.

Specified by:
getFileShortcutId in interface DLFileShortcutModel
Returns:
the file shortcut id of this d l file shortcut

setFileShortcutId

public void setFileShortcutId(long fileShortcutId)
Description copied from interface: DLFileShortcutModel
Sets the file shortcut id of this d l file shortcut.

Specified by:
setFileShortcutId in interface DLFileShortcutModel
Parameters:
fileShortcutId - the file shortcut id of this d l file shortcut

getGroupId

public long getGroupId()
Description copied from interface: DLFileShortcutModel
Gets the group id of this d l file shortcut.

Specified by:
getGroupId in interface DLFileShortcutModel
Returns:
the group id of this d l file shortcut

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileShortcutModel
Sets the group id of this d l file shortcut.

Specified by:
setGroupId in interface DLFileShortcutModel
Parameters:
groupId - the group id of this d l file shortcut

getCompanyId

public long getCompanyId()
Description copied from interface: DLFileShortcutModel
Gets the company id of this d l file shortcut.

Specified by:
getCompanyId in interface DLFileShortcutModel
Returns:
the company id of this d l file shortcut

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileShortcutModel
Sets the company id of this d l file shortcut.

Specified by:
setCompanyId in interface DLFileShortcutModel
Parameters:
companyId - the company id of this d l file shortcut

getUserId

public long getUserId()
Description copied from interface: DLFileShortcutModel
Gets the user id of this d l file shortcut.

Specified by:
getUserId in interface DLFileShortcutModel
Returns:
the user id of this d l file shortcut

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileShortcutModel
Sets the user id of this d l file shortcut.

Specified by:
setUserId in interface DLFileShortcutModel
Parameters:
userId - the user id of this d l file shortcut

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileShortcutModel
Gets the user uuid of this d l file shortcut.

Specified by:
getUserUuid in interface DLFileShortcutModel
Returns:
the user uuid of this d l 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 d l file shortcut.

Specified by:
setUserUuid in interface DLFileShortcutModel
Parameters:
userUuid - the user uuid of this d l file shortcut

getUserName

public String getUserName()
Description copied from interface: DLFileShortcutModel
Gets the user name of this d l file shortcut.

Specified by:
getUserName in interface DLFileShortcutModel
Returns:
the user name of this d l file shortcut

setUserName

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

Specified by:
setUserName in interface DLFileShortcutModel
Parameters:
userName - the user name of this d l file shortcut

getCreateDate

public Date getCreateDate()
Description copied from interface: DLFileShortcutModel
Gets the create date of this d l file shortcut.

Specified by:
getCreateDate in interface DLFileShortcutModel
Returns:
the create date of this d l file shortcut

setCreateDate

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

Specified by:
setCreateDate in interface DLFileShortcutModel
Parameters:
createDate - the create date of this d l file shortcut

getModifiedDate

public Date getModifiedDate()
Description copied from interface: DLFileShortcutModel
Gets the modified date of this d l file shortcut.

Specified by:
getModifiedDate in interface DLFileShortcutModel
Returns:
the modified date of this d l file shortcut

setModifiedDate

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

Specified by:
setModifiedDate in interface DLFileShortcutModel
Parameters:
modifiedDate - the modified date of this d l file shortcut

getFolderId

public long getFolderId()
Description copied from interface: DLFileShortcutModel
Gets the folder id of this d l file shortcut.

Specified by:
getFolderId in interface DLFileShortcutModel
Returns:
the folder id of this d l file shortcut

setFolderId

public void setFolderId(long folderId)
Description copied from interface: DLFileShortcutModel
Sets the folder id of this d l file shortcut.

Specified by:
setFolderId in interface DLFileShortcutModel
Parameters:
folderId - the folder id of this d l file shortcut

getToFolderId

public long getToFolderId()
Description copied from interface: DLFileShortcutModel
Gets the to folder id of this d l file shortcut.

Specified by:
getToFolderId in interface DLFileShortcutModel
Returns:
the to folder id of this d l file shortcut

setToFolderId

public void setToFolderId(long toFolderId)
Description copied from interface: DLFileShortcutModel
Sets the to folder id of this d l file shortcut.

Specified by:
setToFolderId in interface DLFileShortcutModel
Parameters:
toFolderId - the to folder id of this d l file shortcut

getToName

public String getToName()
Description copied from interface: DLFileShortcutModel
Gets the to name of this d l file shortcut.

Specified by:
getToName in interface DLFileShortcutModel
Returns:
the to name of this d l file shortcut

setToName

public void setToName(String toName)
Description copied from interface: DLFileShortcutModel
Sets the to name of this d l file shortcut.

Specified by:
setToName in interface DLFileShortcutModel
Parameters:
toName - the to name of this d l file shortcut

getStatus

public int getStatus()
Description copied from interface: DLFileShortcutModel
Gets the status of this d l file shortcut.

Specified by:
getStatus in interface DLFileShortcutModel
Returns:
the status of this d l file shortcut

setStatus

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

Specified by:
setStatus in interface DLFileShortcutModel
Parameters:
status - the status of this d l file shortcut

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: DLFileShortcutModel
Gets the status by user id of this d l file shortcut.

Specified by:
getStatusByUserId in interface DLFileShortcutModel
Returns:
the status by user id of this d l file shortcut

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: DLFileShortcutModel
Sets the status by user id of this d l file shortcut.

Specified by:
setStatusByUserId in interface DLFileShortcutModel
Parameters:
statusByUserId - the status by user id of this d l file shortcut

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: DLFileShortcutModel
Gets the status by user uuid of this d l file shortcut.

Specified by:
getStatusByUserUuid in interface DLFileShortcutModel
Returns:
the status by user uuid of this d l 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 d l file shortcut.

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

getStatusByUserName

public String getStatusByUserName()
Description copied from interface: DLFileShortcutModel
Gets the status by user name of this d l file shortcut.

Specified by:
getStatusByUserName in interface DLFileShortcutModel
Returns:
the status by user name of this d l file shortcut

setStatusByUserName

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

Specified by:
setStatusByUserName in interface DLFileShortcutModel
Parameters:
statusByUserName - the status by user name of this d l file shortcut

getStatusDate

public Date getStatusDate()
Description copied from interface: DLFileShortcutModel
Gets the status date of this d l file shortcut.

Specified by:
getStatusDate in interface DLFileShortcutModel
Returns:
the status date of this d l file shortcut

setStatusDate

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

Specified by:
setStatusDate in interface DLFileShortcutModel
Parameters:
statusDate - the status date of this d l file shortcut

isApproved

public boolean isApproved()
Description copied from interface: DLFileShortcutModel
Determines whether this d l file shortcut is approved.

Specified by:
isApproved in interface DLFileShortcutModel
Returns:
true if this d l file shortcut is approved; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: DLFileShortcutModel
Determines whether this d l file shortcut is a draft.

Specified by:
isDraft in interface DLFileShortcutModel
Returns:
true if this d l file shortcut is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: DLFileShortcutModel
Determines whether this d l file shortcut is expired.

Specified by:
isExpired in interface DLFileShortcutModel
Returns:
true if this d l file shortcut is expired; false otherwise

isPending

public boolean isPending()
Description copied from interface: DLFileShortcutModel
Determines whether this d l file shortcut is pending.

Specified by:
isPending in interface DLFileShortcutModel
Returns:
true if this d l file shortcut is pending; false otherwise

toEscapedModel

public DLFileShortcut toEscapedModel()
Description copied from interface: DLFileShortcutModel
Gets a copy of this d l file shortcut as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface DLFileShortcutModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines 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
Determines 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
Determines 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
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<DLFileShortcut>
Specified by:
setEscapedModel in interface DLFileShortcutModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<DLFileShortcut>
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 to retrieve the expando bridge attributes from
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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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

getFolder

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

getToTitle

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

getWrappedDLFileShortcut

public DLFileShortcut getWrappedDLFileShortcut()

Liferay 6.0.5