|
Liferay 6.1.0-ce-b4 | |||||||||
| 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()
Returns the company ID of this document library folder. |
Date |
getCreateDate()
Returns the create date of this document library folder. |
long |
getDefaultFileEntryTypeId()
Returns the default file entry type ID of this document library folder. |
String |
getDescription()
Returns the description of this document library folder. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFolderId()
Returns the folder ID of this document library folder. |
long |
getGroupId()
Returns the group ID of this document library folder. |
Date |
getLastPostDate()
Returns the last post date of this document library folder. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this document library folder. |
boolean |
getMountPoint()
Returns the mount point of this document library folder. |
String |
getName()
Returns the name of this document library folder. |
boolean |
getOverrideFileEntryTypes()
Returns the override file entry types of this document library folder. |
DLFolder |
getParentFolder()
|
long |
getParentFolderId()
Returns the parent folder ID of this document library folder. |
String |
getPath()
|
String[] |
getPathArray()
|
long |
getPrimaryKey()
Returns the primary key of this document library folder. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this document library folder. |
long |
getUserId()
Returns the user ID of this document library folder. |
String |
getUserName()
Returns the user name of this document library folder. |
String |
getUserUuid()
Returns the user uuid of this document library folder. |
String |
getUuid()
Returns the uuid of this document library folder. |
DLFolder |
getWrappedDLFolder()
Deprecated. Renamed to getWrappedModel() |
DLFolder |
getWrappedModel()
|
int |
hashCode()
|
boolean |
hasInheritableLock()
|
boolean |
hasLock()
|
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 |
isMountPoint()
Returns true if this document library folder is mount point. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isOverrideFileEntryTypes()
Returns true if this document library folder is override file entry types. |
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 document library folder. |
void |
setCreateDate(Date createDate)
Sets the create date of this document library folder. |
void |
setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
Sets the default file entry type ID of this document library folder. |
void |
setDescription(String description)
Sets the description of this document library folder. |
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 document library folder. |
void |
setGroupId(long groupId)
Sets the group ID of this document library folder. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this document library folder. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library folder. |
void |
setMountPoint(boolean mountPoint)
Sets whether this document library folder is mount point. |
void |
setName(String name)
Sets the name of this document library folder. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOverrideFileEntryTypes(boolean overrideFileEntryTypes)
Sets whether this document library folder is override file entry types. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this document library folder. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library folder. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library folder. |
void |
setUserId(long userId)
Sets the user ID of this document library folder. |
void |
setUserName(String userName)
Sets the user name of this document library folder. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library folder. |
void |
setUuid(String uuid)
Sets the uuid of this document library 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 document library folderpublic String getUuid()
getUuid in interface DLFolderModelpublic void setUuid(String uuid)
setUuid in interface DLFolderModeluuid - the uuid of this document library folderpublic long getFolderId()
getFolderId in interface DLFolderModelpublic void setFolderId(long folderId)
setFolderId in interface DLFolderModelfolderId - the folder ID of this document library 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 document library 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 document library 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 document library 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 document library 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 document library 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 document library 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 document library folderpublic long getRepositoryId()
getRepositoryId in interface DLFolderModelpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLFolderModelrepositoryId - the repository ID of this document library folderpublic boolean getMountPoint()
getMountPoint in interface DLFolderModelpublic boolean isMountPoint()
true if this document library folder is mount point.
isMountPoint in interface DLFolderModeltrue if this document library folder is mount point; false otherwisepublic void setMountPoint(boolean mountPoint)
setMountPoint in interface DLFolderModelmountPoint - the mount point of this document library folderpublic long getParentFolderId()
getParentFolderId in interface DLFolderModelpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface DLFolderModelparentFolderId - the parent folder ID of this document library folderpublic String getName()
getName in interface DLFolderModelpublic void setName(String name)
setName in interface DLFolderModelname - the name of this document library folderpublic String getDescription()
getDescription in interface DLFolderModelpublic void setDescription(String description)
setDescription in interface DLFolderModeldescription - the description of this document library folderpublic Date getLastPostDate()
getLastPostDate in interface DLFolderModelpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface DLFolderModellastPostDate - the last post date of this document library folderpublic long getDefaultFileEntryTypeId()
getDefaultFileEntryTypeId in interface DLFolderModelpublic void setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
setDefaultFileEntryTypeId in interface DLFolderModeldefaultFileEntryTypeId - the default file entry type ID of this document library folderpublic boolean getOverrideFileEntryTypes()
getOverrideFileEntryTypes in interface DLFolderModelpublic boolean isOverrideFileEntryTypes()
true if this document library folder is override file entry types.
isOverrideFileEntryTypes in interface DLFolderModeltrue if this document library folder is override file entry types; false otherwisepublic void setOverrideFileEntryTypes(boolean overrideFileEntryTypes)
setOverrideFileEntryTypes in interface DLFolderModeloverrideFileEntryTypes - the override file entry types of this document library 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 otherwisepublic 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 hasInheritableLock()
hasInheritableLock in interface DLFolderpublic boolean hasLock()
hasLock in interface DLFolderpublic boolean isLocked()
isLocked in interface DLFolderpublic boolean isRoot()
isRoot in interface DLFolderpublic DLFolder getWrappedDLFolder()
getWrappedModel()
public DLFolder getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFolder>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFolder>
|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||