Liferay 6.0.5

com.liferay.portlet.documentlibrary.model.impl
Class DLFileShortcutModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileShortcut>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl
All Implemented Interfaces:
BaseModel<DLFileShortcut>, DLFileShortcutModel, Serializable, Cloneable, Comparable<DLFileShortcut>
Direct Known Subclasses:
DLFileShortcutImpl

public class DLFileShortcutModelImpl
extends BaseModelImpl<DLFileShortcut>
implements DLFileShortcutModel

The base model implementation for the DLFileShortcut service. Represents a row in the "DLFileShortcut" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface DLFileShortcutModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileShortcutImpl.

Never modify or reference this class directly. All methods that expect a d l file shortcut model instance should use the DLFileShortcut interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
DLFileShortcutModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileShortcut dlFileShortcut)
           
 boolean equals(Object obj)
           
 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.
 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 getOriginalGroupId()
           
 String getOriginalUuid()
           
 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.
 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.
 int hashCode()
           
 boolean isApproved()
          Determines whether this d l file shortcut is approved.
 boolean isDraft()
          Determines whether this d l file shortcut is a draft.
 boolean isExpired()
          Determines whether this d l file shortcut is expired.
 boolean isPending()
          Determines whether this d l file shortcut is pending.
 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 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 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.
static DLFileShortcut toModel(DLFileShortcutSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileShortcut> toModels(DLFileShortcutSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileShortcutModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileShortcutModelImpl

public DLFileShortcutModelImpl()
Method Detail

toModel

public static DLFileShortcut toModel(DLFileShortcutSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<DLFileShortcut> toModels(DLFileShortcutSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

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

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

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

getOriginalUuid

public String getOriginalUuid()

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

getOriginalGroupId

public long getOriginalGroupId()

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

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
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileShortcut>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileShortcut>
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
Specified by:
clone in class BaseModelImpl<DLFileShortcut>
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>

equals

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

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

Liferay 6.0.5