Liferay 6.0.3

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()
           
 Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getFileShortcutId()
           
 DLFolder getFolder()
           
 long getFolderId()
           
 long getGroupId()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 long getToFolderId()
           
 String getToName()
           
 String getToTitle()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 DLFileShortcut getWrappedDLFileShortcut()
           
 int hashCode()
           
 boolean isApproved()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isExpired()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setFolderId(long folderId)
           
 void setGroupId(long groupId)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(String statusByUserName)
           
 void setStatusByUserUuid(String statusByUserUuid)
           
 void setStatusDate(Date statusDate)
           
 void setToFolderId(long toFolderId)
           
 void setToName(String toName)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 DLFileShortcut toEscapedModel()
           
 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()
Specified by:
getPrimaryKey in interface DLFileShortcutModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface DLFileShortcutModel

getUuid

public String getUuid()
Specified by:
getUuid in interface DLFileShortcutModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface DLFileShortcutModel

getFileShortcutId

public long getFileShortcutId()
Specified by:
getFileShortcutId in interface DLFileShortcutModel

setFileShortcutId

public void setFileShortcutId(long fileShortcutId)
Specified by:
setFileShortcutId in interface DLFileShortcutModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface DLFileShortcutModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface DLFileShortcutModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface DLFileShortcutModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface DLFileShortcutModel

getUserId

public long getUserId()
Specified by:
getUserId in interface DLFileShortcutModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface DLFileShortcutModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface DLFileShortcutModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface DLFileShortcutModel

getUserName

public String getUserName()
Specified by:
getUserName in interface DLFileShortcutModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface DLFileShortcutModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface DLFileShortcutModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface DLFileShortcutModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface DLFileShortcutModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface DLFileShortcutModel

getFolderId

public long getFolderId()
Specified by:
getFolderId in interface DLFileShortcutModel

setFolderId

public void setFolderId(long folderId)
Specified by:
setFolderId in interface DLFileShortcutModel

getToFolderId

public long getToFolderId()
Specified by:
getToFolderId in interface DLFileShortcutModel

setToFolderId

public void setToFolderId(long toFolderId)
Specified by:
setToFolderId in interface DLFileShortcutModel

getToName

public String getToName()
Specified by:
getToName in interface DLFileShortcutModel

setToName

public void setToName(String toName)
Specified by:
setToName in interface DLFileShortcutModel

getStatus

public int getStatus()
Specified by:
getStatus in interface DLFileShortcutModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface DLFileShortcutModel

getStatusByUserId

public long getStatusByUserId()
Specified by:
getStatusByUserId in interface DLFileShortcutModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface DLFileShortcutModel

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Specified by:
getStatusByUserUuid in interface DLFileShortcutModel
Throws:
SystemException

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface DLFileShortcutModel

getStatusByUserName

public String getStatusByUserName()
Specified by:
getStatusByUserName in interface DLFileShortcutModel

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Specified by:
setStatusByUserName in interface DLFileShortcutModel

getStatusDate

public Date getStatusDate()
Specified by:
getStatusDate in interface DLFileShortcutModel

setStatusDate

public void setStatusDate(Date statusDate)
Specified by:
setStatusDate in interface DLFileShortcutModel

isApproved

public boolean isApproved()
Specified by:
isApproved in interface DLFileShortcutModel

isDraft

public boolean isDraft()
Specified by:
isDraft in interface DLFileShortcutModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface DLFileShortcutModel

isPending

public boolean isPending()
Specified by:
isPending in interface DLFileShortcutModel

toEscapedModel

public DLFileShortcut toEscapedModel()
Specified by:
toEscapedModel in interface DLFileShortcutModel

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<DLFileShortcut>
Specified by:
isEscapedModel in interface DLFileShortcutModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileShortcut>
Specified by:
getPrimaryKeyObj in interface DLFileShortcutModel
Returns:
the primary key

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

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 clone

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.3