Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileEntryMetadata>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl
All Implemented Interfaces:
BaseModel<DLFileEntryMetadata>, ClassedModel, DLFileEntryMetadataModel, Serializable, Cloneable, Comparable<DLFileEntryMetadata>
Direct Known Subclasses:
DLFileEntryMetadataBaseImpl

public class DLFileEntryMetadataModelImpl
extends BaseModelImpl<DLFileEntryMetadata>
implements DLFileEntryMetadataModel

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

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

See Also:
DLFileEntryMetadataImpl, DLFileEntryMetadata, DLFileEntryMetadataModel, 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 long DDMSTRUCTUREID_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static long FILEENTRYID_COLUMN_BITMASK
           
static long FILEENTRYTYPEID_COLUMN_BITMASK
           
static long FILEVERSIONID_COLUMN_BITMASK
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
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
DLFileEntryMetadataModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getDDMStorageId()
          Returns the d d m storage ID of this document library file entry metadata.
 long getDDMStructureId()
          Returns the d d m structure ID of this document library file entry metadata.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFileEntryId()
          Returns the file entry ID of this document library file entry metadata.
 long getFileEntryMetadataId()
          Returns the file entry metadata ID of this document library file entry metadata.
 long getFileEntryTypeId()
          Returns the file entry type ID of this document library file entry metadata.
 long getFileVersionId()
          Returns the file version ID of this document library file entry metadata.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalDDMStructureId()
           
 long getOriginalFileEntryId()
           
 long getOriginalFileEntryTypeId()
           
 long getOriginalFileVersionId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this document library file entry metadata.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getUuid()
          Returns the uuid of this document library file entry metadata.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setDDMStorageId(long DDMStorageId)
          Sets the d d m storage ID of this document library file entry metadata.
 void setDDMStructureId(long DDMStructureId)
          Sets the d d m structure ID of this document library file entry metadata.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFileEntryId(long fileEntryId)
          Sets the file entry ID of this document library file entry metadata.
 void setFileEntryMetadataId(long fileEntryMetadataId)
          Sets the file entry metadata ID of this document library file entry metadata.
 void setFileEntryTypeId(long fileEntryTypeId)
          Sets the file entry type ID of this document library file entry metadata.
 void setFileVersionId(long fileVersionId)
          Sets the file version ID of this document library file entry metadata.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this document library file entry metadata.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUuid(String uuid)
          Sets the uuid of this document library file entry metadata.
 CacheModel<DLFileEntryMetadata> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLFileEntryMetadata toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 DLFileEntryMetadata 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.DLFileEntryMetadataModel
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

DDMSTRUCTUREID_COLUMN_BITMASK

public static long DDMSTRUCTUREID_COLUMN_BITMASK

FILEENTRYID_COLUMN_BITMASK

public static long FILEENTRYID_COLUMN_BITMASK

FILEENTRYTYPEID_COLUMN_BITMASK

public static long FILEENTRYTYPEID_COLUMN_BITMASK

FILEVERSIONID_COLUMN_BITMASK

public static long FILEVERSIONID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileEntryMetadataModelImpl

public DLFileEntryMetadataModelImpl()
Method Detail

getPrimaryKey

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

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

setPrimaryKey

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLFileEntryMetadataModel
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<DLFileEntryMetadata>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLFileEntryMetadataModel
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<DLFileEntryMetadata>
Overrides:
getModelAttributes in class BaseModelImpl<DLFileEntryMetadata>

setModelAttributes

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

getUuid

public String getUuid()
Description copied from interface: DLFileEntryMetadataModel
Returns the uuid of this document library file entry metadata.

Specified by:
getUuid in interface DLFileEntryMetadataModel
Returns:
the uuid of this document library file entry metadata

setUuid

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

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

getOriginalUuid

public String getOriginalUuid()

getFileEntryMetadataId

public long getFileEntryMetadataId()
Description copied from interface: DLFileEntryMetadataModel
Returns the file entry metadata ID of this document library file entry metadata.

Specified by:
getFileEntryMetadataId in interface DLFileEntryMetadataModel
Returns:
the file entry metadata ID of this document library file entry metadata

setFileEntryMetadataId

public void setFileEntryMetadataId(long fileEntryMetadataId)
Description copied from interface: DLFileEntryMetadataModel
Sets the file entry metadata ID of this document library file entry metadata.

