|
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.portal.model.impl.BaseModelImpl<DLFolder> com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
@JSON(strict=true) public class DLFolderModelImpl
The base model implementation for the DLFolder service. Represents a row in the "DLFolder" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLFolderModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFolderImpl
.
DLFolderImpl
,
DLFolder
,
DLFolderModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static Object[][] |
MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS
|
static String |
MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME
|
static String |
MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE
|
static long |
MOUNTPOINT_COLUMN_BITMASK
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTFOLDERID_COLUMN_BITMASK
|
static long |
REPOSITORYID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
DLFolderModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFolder dlFolder)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
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. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
boolean |
getOriginalMountPoint()
|
String |
getOriginalName()
|
long |
getOriginalParentFolderId()
|
long |
getOriginalRepositoryId()
|
String |
getOriginalUuid()
|
boolean |
getOverrideFileEntryTypes()
Returns the override file entry types of this document library folder. |
long |
getParentFolderId()
Returns the parent folder ID of this document library folder. |
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. |
int |
hashCode()
|
boolean |
isMountPoint()
Returns true if this document library folder is mount point. |
boolean |
isOverrideFileEntryTypes()
Returns true if this document library folder is override file entry types. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 . |
static DLFolder |
toModel(DLFolderSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DLFolder> |
toModels(DLFolderSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
DLFolder |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFolderModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long MOUNTPOINT_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long PARENTFOLDERID_COLUMN_BITMASK
public static long REPOSITORYID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME
public static final Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS
public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public DLFolderModelImpl()
Method Detail |
---|
public static DLFolder toModel(DLFolderSoap soapModel)
soapModel
- the soap model instance to convert
public static List<DLFolder> toModels(DLFolderSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
DLFolderModel
getPrimaryKey
in interface DLFolderModel
public void setPrimaryKey(long primaryKey)
DLFolderModel
setPrimaryKey
in interface DLFolderModel
primaryKey
- the primary key of this document library folderpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFolder>
getModelAttributes
in class BaseModelImpl<DLFolder>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFolder>
setModelAttributes
in class BaseModelImpl<DLFolder>
@JSON public String getUuid()
DLFolderModel
getUuid
in interface DLFolderModel
public void setUuid(String uuid)
DLFolderModel
setUuid
in interface DLFolderModel
uuid
- the uuid of this document library folderpublic String getOriginalUuid()
@JSON public long getFolderId()
DLFolderModel
getFolderId
in interface DLFolderModel
public void setFolderId(long folderId)
DLFolderModel
setFolderId
in interface DLFolderModel
folderId
- the folder ID of this document library folder@JSON public long getGroupId()
DLFolderModel
getGroupId
in interface GroupedModel
getGroupId
in interface DLFolderModel
public void setGroupId(long groupId)
DLFolderModel
setGroupId
in interface GroupedModel
setGroupId
in interface DLFolderModel
groupId
- the group ID of this document library folderpublic long getOriginalGroupId()
@JSON public long getCompanyId()
DLFolderModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface DLFolderModel
public void setCompanyId(long companyId)
DLFolderModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface DLFolderModel
companyId
- the company ID of this document library folderpublic long getOriginalCompanyId()
@JSON public long getUserId()
DLFolderModel
getUserId
in interface AuditedModel
getUserId
in interface DLFolderModel
public void setUserId(long userId)
DLFolderModel
setUserId
in interface AuditedModel
setUserId
in interface DLFolderModel
userId
- the user ID of this document library folderpublic String getUserUuid() throws SystemException
DLFolderModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface DLFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFolderModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface DLFolderModel
userUuid
- the user uuid of this document library folder@JSON public String getUserName()
DLFolderModel
getUserName
in interface AuditedModel
getUserName
in interface DLFolderModel
public void setUserName(String userName)
DLFolderModel
setUserName
in interface AuditedModel
setUserName
in interface DLFolderModel
userName
- the user name of this document library folder@JSON public Date getCreateDate()
DLFolderModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface DLFolderModel
public void setCreateDate(Date createDate)
DLFolderModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface DLFolderModel
createDate
- the create date of this document library folder@JSON public Date getModifiedDate()
DLFolderModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DLFolderModel
public void setModifiedDate(Date modifiedDate)
DLFolderModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DLFolderModel
modifiedDate
- the modified date of this document library folder@JSON public long getRepositoryId()
DLFolderModel
getRepositoryId
in interface DLFolderModel
public void setRepositoryId(long repositoryId)
DLFolderModel
setRepositoryId
in interface DLFolderModel
repositoryId
- the repository ID of this document library folderpublic long getOriginalRepositoryId()
@JSON public boolean getMountPoint()
DLFolderModel
getMountPoint
in interface DLFolderModel
public boolean isMountPoint()
DLFolderModel
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)
DLFolderModel
setMountPoint
in interface DLFolderModel
mountPoint
- the mount point of this document library folderpublic boolean getOriginalMountPoint()
@JSON public long getParentFolderId()
DLFolderModel
getParentFolderId
in interface DLFolderModel
public void setParentFolderId(long parentFolderId)
DLFolderModel
setParentFolderId
in interface DLFolderModel
parentFolderId
- the parent folder ID of this document library folderpublic long getOriginalParentFolderId()
@JSON public String getName()
DLFolderModel
getName
in interface DLFolderModel
public void setName(String name)
DLFolderModel
setName
in interface DLFolderModel
name
- the name of this document library folderpublic String getOriginalName()
@JSON public String getDescription()
DLFolderModel
getDescription
in interface DLFolderModel
public void setDescription(String description)
DLFolderModel
setDescription
in interface DLFolderModel
description
- the description of this document library folder@JSON public Date getLastPostDate()
DLFolderModel
getLastPostDate
in interface DLFolderModel
public void setLastPostDate(Date lastPostDate)
DLFolderModel
setLastPostDate
in interface DLFolderModel
lastPostDate
- the last post date of this document library folder@JSON public long getDefaultFileEntryTypeId()
DLFolderModel
getDefaultFileEntryTypeId
in interface DLFolderModel
public void setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
DLFolderModel
setDefaultFileEntryTypeId
in interface DLFolderModel
defaultFileEntryTypeId
- the default file entry type ID of this document library folder@JSON public boolean getOverrideFileEntryTypes()
DLFolderModel
getOverrideFileEntryTypes
in interface DLFolderModel
public boolean isOverrideFileEntryTypes()
DLFolderModel
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)
DLFolderModel
setOverrideFileEntryTypes
in interface DLFolderModel
overrideFileEntryTypes
- the override file entry types of this document library folderpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFolder>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFolderModel
getExpandoBridge
in class BaseModelImpl<DLFolder>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFolder>
setExpandoBridgeAttributes
in interface DLFolderModel
setExpandoBridgeAttributes
in class BaseModelImpl<DLFolder>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public DLFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFolder>
toEscapedModel
in interface DLFolderModel
toEscapedModel
in class BaseModelImpl<DLFolder>
AutoEscapeBeanHandler
public DLFolder toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFolder>
toUnescapedModel
in interface DLFolderModel
toUnescapedModel
in class BaseModelImpl<DLFolder>
public Object clone()
BaseModel
clone
in interface BaseModel<DLFolder>
clone
in interface DLFolderModel
clone
in class BaseModelImpl<DLFolder>
public int compareTo(DLFolder dlFolder)
compareTo
in interface DLFolderModel
compareTo
in interface Comparable<DLFolder>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DLFolderModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFolder>
resetOriginalValues
in class BaseModelImpl<DLFolder>
public CacheModel<DLFolder> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFolder>
toCacheModel
in interface DLFolderModel
toCacheModel
in class BaseModelImpl<DLFolder>
public String toString()
toString
in interface DLFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFolder>
toXmlString
in interface DLFolderModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |