|
Liferay 6.1.2-ce-ga3 | |||||||||
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)
|
boolean |
equals(Object obj)
|
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. |
Map<String,Object> |
getModelAttributes()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
DLFolder |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DLFolderWrapper(DLFolder dlFolder)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFolder>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFolder>
public long getPrimaryKey()
getPrimaryKey
in interface DLFolderModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFolderModel
primaryKey
- the primary key of this document library folderpublic String getUuid()
getUuid
in interface DLFolderModel
public void setUuid(String uuid)
setUuid
in interface DLFolderModel
uuid
- the uuid of this document library folderpublic long getFolderId()
getFolderId
in interface DLFolderModel
public void setFolderId(long folderId)
setFolderId
in interface DLFolderModel
folderId
- the folder ID of this document library folderpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface DLFolderModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface DLFolderModel
groupId
- the group ID of this document library folderpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface DLFolderModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface DLFolderModel
companyId
- the company ID of this document library folderpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface DLFolderModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface DLFolderModel
userId
- the user ID of this document library folderpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface DLFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface DLFolderModel
userUuid
- the user uuid of this document library folderpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface DLFolderModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface DLFolderModel
userName
- the user name of this document library folderpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface DLFolderModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface DLFolderModel
createDate
- the create date of this document library folderpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DLFolderModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DLFolderModel
modifiedDate
- the modified date of this document library folderpublic long getRepositoryId()
getRepositoryId
in interface DLFolderModel
public void setRepositoryId(long repositoryId)
setRepositoryId
in interface DLFolderModel
repositoryId
- the repository ID of this document library folderpublic boolean getMountPoint()
getMountPoint
in interface DLFolderModel
public boolean isMountPoint()
true
if this document library folder is mount point.
isMountPoint
in interface DLFolderModel
true
if this document library folder is mount point; false
otherwisepublic void setMountPoint(boolean mountPoint)
setMountPoint
in interface DLFolderModel
mountPoint
- the mount point of this document library folderpublic long getParentFolderId()
getParentFolderId
in interface DLFolderModel
public void setParentFolderId(long parentFolderId)
setParentFolderId
in interface DLFolderModel
parentFolderId
- the parent folder ID of this document library folderpublic String getName()
getName
in interface DLFolderModel
public void setName(String name)
setName
in interface DLFolderModel
name
- the name of this document library folderpublic String getDescription()
getDescription
in interface DLFolderModel
public void setDescription(String description)
setDescription
in interface DLFolderModel
description
- the description of this document library folderpublic Date getLastPostDate()
getLastPostDate
in interface DLFolderModel
public void setLastPostDate(Date lastPostDate)
setLastPostDate
in interface DLFolderModel
lastPostDate
- the last post date of this document library folderpublic long getDefaultFileEntryTypeId()
getDefaultFileEntryTypeId
in interface DLFolderModel
public void setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
setDefaultFileEntryTypeId
in interface DLFolderModel
defaultFileEntryTypeId
- the default file entry type ID of this document library folderpublic boolean getOverrideFileEntryTypes()
getOverrideFileEntryTypes
in interface DLFolderModel
public boolean isOverrideFileEntryTypes()
true
if this document library folder is override file entry types.
isOverrideFileEntryTypes
in interface DLFolderModel
true
if this document library folder is override file entry types; false
otherwisepublic void setOverrideFileEntryTypes(boolean overrideFileEntryTypes)
setOverrideFileEntryTypes
in interface DLFolderModel
overrideFileEntryTypes
- the override file entry types of this document library folderpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DLFolder>
isEscapedModel
in interface DLFolderModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFolder>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFolderModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFolder>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFolderModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFolder>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFolderModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFolder>
setExpandoBridgeAttributes
in interface DLFolderModel
serviceContext
- the service contextServiceContext.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 CacheModel<DLFolder> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFolder>
toCacheModel
in interface DLFolderModel
public DLFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFolder>
toEscapedModel
in interface DLFolderModel
AutoEscapeBeanHandler
public DLFolder toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFolder>
toUnescapedModel
in interface DLFolderModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic 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 hasInheritableLock()
hasInheritableLock
in interface DLFolder
public boolean hasLock()
hasLock
in interface DLFolder
public boolean isLocked()
isLocked
in interface DLFolder
public boolean isRoot()
isRoot
in interface DLFolder
public boolean equals(Object obj)
equals
in class Object
public DLFolder getWrappedDLFolder()
getWrappedModel()
public DLFolder getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLFolder>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFolder>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |