|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFolderWrapper
public class DLFolderWrapper
This class is a wrapper for DLFolder.
DLFolder,
Serialized Form| Constructor Summary | |
|---|---|
DLFolderWrapper(DLFolder dlFolder)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFolder dlFolder)
|
List<DLFolder> |
getAncestors()
|
long |
getCompanyId()
Gets the company id of this d l folder. |
Date |
getCreateDate()
Gets the create date of this d l folder. |
String |
getDescription()
Gets the description of this d l folder. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getFolderId()
Gets the folder id of this d l folder. |
long |
getGroupId()
Gets the group id of this d l folder. |
Date |
getLastPostDate()
Gets the last post date of this d l folder. |
Date |
getModifiedDate()
Gets the modified date of this d l folder. |
String |
getName()
Gets the name of this d l folder. |
DLFolder |
getParentFolder()
|
long |
getParentFolderId()
Gets the parent folder id of this d l folder. |
String |
getPath()
|
String[] |
getPathArray()
|
long |
getPrimaryKey()
Gets the primary key of this d l folder. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this d l folder. |
String |
getUserName()
Gets the user name of this d l folder. |
String |
getUserUuid()
Gets the user uuid of this d l folder. |
String |
getUuid()
Gets the uuid of this d l folder. |
DLFolder |
getWrappedDLFolder()
|
int |
hashCode()
|
boolean |
hasLock(long userId)
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isLocked()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRoot()
|
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 folder. |
void |
setCreateDate(Date createDate)
Sets the create date of this d l folder. |
void |
setDescription(String description)
Sets the description of this d l folder. |
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 |
setFolderId(long folderId)
Sets the folder id of this d l folder. |
void |
setGroupId(long groupId)
Sets the group id of this d l folder. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this d l folder. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d l folder. |
void |
setName(String name)
Sets the name of this d l folder. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder id of this d l folder. |
void |
setPrimaryKey(long pk)
Sets the primary key of this d l folder |
void |
setUserId(long userId)
Sets the user id of this d l folder. |
void |
setUserName(String userName)
Sets the user name of this d l folder. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d l folder. |
void |
setUuid(String uuid)
Sets the uuid of this d l folder. |
DLFolder |
toEscapedModel()
Gets a copy of this d l folder 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 DLFolderWrapper(DLFolder dlFolder)
| Method Detail |
|---|
public long getPrimaryKey()
DLFolderModel
getPrimaryKey in interface DLFolderModelpublic void setPrimaryKey(long pk)
DLFolderModel
setPrimaryKey in interface DLFolderModelpk - the primary key of this d l folderpublic String getUuid()
DLFolderModel
getUuid in interface DLFolderModelpublic void setUuid(String uuid)
DLFolderModel
setUuid in interface DLFolderModeluuid - the uuid of this d l folderpublic long getFolderId()
DLFolderModel
getFolderId in interface DLFolderModelpublic void setFolderId(long folderId)
DLFolderModel
setFolderId in interface DLFolderModelfolderId - the folder id of this d l folderpublic long getGroupId()
DLFolderModel
getGroupId in interface DLFolderModelpublic void setGroupId(long groupId)
DLFolderModel
setGroupId in interface DLFolderModelgroupId - the group id of this d l folderpublic long getCompanyId()
DLFolderModel
getCompanyId in interface DLFolderModelpublic void setCompanyId(long companyId)
DLFolderModel
setCompanyId in interface DLFolderModelcompanyId - the company id of this d l folderpublic long getUserId()
DLFolderModel
getUserId in interface DLFolderModelpublic void setUserId(long userId)
DLFolderModel
setUserId in interface DLFolderModeluserId - the user id of this d l folder
public String getUserUuid()
throws SystemException
DLFolderModel
getUserUuid in interface DLFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
DLFolderModel
setUserUuid in interface DLFolderModeluserUuid - the user uuid of this d l folderpublic String getUserName()
DLFolderModel
getUserName in interface DLFolderModelpublic void setUserName(String userName)
DLFolderModel
setUserName in interface DLFolderModeluserName - the user name of this d l folderpublic Date getCreateDate()
DLFolderModel
getCreateDate in interface DLFolderModelpublic void setCreateDate(Date createDate)
DLFolderModel
setCreateDate in interface DLFolderModelcreateDate - the create date of this d l folderpublic Date getModifiedDate()
DLFolderModel
getModifiedDate in interface DLFolderModelpublic void setModifiedDate(Date modifiedDate)
DLFolderModel
setModifiedDate in interface DLFolderModelmodifiedDate - the modified date of this d l folderpublic long getParentFolderId()
DLFolderModel
getParentFolderId in interface DLFolderModelpublic void setParentFolderId(long parentFolderId)
DLFolderModel
setParentFolderId in interface DLFolderModelparentFolderId - the parent folder id of this d l folderpublic String getName()
DLFolderModel
getName in interface DLFolderModelpublic void setName(String name)
DLFolderModel
setName in interface DLFolderModelname - the name of this d l folderpublic String getDescription()
DLFolderModel
getDescription in interface DLFolderModelpublic void setDescription(String description)
DLFolderModel
setDescription in interface DLFolderModeldescription - the description of this d l folderpublic Date getLastPostDate()
DLFolderModel
getLastPostDate in interface DLFolderModelpublic void setLastPostDate(Date lastPostDate)
DLFolderModel
setLastPostDate in interface DLFolderModellastPostDate - the last post date of this d l folderpublic DLFolder toEscapedModel()
DLFolderModelAutoEscapeBeanHandler.
toEscapedModel in interface DLFolderModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<DLFolder>isNew in interface DLFolderModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DLFolder>setNew in interface DLFolderModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<DLFolder>isCachedModel in interface DLFolderModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLFolder>setCachedModel in interface DLFolderModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<DLFolder>isEscapedModel in interface DLFolderModeltrue 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<DLFolder>setEscapedModel in interface DLFolderModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFolder>getPrimaryKeyObj in interface DLFolderModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFolder>getExpandoBridge in interface DLFolderModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFolder>setExpandoBridgeAttributes in interface DLFolderModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFolder>clone in interface DLFolderModelclone in class Objectpublic int compareTo(DLFolder dlFolder)
compareTo in interface DLFolderModelcompareTo in interface Comparable<DLFolder>public int hashCode()
hashCode in interface DLFolderModelhashCode in class Objectpublic String toString()
toString in interface DLFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFolder>toXmlString in interface DLFolderModel
public List<DLFolder> getAncestors()
throws PortalException,
SystemException
getAncestors in interface DLFolderPortalException
SystemException
public DLFolder getParentFolder()
throws PortalException,
SystemException
getParentFolder in interface DLFolderPortalException
SystemException
public String getPath()
throws PortalException,
SystemException
getPath in interface DLFolderPortalException
SystemException
public String[] getPathArray()
throws PortalException,
SystemException
getPathArray in interface DLFolderPortalException
SystemExceptionpublic boolean hasLock(long userId)
hasLock in interface DLFolderpublic boolean isLocked()
isLocked in interface DLFolderpublic boolean isRoot()
isRoot in interface DLFolderpublic DLFolder getWrappedDLFolder()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||