Specified by:
setFileEntryMetadataId in interface DLFileEntryMetadataModel
Parameters:
fileEntryMetadataId - the file entry metadata ID of this document library file entry metadata

getDDMStorageId

public long getDDMStorageId()
Description copied from interface: DLFileEntryMetadataModel
Returns the d d m storage ID of this document library file entry metadata.

Specified by:
getDDMStorageId in interface DLFileEntryMetadataModel
Returns:
the d d m storage ID of this document library file entry metadata

setDDMStorageId

public void setDDMStorageId(long DDMStorageId)
Description copied from interface: DLFileEntryMetadataModel
Sets the d d m storage ID of this document library file entry metadata.

Specified by:
setDDMStorageId in interface DLFileEntryMetadataModel
Parameters:
DDMStorageId - the d d m storage ID of this document library file entry metadata

getDDMStructureId

public long getDDMStructureId()
Description copied from interface: DLFileEntryMetadataModel
Returns the d d m structure ID of this document library file entry metadata.

Specified by:
getDDMStructureId in interface DLFileEntryMetadataModel
Returns:
the d d m structure ID of this document library file entry metadata

setDDMStructureId

public void setDDMStructureId(long DDMStructureId)
Description copied from interface: DLFileEntryMetadataModel
Sets the d d m structure ID of this document library file entry metadata.

Specified by:
setDDMStructureId in interface DLFileEntryMetadataModel
Parameters:
DDMStructureId - the d d m structure ID of this document library file entry metadata

getOriginalDDMStructureId

public long getOriginalDDMStructureId()

getFileEntryTypeId

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

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

setFileEntryTypeId

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

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

getOriginalFileEntryTypeId

public long getOriginalFileEntryTypeId()

getFileEntryId

public long getFileEntryId()
Description copied from interface: DLFileEntryMetadataModel
Returns the file entry ID of this document library file entry metadata.

Specified by:
getFileEntryId in interface DLFileEntryMetadataModel
Returns:
the file entry ID of this document library file entry metadata

setFileEntryId

public void setFileEntryId(long fileEntryId)
Description copied from interface: DLFileEntryMetadataModel
Sets the file entry ID of this document library file entry metadata.

Specified by:
setFileEntryId in interface DLFileEntryMetadataModel
Parameters:
fileEntryId - the file entry ID of this document library file entry metadata

getOriginalFileEntryId

public long getOriginalFileEntryId()

getFileVersionId

public long getFileVersionId()
Description copied from interface: DLFileEntryMetadataModel
Returns the file version ID of this document library file entry metadata.

Specified by:
getFileVersionId in interface DLFileEntryMetadataModel
Returns:
the file version ID of this document library file entry metadata

setFileVersionId

public void setFileVersionId(long fileVersionId)
Description copied from interface: DLFileEntryMetadataModel
Sets the file version ID of this document library file entry metadata.

Specified by:
setFileVersionId in interface DLFileEntryMetadataModel
Parameters:
fileVersionId - the file version ID of this document library file entry metadata

getOriginalFileVersionId

public long getOriginalFileVersionId()

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<DLFileEntryMetadata>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileEntryMetadataModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileEntryMetadata>
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<DLFileEntryMetadata>
Specified by:
setExpandoBridgeAttributes in interface DLFileEntryMetadataModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileEntryMetadata>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLFileEntryMetadata 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<DLFileEntryMetadata>
Specified by:
toEscapedModel in interface DLFileEntryMetadataModel
Overrides:
toEscapedModel in class BaseModelImpl<DLFileEntryMetadata>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLFileEntryMetadata toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLFileEntryMetadata>
Specified by:
toUnescapedModel in interface DLFileEntryMetadataModel
Overrides:
toUnescapedModel in class BaseModelImpl<DLFileEntryMetadata>

clone

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

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

compareTo

public int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
Specified by:
compareTo in interface DLFileEntryMetadataModel
Specified by:
compareTo in interface Comparable<DLFileEntryMetadata>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface DLFileEntryMetadataModel
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<DLFileEntryMetadata>
Overrides:
resetOriginalValues in class BaseModelImpl<DLFileEntryMetadata>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface DLFileEntryMetadataModel
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<DLFileEntryMetadata>
Specified by:
toXmlString in interface DLFileEntryMetadataModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3