|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileShortcutWrapper
public class DLFileShortcutWrapper
This class is a wrapper for DLFileShortcut
.
DLFileShortcut
,
Serialized FormConstructor Summary | |
---|---|
DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileShortcut dlFileShortcut)
|
boolean |
getApproved()
Deprecated. isApproved() |
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 entity 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 |
---|
public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
Method Detail |
---|
public long getPrimaryKey()
getPrimaryKey
in interface DLFileShortcutModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface DLFileShortcutModel
pk
- the primary key of this d l file shortcutpublic String getUuid()
getUuid
in interface DLFileShortcutModel
public void setUuid(String uuid)
setUuid
in interface DLFileShortcutModel
uuid
- the uuid of this d l file shortcutpublic long getFileShortcutId()
getFileShortcutId
in interface DLFileShortcutModel
public void setFileShortcutId(long fileShortcutId)
setFileShortcutId
in interface DLFileShortcutModel
fileShortcutId
- the file shortcut id of this d l file shortcutpublic long getGroupId()
getGroupId
in interface DLFileShortcutModel
public void setGroupId(long groupId)
setGroupId
in interface DLFileShortcutModel
groupId
- the group id of this d l file shortcutpublic long getCompanyId()
getCompanyId
in interface DLFileShortcutModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLFileShortcutModel
companyId
- the company id of this d l file shortcutpublic long getUserId()
getUserId
in interface DLFileShortcutModel
public void setUserId(long userId)
setUserId
in interface DLFileShortcutModel
userId
- the user id of this d l file shortcutpublic String getUserUuid() throws SystemException
getUserUuid
in interface DLFileShortcutModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFileShortcutModel
userUuid
- the user uuid of this d l file shortcutpublic String getUserName()
getUserName
in interface DLFileShortcutModel
public void setUserName(String userName)
setUserName
in interface DLFileShortcutModel
userName
- the user name of this d l file shortcutpublic Date getCreateDate()
getCreateDate
in interface DLFileShortcutModel
public void setCreateDate(Date createDate)
setCreateDate
in interface DLFileShortcutModel
createDate
- the create date of this d l file shortcutpublic Date getModifiedDate()
getModifiedDate
in interface DLFileShortcutModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface DLFileShortcutModel
modifiedDate
- the modified date of this d l file shortcutpublic long getFolderId()
getFolderId
in interface DLFileShortcutModel
public void setFolderId(long folderId)
setFolderId
in interface DLFileShortcutModel
folderId
- the folder id of this d l file shortcutpublic long getToFolderId()
getToFolderId
in interface DLFileShortcutModel
public void setToFolderId(long toFolderId)
setToFolderId
in interface DLFileShortcutModel
toFolderId
- the to folder id of this d l file shortcutpublic String getToName()
getToName
in interface DLFileShortcutModel
public void setToName(String toName)
setToName
in interface DLFileShortcutModel
toName
- the to name of this d l file shortcutpublic int getStatus()
getStatus
in interface DLFileShortcutModel
public void setStatus(int status)
setStatus
in interface DLFileShortcutModel
status
- the status of this d l file shortcutpublic long getStatusByUserId()
getStatusByUserId
in interface DLFileShortcutModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DLFileShortcutModel
statusByUserId
- the status by user id of this d l file shortcutpublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface DLFileShortcutModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface DLFileShortcutModel
statusByUserUuid
- the status by user uuid of this d l file shortcutpublic String getStatusByUserName()
getStatusByUserName
in interface DLFileShortcutModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface DLFileShortcutModel
statusByUserName
- the status by user name of this d l file shortcutpublic Date getStatusDate()
getStatusDate
in interface DLFileShortcutModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface DLFileShortcutModel
statusDate
- the status date of this d l file shortcutpublic boolean getApproved()
isApproved()
getApproved
in interface DLFileShortcutModel
public boolean isApproved()
isApproved
in interface DLFileShortcutModel
public boolean isDraft()
isDraft
in interface DLFileShortcutModel
public boolean isExpired()
isExpired
in interface DLFileShortcutModel
public boolean isPending()
isPending
in interface DLFileShortcutModel
public boolean isNew()
BaseModel
isNew
in interface BaseModel<DLFileShortcut>
isNew
in interface DLFileShortcutModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLFileShortcut>
setNew
in interface DLFileShortcutModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<DLFileShortcut>
isCachedModel
in interface DLFileShortcutModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLFileShortcut>
setCachedModel
in interface DLFileShortcutModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<DLFileShortcut>
isEscapedModel
in interface DLFileShortcutModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<DLFileShortcut>
setEscapedModel
in interface DLFileShortcutModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileShortcut>
getPrimaryKeyObj
in interface DLFileShortcutModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileShortcut>
getExpandoBridge
in interface DLFileShortcutModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileShortcut>
setExpandoBridgeAttributes
in interface DLFileShortcutModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileShortcut>
clone
in interface DLFileShortcutModel
clone
in class Object
public int compareTo(DLFileShortcut dlFileShortcut)
compareTo
in interface DLFileShortcutModel
compareTo
in interface Comparable<DLFileShortcut>
public int hashCode()
hashCode
in interface DLFileShortcutModel
hashCode
in class Object
public DLFileShortcut toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileShortcut>
toEscapedModel
in interface DLFileShortcutModel
AutoEscapeBeanHandler
public String toString()
toString
in interface DLFileShortcutModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileShortcut>
toXmlString
in interface DLFileShortcutModel
public DLFolder getFolder()
getFolder
in interface DLFileShortcut
public String getToTitle()
getToTitle
in interface DLFileShortcut
public DLFileShortcut getWrappedDLFileShortcut()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |