Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.model.impl
Class DLFileEntryTypeModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileEntryType>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DLFileEntryType>, ClassedModel, GroupedModel, DLFileEntryTypeModel, Serializable, Cloneable, Comparable<DLFileEntryType>
Direct Known Subclasses:
DLFileEntryTypeBaseImpl

@JSON(strict=true)
public class DLFileEntryTypeModelImpl
extends BaseModelImpl<DLFileEntryType>
implements DLFileEntryTypeModel

The base model implementation for the DLFileEntryType service. Represents a row in the "DLFileEntryType" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface DLFileEntryTypeModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileEntryTypeImpl.

See Also:
DLFileEntryTypeImpl, DLFileEntryType, DLFileEntryTypeModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DDMSTRUCTURES
           
static boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_COLUMNS
           
static String MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_NAME
           
static String MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_SQL_CREATE
           
static Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS
           
static String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME
           
static String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE
           
static long NAME_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
DLFileEntryTypeModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileEntryType dlFileEntryType)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this document library file entry type.
 Date getCreateDate()
          Returns the create date of this document library file entry type.
 String getDescription()
          Returns the description of this document library file entry type.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFileEntryTypeId()
          Returns the file entry type ID of this document library file entry type.
 long getGroupId()
          Returns the group ID of this document library file entry type.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this document library file entry type.
 String getName()
          Returns the name of this document library file entry type.
 long getOriginalGroupId()
           
 String getOriginalName()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this document library file entry type.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this document library file entry type.
 String getUserName()
          Returns the user name of this document library file entry type.
 String getUserUuid()
          Returns the user uuid of this document library file entry type.
 String getUuid()
          Returns the uuid of this document library file entry type.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this document library file entry type.
 void setCreateDate(Date createDate)
          Sets the create date of this document library file entry type.
 void setDescription(String description)
          Sets the description of this document library file entry type.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFileEntryTypeId(long fileEntryTypeId)
          Sets the file entry type ID of this document library file entry type.
 void setGroupId(long groupId)
          Sets the group ID of this document library file entry type.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this document library file entry type.
 void setName(String name)
          Sets the name of this document library file entry type.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this document library file entry type.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this document library file entry type.
 void setUserName(String userName)
          Sets the user name of this document library file entry type.
 void setUserUuid(String userUuid)
          Sets the user uuid of this document library file entry type.
 void setUuid(String uuid)
          Sets the uuid of this document library file entry type.
 CacheModel<DLFileEntryType> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLFileEntryType toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLFileEntryType toModel(DLFileEntryTypeSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileEntryType> toModels(DLFileEntryTypeSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 DLFileEntryType 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.DLFileEntryTypeModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME

public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS

public static final Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS

MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE

public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS

public static final boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS

MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_NAME

public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_COLUMNS

public static final Object[][] MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_COLUMNS

MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_SQL_CREATE

public static final String MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DDMSTRUCTURES

public static final boolean FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DDMSTRUCTURES

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileEntryTypeModelImpl

public DLFileEntryTypeModelImpl()
Method Detail

toModel

public static DLFileEntryType toModel(DLFileEntryTypeSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<DLFileEntryType> toModels(DLFileEntryTypeSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DLFileEntryTypeModel
Returns the primary key of this document library file entry type.

Specified by:
getPrimaryKey in interface DLFileEntryTypeModel
Returns:
the primary key of this document library file entry type

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DLFileEntryTypeModel
Sets the primary key of this document library file entry type.

Specified by:
setPrimaryKey in interface DLFileEntryTypeModel
Parameters:
primaryKey - the primary key of this document library file entry type

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileEntryType>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLFileEntryTypeModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DLFileEntryType>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLFileEntryTypeModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DLFileEntryType>
Overrides:
getModelAttributes in class BaseModelImpl<DLFileEntryType>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DLFileEntryType>
Overrides:
setModelAttributes in class BaseModelImpl<DLFileEntryType>

getUuid

@JSON
public String getUuid()
Description copied from interface: DLFileEntryTypeModel
Returns the uuid of this document library file entry type.

Specified by:
getUuid in interface DLFileEntryTypeModel
Returns:
the uuid of this document library file entry type

setUuid

public void setUuid(String uuid)
Description copied from interface: DLFileEntryTypeModel
Sets the uuid of this document library file entry type.

Specified by:
setUuid in interface DLFileEntryTypeModel
Parameters:
uuid - the uuid of this document library file entry type

getOriginalUuid

public String getOriginalUuid()

getFileEntryTypeId

@JSON
public long getFileEntryTypeId()
Description copied from interface: DLFileEntryTypeModel
Returns the file entry type ID of this document library file entry type.

Specified by:
getFileEntryTypeId in interface DLFileEntryTypeModel
Returns:
the file entry type ID of this document library file entry type

setFileEntryTypeId

public void setFileEntryTypeId(long fileEntryTypeId)
Description copied from interface: DLFileEntryTypeModel
Sets the file entry type ID of this document library file entry type.

Specified by:
setFileEntryTypeId in interface DLFileEntryTypeModel
Parameters:
fileEntryTypeId - the file entry type ID of this document library file entry type

getGroupId

@JSON
public long getGroupId()
Description copied from interface: DLFileEntryTypeModel
Returns the group ID of this document library file entry type.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface DLFileEntryTypeModel
Returns:
the group ID of this document library file entry type

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileEntryTypeModel
Sets the group ID of this document library file entry type.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface DLFileEntryTypeModel
Parameters:
groupId - the group ID of this document library file entry type

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: DLFileEntryTypeModel
Returns the company ID of this document library file entry type.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface DLFileEntryTypeModel
Returns:
the company ID of this document library file entry type

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileEntryTypeModel
Sets the company ID of this document library file entry type.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface DLFileEntryTypeModel
Parameters:
companyId - the company ID of this document library file entry type

getUserId

@JSON
public long getUserId()
Description copied from interface: DLFileEntryTypeModel
Returns the user ID of this document library file entry type.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface DLFileEntryTypeModel
Returns:
the user ID of this document library file entry type

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileEntryTypeModel
Sets the user ID of this document library file entry type.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface DLFileEntryTypeModel
Parameters:
userId - the user ID of this document library file entry type

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileEntryTypeModel
Returns the user uuid of this document library file entry type.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface DLFileEntryTypeModel
Returns:
the user uuid of this document library file entry type
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DLFileEntryTypeModel
Sets the user uuid of this document library file entry type.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface DLFileEntryTypeModel
Parameters:
userUuid - the user uuid of this document library file entry type

getUserName

@JSON
public String getUserName()
Description copied from interface: DLFileEntryTypeModel
Returns the user name of this document library file entry type.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface DLFileEntryTypeModel
Returns:
the user name of this document library file entry type

setUserName

public void setUserName(String userName)
Description copied from interface: DLFileEntryTypeModel
Sets the user name of this document library file entry type.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface DLFileEntryTypeModel
Parameters:
userName - the user name of this document library file entry type

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: DLFileEntryTypeModel
Returns the create date of this document library file entry type.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface DLFileEntryTypeModel
Returns:
the create date of this document library file entry type

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLFileEntryTypeModel
Sets the create date of this document library file entry type.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface DLFileEntryTypeModel
Parameters:
createDate - the create date of this document library file entry type

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: DLFileEntryTypeModel
Returns the modified date of this document library file entry type.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface DLFileEntryTypeModel
Returns:
the modified date of this document library file entry type

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLFileEntryTypeModel
Sets the modified date of this document library file entry type.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface DLFileEntryTypeModel
Parameters:
modifiedDate - the modified date of this document library file entry type

getName

@JSON
public String getName()
Description copied from interface: DLFileEntryTypeModel
Returns the name of this document library file entry type.

Specified by:
getName in interface DLFileEntryTypeModel
Returns:
the name of this document library file entry type

setName

public void setName(String name)
Description copied from interface: DLFileEntryTypeModel
Sets the name of this document library file entry type.

Specified by:
setName in interface DLFileEntryTypeModel
Parameters:
name - the name of this document library file entry type

getOriginalName

public String getOriginalName()

getDescription

@JSON
public String getDescription()
Description copied from interface: DLFileEntryTypeModel
Returns the description of this document library file entry type.

Specified by:
getDescription in interface DLFileEntryTypeModel
Returns:
the description of this document library file entry type

setDescription

public void setDescription(String description)
Description copied from interface: DLFileEntryTypeModel
Sets the description of this document library file entry type.

Specified by:
setDescription in interface DLFileEntryTypeModel
Parameters:
description - the description of this document library file entry type

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLFileEntryType>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileEntryTypeModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileEntryType>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryType>
Specified by:
setExpandoBridgeAttributes in interface DLFileEntryTypeModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileEntryType>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLFileEntryType toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DLFileEntryType>
Specified by:
toEscapedModel in interface DLFileEntryTypeModel
Overrides:
toEscapedModel in class BaseModelImpl<DLFileEntryType>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLFileEntryType toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLFileEntryType>
Specified by:
toUnescapedModel in interface DLFileEntryTypeModel
Overrides:
toUnescapedModel in class BaseModelImpl<DLFileEntryType>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DLFileEntryType>
Specified by:
clone in interface DLFileEntryTypeModel
Specified by:
clone in class BaseModelImpl<DLFileEntryType>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileEntryType dlFileEntryType)
Specified by:
compareTo in interface DLFileEntryTypeModel
Specified by:
compareTo in interface Comparable<DLFileEntryType>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface DLFileEntryTypeModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DLFileEntryType>
Overrides:
resetOriginalValues in class BaseModelImpl<DLFileEntryType>

toCacheModel

public CacheModel<DLFileEntryType> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DLFileEntryType>
Specified by:
toCacheModel in interface DLFileEntryTypeModel
Overrides:
toCacheModel in class BaseModelImpl<DLFileEntryType>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface DLFileEntryTypeModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DLFileEntryType>
Specified by:
toXmlString in interface DLFileEntryTypeModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3