|
Liferay 6.0-ee-sp2 | |||||||||
| 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()
Returns 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. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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()
Returns 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()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isLocked()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRoot()
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 primaryKey)
Sets the primary key of this d l folder |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<DLFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLFolder |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFolderModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFolderModelprimaryKey - the primary key of this d l folderpublic String getUuid()
getUuid in interface DLFolderModelpublic void setUuid(String uuid)
setUuid in interface DLFolderModeluuid - the uuid of this d l folderpublic long getFolderId()
getFolderId in interface DLFolderModelpublic void setFolderId(long folderId)
setFolderId in interface DLFolderModelfolderId - the folder ID of this d l folderpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DLFolderModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DLFolderModelgroupId - the group ID of this d l folderpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface DLFolderModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface DLFolderModelcompanyId - the company ID of this d l folderpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DLFolderModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DLFolderModeluserId - the user ID of this d l folder
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface DLFolderModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DLFolderModeluserUuid - the user uuid of this d l folderpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DLFolderModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DLFolderModeluserName - the user name of this d l folderpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface DLFolderModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface DLFolderModelcreateDate - the create date of this d l folderpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface DLFolderModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface DLFolderModelmodifiedDate - the modified date of this d l folderpublic long getParentFolderId()
getParentFolderId in interface DLFolderModelpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface DLFolderModelparentFolderId - the parent folder ID of this d l folderpublic String getName()
getName in interface DLFolderModelpublic void setName(String name)
setName in interface DLFolderModelname - the name of this d l folderpublic String getDescription()
getDescription in interface DLFolderModelpublic void setDescription(String description)
setDescription in interface DLFolderModeldescription - the description of this d l folderpublic Date getLastPostDate()
getLastPostDate in interface DLFolderModelpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface DLFolderModellastPostDate - the last post date of this d l folderpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
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 ClassedModelgetPrimaryKeyObj in interface DLFolderModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFolder>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFolderModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFolder>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFolderModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFolder>setExpandoBridgeAttributes in interface DLFolderModelserviceContext - the service contextServiceContext.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 CacheModel<DLFolder> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFolder>toCacheModel in interface DLFolderModelpublic DLFolder toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFolder>toEscapedModel in interface DLFolderModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLFolderModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFolder>toXmlString in interface DLFolderModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
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()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFolder>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||