Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.model
Interface DLFileEntryMetadataModel

All Superinterfaces:
BaseModel<DLFileEntryMetadata>, ClassedModel, Cloneable, Comparable<DLFileEntryMetadata>, Serializable
All Known Subinterfaces:
DLFileEntryMetadata
All Known Implementing Classes:
DLFileEntryMetadataWrapper

@ProviderType
public interface DLFileEntryMetadataModel
extends BaseModel<DLFileEntryMetadata>

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

This interface and its corresponding implementation DLFileEntryMetadataModelImpl 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:
DLFileEntryMetadata, DLFileEntryMetadataImpl, DLFileEntryMetadataModelImpl

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
           
 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.
 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()
           
 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 isNew()
          Returns true if this model instance does not yet exist in the database.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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 interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this document library file entry metadata.

Returns:
the primary key of this document library file entry metadata

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this document library file entry metadata.

Parameters:
primaryKey - the primary key of this document library file entry metadata

getUuid

@AutoEscape
String getUuid()
Returns the uuid of this document library file entry metadata.

Returns:
the uuid of this document library file entry metadata

setUuid

void setUuid(String uuid)
Sets the uuid of this document library file entry metadata.

Parameters:
uuid - the uuid of this document library file entry metadata

getFileEntryMetadataId

long getFileEntryMetadataId()
Returns the file entry metadata ID of this document library file entry metadata.

Returns:
the file entry metadata ID of this document library file entry metadata

setFileEntryMetadataId

void setFileEntryMetadataId(long fileEntryMetadataId)
Sets the file entry metadata ID of this document library file entry metadata.

Parameters:
fileEntryMetadataId - the file entry metadata ID of this document library file entry metadata

getDDMStorageId

long getDDMStorageId()
Returns the d d m storage ID of this document library file entry metadata.

Returns:
the d d m storage ID of this document library file entry metadata

setDDMStorageId

void setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this document library file entry metadata.

Parameters:
DDMStorageId - the d d m storage ID of this document library file entry metadata

getDDMStructureId

long getDDMStructureId()
Returns the d d m structure ID of this document library file entry metadata.

Returns:
the d d m structure ID of this document library file entry metadata

setDDMStructureId

void setDDMStructureId(long DDMStructureId)
Sets the d d m structure ID of this document library file entry metadata.

Parameters:
DDMStructureId - the d d m structure ID of this document library file entry metadata

getFileEntryTypeId

long getFileEntryTypeId()
Returns the file entry type ID of this document library file entry metadata.

Returns:
the file entry type ID of this document library file entry metadata

setFileEntryTypeId

void setFileEntryTypeId(long fileEntryTypeId)
Sets the file entry type ID of this document library file entry metadata.

Parameters:
fileEntryTypeId - the file entry type ID of this document library file entry metadata

getFileEntryId

long getFileEntryId()
Returns the file entry ID of this document library file entry metadata.

Returns:
the file entry ID of this document library file entry metadata

setFileEntryId

void setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file entry metadata.

Parameters:
fileEntryId - the file entry ID of this document library file entry metadata

getFileVersionId

long getFileVersionId()
Returns the file version ID of this document library file entry metadata.

Returns:
the file version ID of this document library file entry metadata

setFileVersionId

void setFileVersionId(long fileVersionId)
Sets the file version ID of this document library file entry metadata.

Parameters:
fileVersionId - the file version ID of this document library file entry metadata

isNew

boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DLFileEntryMetadata>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DLFileEntryMetadata>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DLFileEntryMetadata>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DLFileEntryMetadata>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DLFileEntryMetadata>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

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
Returns:
the primary key of this model instance

setPrimaryKeyObj

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
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>

setExpandoBridgeAttributes

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>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

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>
Returns:
the cache model object

toEscapedModel

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>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

DLFileEntryMetadata toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLFileEntryMetadata>

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.2-ce-ga5