|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<DLFileShortcut> com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl
@JSON(strict=true) public class DLFileShortcutModelImpl
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
.
DLFileShortcutImpl
,
DLFileShortcut
,
DLFileShortcutModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FOLDERID_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TOFILEENTRYID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
DLFileShortcutModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileShortcut dlFileShortcut)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
long |
getColumnBitmask()
|
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. |
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 |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
int |
getOriginalStatus()
|
long |
getOriginalToFileEntryId()
|
String |
getOriginalUuid()
|
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. |
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. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this document library file shortcut is approved. |
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 |
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 |
isPending()
Returns true if this document library file shortcut is pending. |
boolean |
isScheduled()
Returns true if this document library file shortcut is scheduled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 . |
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()
|
DLFileShortcut |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long TOFILEENTRYID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public DLFileShortcutModelImpl()
Method Detail |
---|
public static DLFileShortcut toModel(DLFileShortcutSoap soapModel)
soapModel
- the soap model instance to convert
public static List<DLFileShortcut> toModels(DLFileShortcutSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
DLFileShortcutModel
getPrimaryKey
in interface DLFileShortcutModel
public void setPrimaryKey(long primaryKey)
DLFileShortcutModel
setPrimaryKey
in interface DLFileShortcutModel
primaryKey
- the primary key of this document library file shortcutpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileShortcut>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileShortcutModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileShortcut>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileShortcutModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFileShortcut>
getModelAttributes
in class BaseModelImpl<DLFileShortcut>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileShortcut>
setModelAttributes
in class BaseModelImpl<DLFileShortcut>
@JSON public String getUuid()
DLFileShortcutModel
getUuid
in interface DLFileShortcutModel
public void setUuid(String uuid)
DLFileShortcutModel
setUuid
in interface DLFileShortcutModel
uuid
- the uuid of this document library file shortcutpublic String getOriginalUuid()
@JSON public long getFileShortcutId()
DLFileShortcutModel
getFileShortcutId
in interface DLFileShortcutModel
public void setFileShortcutId(long fileShortcutId)
DLFileShortcutModel
setFileShortcutId
in interface DLFileShortcutModel
fileShortcutId
- the file shortcut ID of this document library file shortcut@JSON public long getGroupId()
DLFileShortcutModel
getGroupId
in interface GroupedModel
getGroupId
in interface DLFileShortcutModel
public void setGroupId(long groupId)
DLFileShortcutModel
setGroupId
in interface GroupedModel
setGroupId
in interface DLFileShortcutModel
groupId
- the group ID of this document library file shortcutpublic long getOriginalGroupId()
@JSON public long getCompanyId()
DLFileShortcutModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface DLFileShortcutModel
public void setCompanyId(long companyId)
DLFileShortcutModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface DLFileShortcutModel
companyId
- the company ID of this document library file shortcut@JSON public long getUserId()
DLFileShortcutModel
getUserId
in interface AuditedModel
getUserId
in interface DLFileShortcutModel
public void setUserId(long userId)
DLFileShortcutModel
setUserId
in interface AuditedModel
setUserId
in interface DLFileShortcutModel
userId
- the user ID of this document library file shortcutpublic String getUserUuid() throws SystemException
DLFileShortcutModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface DLFileShortcutModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileShortcutModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface DLFileShortcutModel
userUuid
- the user uuid of this document library file shortcut@JSON public String getUserName()
DLFileShortcutModel
getUserName
in interface AuditedModel
getUserName
in interface DLFileShortcutModel
public void setUserName(String userName)
DLFileShortcutModel
setUserName
in interface AuditedModel
setUserName
in interface DLFileShortcutModel
userName
- the user name of this document library file shortcut@JSON public Date getCreateDate()
DLFileShortcutModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface DLFileShortcutModel
public void setCreateDate(Date createDate)
DLFileShortcutModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface DLFileShortcutModel
createDate
- the create date of this document library file shortcut@JSON public Date getModifiedDate()
DLFileShortcutModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DLFileShortcutModel
public void setModifiedDate(Date modifiedDate)
DLFileShortcutModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DLFileShortcutModel
modifiedDate
- the modified date of this document library file shortcut@JSON public long getRepositoryId()
DLFileShortcutModel
getRepositoryId
in interface DLFileShortcutModel
public void setRepositoryId(long repositoryId)
DLFileShortcutModel
setRepositoryId
in interface DLFileShortcutModel
repositoryId
- the repository ID of this document library file shortcut@JSON public long getFolderId()
DLFileShortcutModel
getFolderId
in interface DLFileShortcutModel
public void setFolderId(long folderId)
DLFileShortcutModel
setFolderId
in interface DLFileShortcutModel
folderId
- the folder ID of this document library file shortcutpublic long getOriginalFolderId()
@JSON public long getToFileEntryId()
DLFileShortcutModel
getToFileEntryId
in interface DLFileShortcutModel
public void setToFileEntryId(long toFileEntryId)
DLFileShortcutModel
setToFileEntryId
in interface DLFileShortcutModel
toFileEntryId
- the to file entry ID of this document library file shortcutpublic long getOriginalToFileEntryId()
@JSON public int getStatus()
DLFileShortcutModel
getStatus
in interface WorkflowedModel
getStatus
in interface DLFileShortcutModel
public void setStatus(int status)
DLFileShortcutModel
setStatus
in interface WorkflowedModel
setStatus
in interface DLFileShortcutModel
status
- the status of this document library file shortcutpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
DLFileShortcutModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface DLFileShortcutModel
public void setStatusByUserId(long statusByUserId)
DLFileShortcutModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface DLFileShortcutModel
statusByUserId
- the status by user ID of this document library file shortcutpublic String getStatusByUserUuid() throws SystemException
DLFileShortcutModel
getStatusByUserUuid
in interface DLFileShortcutModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
DLFileShortcutModel
setStatusByUserUuid
in interface DLFileShortcutModel
statusByUserUuid
- the status by user uuid of this document library file shortcut@JSON public String getStatusByUserName()
DLFileShortcutModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface DLFileShortcutModel
public void setStatusByUserName(String statusByUserName)
DLFileShortcutModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface DLFileShortcutModel
statusByUserName
- the status by user name of this document library file shortcut@JSON public Date getStatusDate()
DLFileShortcutModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface DLFileShortcutModel
public void setStatusDate(Date statusDate)
DLFileShortcutModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface DLFileShortcutModel
statusDate
- the status date of this document library file shortcutpublic boolean getApproved()
isApproved()
getApproved
in interface DLFileShortcutModel
public boolean isApproved()
DLFileShortcutModel
true
if this document library file shortcut is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface DLFileShortcutModel
true
if this document library file shortcut is approved; false
otherwisepublic boolean isDenied()
DLFileShortcutModel
true
if this document library file shortcut is denied.
isDenied
in interface DLFileShortcutModel
true
if this document library file shortcut is denied; false
otherwisepublic boolean isDraft()
DLFileShortcutModel
true
if this document library file shortcut is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface DLFileShortcutModel
true
if this document library file shortcut is a draft; false
otherwisepublic boolean isExpired()
DLFileShortcutModel
true
if this document library file shortcut is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface DLFileShortcutModel
true
if this document library file shortcut is expired; false
otherwisepublic boolean isInactive()
DLFileShortcutModel
true
if this document library file shortcut is inactive.
isInactive
in interface DLFileShortcutModel
true
if this document library file shortcut is inactive; false
otherwisepublic boolean isIncomplete()
DLFileShortcutModel
true
if this document library file shortcut is incomplete.
isIncomplete
in interface DLFileShortcutModel
true
if this document library file shortcut is incomplete; false
otherwisepublic boolean isPending()
DLFileShortcutModel
true
if this document library file shortcut is pending.
isPending
in interface WorkflowedModel
isPending
in interface DLFileShortcutModel
true
if this document library file shortcut is pending; false
otherwisepublic boolean isScheduled()
DLFileShortcutModel
true
if this document library file shortcut is scheduled.
isScheduled
in interface DLFileShortcutModel
true
if this document library file shortcut is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileShortcut>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFileShortcutModel
getExpandoBridge
in class BaseModelImpl<DLFileShortcut>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileShortcut>
setExpandoBridgeAttributes
in interface DLFileShortcutModel
setExpandoBridgeAttributes
in class BaseModelImpl<DLFileShortcut>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public DLFileShortcut toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileShortcut>
toEscapedModel
in interface DLFileShortcutModel
toEscapedModel
in class BaseModelImpl<DLFileShortcut>
AutoEscapeBeanHandler
public DLFileShortcut toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFileShortcut>
toUnescapedModel
in interface DLFileShortcutModel
toUnescapedModel
in class BaseModelImpl<DLFileShortcut>
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileShortcut>
clone
in interface DLFileShortcutModel
clone
in class BaseModelImpl<DLFileShortcut>
public int compareTo(DLFileShortcut dlFileShortcut)
compareTo
in interface DLFileShortcutModel
compareTo
in interface Comparable<DLFileShortcut>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DLFileShortcutModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileShortcut>
resetOriginalValues
in class BaseModelImpl<DLFileShortcut>
public CacheModel<DLFileShortcut> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFileShortcut>
toCacheModel
in interface DLFileShortcutModel
toCacheModel
in class BaseModelImpl<DLFileShortcut>
public String toString()
toString
in interface DLFileShortcutModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileShortcut>
toXmlString
in interface DLFileShortcutModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |