Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.model
Interface DLFileRankModel

All Superinterfaces:
BaseModel<DLFileRank>, ClassedModel, Cloneable, Comparable<DLFileRank>, Serializable
All Known Subinterfaces:
DLFileRank
All Known Implementing Classes:
DLFileRankBaseImpl, DLFileRankImpl, DLFileRankModelImpl, DLFileRankWrapper

@ProviderType
public interface DLFileRankModel
extends BaseModel<DLFileRank>

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

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

See Also:
DLFileRank, DLFileRankImpl, DLFileRankModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileRank dlFileRank)
           
 boolean getActive()
          Returns the active of this document library file rank.
 long getCompanyId()
          Returns the company ID of this document library file rank.
 Date getCreateDate()
          Returns the create date of this document library file rank.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFileEntryId()
          Returns the file entry ID of this document library file rank.
 long getFileRankId()
          Returns the file rank ID of this document library file rank.
 long getGroupId()
          Returns the group ID of this document library file rank.
 long getPrimaryKey()
          Returns the primary key of this document library file rank.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this document library file rank.
 String getUserUuid()
          Returns the user uuid of this document library file rank.
 int hashCode()
           
 boolean isActive()
          Returns true if this document library file rank is active.
 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 setActive(boolean active)
          Sets whether this document library file rank is active.
 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 file rank.
 void setCreateDate(Date createDate)
          Sets the create date of this document library file rank.
 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 rank.
 void setFileRankId(long fileRankId)
          Sets the file rank ID of this document library file rank.
 void setGroupId(long groupId)
          Sets the group ID of this document library file rank.
 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 rank.
 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 rank.
 void setUserUuid(String userUuid)
          Sets the user uuid of this document library file rank.
 CacheModel<DLFileRank> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLFileRank toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 DLFileRank 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 rank.

Returns:
the primary key of this document library file rank

setPrimaryKey

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

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

getFileRankId

long getFileRankId()
Returns the file rank ID of this document library file rank.

Returns:
the file rank ID of this document library file rank

setFileRankId

void setFileRankId(long fileRankId)
Sets the file rank ID of this document library file rank.

Parameters:
fileRankId - the file rank ID of this document library file rank

getGroupId

long getGroupId()
Returns the group ID of this document library file rank.

Returns:
the group ID of this document library file rank

setGroupId

void setGroupId(long groupId)
Sets the group ID of this document library file rank.

Parameters:
groupId - the group ID of this document library file rank

getCompanyId

long getCompanyId()
Returns the company ID of this document library file rank.

Returns:
the company ID of this document library file rank

setCompanyId

void setCompanyId(long companyId)
Sets the company ID of this document library file rank.

Parameters:
companyId - the company ID of this document library file rank

getUserId

long getUserId()
Returns the user ID of this document library file rank.

Returns:
the user ID of this document library file rank

setUserId

void setUserId(long userId)
Sets the user ID of this document library file rank.

Parameters:
userId - the user ID of this document library file rank

getUserUuid

String getUserUuid()
                   throws SystemException
Returns the user uuid of this document library file rank.

Returns:
the user uuid of this document library file rank
Throws:
SystemException - if a system exception occurred

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this document library file rank.

Parameters:
userUuid - the user uuid of this document library file rank

getCreateDate

Date getCreateDate()
Returns the create date of this document library file rank.

Returns:
the create date of this document library file rank

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this document library file rank.

Parameters:
createDate - the create date of this document library file rank

getFileEntryId

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

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

setFileEntryId

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

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

getActive

boolean getActive()
Returns the active of this document library file rank.

Returns:
the active of this document library file rank

isActive

boolean isActive()
Returns true if this document library file rank is active.

Returns:
true if this document library file rank is active; false otherwise

setActive

void setActive(boolean active)
Sets whether this document library file rank is active.

Parameters:
active - the active of this document library file rank

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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>
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<DLFileRank>

setExpandoBridgeAttributes

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

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<DLFileRank>
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<DLFileRank>
Returns:
the shallow clone of this model instance

compareTo

int compareTo(DLFileRank dlFileRank)
Specified by:
compareTo in interface Comparable<DLFileRank>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<DLFileRank>
Returns:
the cache model object

toEscapedModel

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

toUnescapedModel

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

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<DLFileRank>
Returns:
the XML representation of this model instance

Liferay 6.2-ce-ga5