|
Liferay 6.0.6 | |||||||||
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)
|
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 if this d l file shortcut is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines if this d l file shortcut is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines if this d l file shortcut is expired. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines if 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 |
---|
public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut)
Method Detail |
---|
public long getPrimaryKey()
DLFileShortcutModel
getPrimaryKey
in interface DLFileShortcutModel
public void setPrimaryKey(long pk)
DLFileShortcutModel
setPrimaryKey
in interface DLFileShortcutModel
pk
- the primary key of this d l file shortcutpublic String getUuid()
DLFileShortcutModel
getUuid
in interface DLFileShortcutModel
public void setUuid(String uuid)
DLFileShortcutModel
setUuid
in interface DLFileShortcutModel
uuid
- the uuid of this d l file shortcutpublic long getFileShortcutId()
DLFileShortcutModel
getFileShortcutId
in interface DLFileShortcutModel
public void setFileShortcutId(long fileShortcutId)
DLFileShortcutModel
setFileShortcutId
in interface DLFileShortcutModel
fileShortcutId
- the file shortcut id of this d l file shortcutpublic long getGroupId()
DLFileShortcutModel
getGroupId
in interface DLFileShortcutModel
public void setGroupId(long groupId)
DLFileShortcutModel
setGroupId
in interface DLFileShortcutModel
groupId
- the group id of this d l file shortcutpublic long getCompanyId()
DLFileShortcutModel
getCompanyId
in interface DLFileShortcutModel
public void setCompanyId(long companyId)
DLFileShortcutModel
setCompanyId
in interface DLFileShortcutModel
companyId
- the company id of this d l file shortcutpublic long getUserId()
DLFileShortcutModel
getUserId
in interface DLFileShortcutModel
public void setUserId(long userId)
DLFileShortcutModel
setUserId
in interface DLFileShortcutModel
userId
- the user id of this d l file shortcutpublic String getUserUuid() throws SystemException
DLFileShortcutModel
getUserUuid
in interface DLFileShortcutModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileShortcutModel
setUserUuid
in interface DLFileShortcutModel
userUuid
- the user uuid of this d l file shortcutpublic String getUserName()
DLFileShortcutModel
getUserName
in interface DLFileShortcutModel
public void setUserName(String userName)
DLFileShortcutModel
setUserName
in interface DLFileShortcutModel
userName
- the user name of this d l file shortcutpublic Date getCreateDate()
DLFileShortcutModel
getCreateDate
in interface DLFileShortcutModel
public void setCreateDate(Date createDate)
DLFileShortcutModel
setCreateDate
in interface DLFileShortcutModel
createDate
- the create date of this d l file shortcutpublic Date getModifiedDate()
DLFileShortcutModel
getModifiedDate
in interface DLFileShortcutModel
public void setModifiedDate(Date modifiedDate)
DLFileShortcutModel
setModifiedDate
in interface DLFileShortcutModel
modifiedDate
- the modified date of this d l file shortcutpublic long getFolderId()
DLFileShortcutModel
getFolderId
in interface DLFileShortcutModel
public void setFolderId(long folderId)
DLFileShortcutModel
setFolderId
in interface DLFileShortcutModel
folderId
- the folder id of this d l file shortcutpublic long getToFolderId()
DLFileShortcutModel
getToFolderId
in interface DLFileShortcutModel
public void setToFolderId(long toFolderId)
DLFileShortcutModel
setToFolderId
in interface DLFileShortcutModel
toFolderId
- the to folder id of this d l file shortcutpublic String getToName()
DLFileShortcutModel
getToName
in interface DLFileShortcutModel
public void setToName(String toName)
DLFileShortcutModel
setToName
in interface DLFileShortcutModel
toName
- the to name of this d l file shortcutpublic int getStatus()
DLFileShortcutModel
getStatus
in interface DLFileShortcutModel
public void setStatus(int status)
DLFileShortcutModel
setStatus
in interface DLFileShortcutModel
status
- the status of this d l file shortcutpublic long getStatusByUserId()
DLFileShortcutModel
getStatusByUserId
in interface DLFileShortcutModel
public void setStatusByUserId(long statusByUserId)
DLFileShortcutModel
setStatusByUserId
in interface DLFileShortcutModel
statusByUserId
- the status by user id of this d l 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 d l file shortcutpublic String getStatusByUserName()
DLFileShortcutModel
getStatusByUserName
in interface DLFileShortcutModel
public void setStatusByUserName(String statusByUserName)
DLFileShortcutModel
setStatusByUserName
in interface DLFileShortcutModel
statusByUserName
- the status by user name of this d l file shortcutpublic Date getStatusDate()
DLFileShortcutModel
getStatusDate
in interface DLFileShortcutModel
public void setStatusDate(Date statusDate)
DLFileShortcutModel
setStatusDate
in interface DLFileShortcutModel
statusDate
- the status date of this d l file shortcutpublic boolean isApproved()
DLFileShortcutModel
isApproved
in interface DLFileShortcutModel
true
if this d l file shortcut is approved; false
otherwisepublic boolean isDraft()
DLFileShortcutModel
isDraft
in interface DLFileShortcutModel
true
if this d l file shortcut is a draft; false
otherwisepublic boolean isExpired()
DLFileShortcutModel
isExpired
in interface DLFileShortcutModel
true
if this d l file shortcut is expired; false
otherwisepublic boolean isPending()
DLFileShortcutModel
isPending
in interface DLFileShortcutModel
true
if this d l file shortcut is pending; false
otherwisepublic DLFileShortcut toEscapedModel()
DLFileShortcutModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface DLFileShortcutModel
AutoEscapeBeanHandler
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 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.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |