|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.model.DLFolderWrapper
public class DLFolderWrapper
This class is a wrapper for DLFolder
.
DLFolder
,
Serialized FormConstructor 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 DLFolderModel
public void setPrimaryKey(long pk)
DLFolderModel
setPrimaryKey
in interface DLFolderModel
pk
- the primary key of this d l folderpublic String getUuid()
DLFolderModel
getUuid
in interface DLFolderModel
public void setUuid(String uuid)
DLFolderModel
setUuid
in interface DLFolderModel
uuid
- the uuid of this d l folderpublic long getFolderId()
DLFolderModel
getFolderId
in interface DLFolderModel
public void setFolderId(long folderId)
DLFolderModel
setFolderId
in interface DLFolderModel
folderId
- the folder id of this d l folderpublic long getGroupId()
DLFolderModel
getGroupId
in interface DLFolderModel
public void setGroupId(long groupId)
DLFolderModel
setGroupId
in interface DLFolderModel
groupId
- the group id of this d l folderpublic long getCompanyId()
DLFolderModel
getCompanyId
in interface DLFolderModel
public void setCompanyId(long companyId)
DLFolderModel
setCompanyId
in interface DLFolderModel
companyId
- the company id of this d l folderpublic long getUserId()
DLFolderModel
getUserId
in interface DLFolderModel
public void setUserId(long userId)
DLFolderModel
setUserId
in interface DLFolderModel
userId
- the user id of this d l folderpublic String getUserUuid() throws SystemException
DLFolderModel
getUserUuid
in interface DLFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFolderModel
setUserUuid
in interface DLFolderModel
userUuid
- the user uuid of this d l folderpublic String getUserName()
DLFolderModel
getUserName
in interface DLFolderModel
public void setUserName(String userName)
DLFolderModel
setUserName
in interface DLFolderModel
userName
- the user name of this d l folderpublic Date getCreateDate()
DLFolderModel
getCreateDate
in interface DLFolderModel
public void setCreateDate(Date createDate)
DLFolderModel
setCreateDate
in interface DLFolderModel
createDate
- the create date of this d l folderpublic Date getModifiedDate()
DLFolderModel
getModifiedDate
in interface DLFolderModel
public void setModifiedDate(Date modifiedDate)
DLFolderModel
setModifiedDate
in interface DLFolderModel
modifiedDate
- the modified date of this d l folderpublic long getParentFolderId()
DLFolderModel
getParentFolderId
in interface DLFolderModel
public void setParentFolderId(long parentFolderId)
DLFolderModel
setParentFolderId
in interface DLFolderModel
parentFolderId
- the parent folder id of this d l folderpublic String getName()
DLFolderModel
getName
in interface DLFolderModel
public void setName(String name)
DLFolderModel
setName
in interface DLFolderModel
name
- the name of this d l folderpublic String getDescription()
DLFolderModel
getDescription
in interface DLFolderModel
public void setDescription(String description)
DLFolderModel
setDescription
in interface DLFolderModel
description
- the description of this d l folderpublic Date getLastPostDate()
DLFolderModel
getLastPostDate
in interface DLFolderModel
public void setLastPostDate(Date lastPostDate)
DLFolderModel
setLastPostDate
in interface DLFolderModel
lastPostDate
- the last post date of this d l folderpublic DLFolder toEscapedModel()
DLFolderModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface DLFolderModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<DLFolder>
isNew
in interface DLFolderModel
true
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 DLFolderModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<DLFolder>
isCachedModel
in interface DLFolderModel
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<DLFolder>
setCachedModel
in interface DLFolderModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<DLFolder>
isEscapedModel
in interface DLFolderModel
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<DLFolder>
setEscapedModel
in interface DLFolderModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFolder>
getPrimaryKeyObj
in interface DLFolderModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFolder>
getExpandoBridge
in interface DLFolderModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFolder>
setExpandoBridgeAttributes
in interface DLFolderModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFolder>
clone
in interface DLFolderModel
clone
in class Object
public int compareTo(DLFolder dlFolder)
compareTo
in interface DLFolderModel
compareTo
in interface Comparable<DLFolder>
public int hashCode()
hashCode
in interface DLFolderModel
hashCode
in class Object
public String toString()
toString
in interface DLFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFolder>
toXmlString
in interface DLFolderModel
public List<DLFolder> getAncestors() throws PortalException, SystemException
getAncestors
in interface DLFolder
PortalException
SystemException
public DLFolder getParentFolder() throws PortalException, SystemException
getParentFolder
in interface DLFolder
PortalException
SystemException
public String getPath() throws PortalException, SystemException
getPath
in interface DLFolder
PortalException
SystemException
public String[] getPathArray() throws PortalException, SystemException
getPathArray
in interface DLFolder
PortalException
SystemException
public boolean hasLock(long userId)
hasLock
in interface DLFolder
public boolean isLocked()
isLocked
in interface DLFolder
public boolean isRoot()
isRoot
in interface DLFolder
public DLFolder getWrappedDLFolder()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |