Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileVersion>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
All Implemented Interfaces:
BaseModel<DLFileVersion>, DLFileVersionModel, Serializable, Cloneable, Comparable<DLFileVersion>
Direct Known Subclasses:
DLFileVersionImpl

public class DLFileVersionModelImpl
extends BaseModelImpl<DLFileVersion>
implements DLFileVersionModel

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

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

Never modify or reference this class directly. All methods that expect a d l file version model instance should use the DLFileVersion interface instead.

See Also:
DLFileVersionImpl, DLFileVersion, DLFileVersionModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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
           
 
Constructor Summary
DLFileVersionModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileVersion dlFileVersion)
           
 boolean equals(Object obj)
           
 String getChangeLog()
          Gets the change log of this d l file version.
 long getCompanyId()
          Gets the company id of this d l file version.
 Date getCreateDate()
          Gets the create date of this d l file version.
 String getDescription()
          Gets the description of this d l file version.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getExtension()
          Gets the extension of this d l file version.
 String getExtraSettings()
          Gets the extra settings of this d l file version.
 long getFileVersionId()
          Gets the file version id of this d l file version.
 long getFolderId()
          Gets the folder id of this d l file version.
 long getGroupId()
          Gets the group id of this d l file version.
 String getName()
          Gets the name of this d l file version.
 long getOriginalFolderId()
           
 long getOriginalGroupId()
           
 String getOriginalName()
           
 String getOriginalVersion()
           
 long getPrimaryKey()
          Gets the primary key of this d l file version.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getSize()
          Gets the size of this d l file version.
 int getStatus()
          Gets the status of this d l file version.
 long getStatusByUserId()
          Gets the status by user id of this d l file version.
 String getStatusByUserName()
          Gets the status by user name of this d l file version.
 String getStatusByUserUuid()
          Gets the status by user uuid of this d l file version.
 Date getStatusDate()
          Gets the status date of this d l file version.
 String getTitle()
          Gets the title of this d l file version.
 long getUserId()
          Gets the user id of this d l file version.
 String getUserName()
          Gets the user name of this d l file version.
 String getUserUuid()
          Gets the user uuid of this d l file version.
 String getVersion()
          Gets the version of this d l file version.
 int hashCode()
           
 boolean isApproved()
          Determines whether this d l file version is approved.
 boolean isDraft()
          Determines whether this d l file version is a draft.
 boolean isExpired()
          Determines whether this d l file version is expired.
 boolean isPending()
          Determines whether this d l file version is pending.
 void setChangeLog(String changeLog)
          Sets the change log of this d l file version.
 void setCompanyId(long companyId)
          Sets the company id of this d l file version.
 void setCreateDate(Date createDate)
          Sets the create date of this d l file version.
 void setDescription(String description)
          Sets the description of this d l file version.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setExtension(String extension)
          Sets the extension of this d l file version.
 void setExtraSettings(String extraSettings)
          Sets the extra settings of this d l file version.
 void setFileVersionId(long fileVersionId)
          Sets the file version id of this d l file version.
 void setFolderId(long folderId)
          Sets the folder id of this d l file version.
 void setGroupId(long groupId)
          Sets the group id of this d l file version.
 void setName(String name)
          Sets the name of this d l file version.
 void setPrimaryKey(long pk)
          Sets the primary key of this d l file version
 void setSize(long size)
          Sets the size of this d l file version.
 void setStatus(int status)
          Sets the status of this d l file version.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user id of this d l file version.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this d l file version.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this d l file version.
 void setStatusDate(Date statusDate)
          Sets the status date of this d l file version.
 void setTitle(String title)
          Sets the title of this d l file version.
 void setUserId(long userId)
          Sets the user id of this d l file version.
 void setUserName(String userName)
          Sets the user name of this d l file version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this d l file version.
 void setVersion(String version)
          Sets the version of this d l file version.
 DLFileVersion toEscapedModel()
          Gets a copy of this d l file version as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLFileVersion toModel(DLFileVersionSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileVersion> toModels(DLFileVersionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileVersionModelImpl

public DLFileVersionModelImpl()
Method Detail

toModel

public static DLFileVersion toModel(DLFileVersionSoap 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<DLFileVersion> toModels(DLFileVersionSoap[] 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: DLFileVersionModel
Gets the primary key of this d l file version.

Specified by:
getPrimaryKey in interface DLFileVersionModel
Returns:
the primary key of this d l file version

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: DLFileVersionModel
Sets the primary key of this d l file version

Specified by:
setPrimaryKey in interface DLFileVersionModel
Parameters:
pk - the primary key of this d l file version

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileVersion>
Specified by:
getPrimaryKeyObj in interface DLFileVersionModel
Returns:
the primary key of this model instance

getFileVersionId

public long getFileVersionId()
Description copied from interface: DLFileVersionModel
Gets the file version id of this d l file version.

Specified by:
getFileVersionId in interface DLFileVersionModel
Returns:
the file version id of this d l file version

setFileVersionId

public void setFileVersionId(long fileVersionId)
Description copied from interface: DLFileVersionModel
Sets the file version id of this d l file version.

Specified by:
setFileVersionId in interface DLFileVersionModel
Parameters:
fileVersionId - the file version id of this d l file version

getGroupId

public long getGroupId()
Description copied from interface: DLFileVersionModel
Gets the group id of this d l file version.

Specified by:
getGroupId in interface DLFileVersionModel
Returns:
the group id of this d l file version

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileVersionModel
Sets the group id of this d l file version.

Specified by:
setGroupId in interface DLFileVersionModel
Parameters:
groupId - the group id of this d l file version

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: DLFileVersionModel
Gets the company id of this d l file version.

Specified by:
getCompanyId in interface DLFileVersionModel
Returns:
the company id of this d l file version

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileVersionModel
Sets the company id of this d l file version.

Specified by:
setCompanyId in interface DLFileVersionModel
Parameters:
companyId - the company id of this d l file version

getUserId

public long getUserId()
Description copied from interface: DLFileVersionModel
Gets the user id of this d l file version.

Specified by:
getUserId in interface DLFileVersionModel
Returns:
the user id of this d l file version

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileVersionModel
Sets the user id of this d l file version.

Specified by:
setUserId in interface DLFileVersionModel
Parameters:
userId - the user id of this d l file version

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileVersionModel
Gets the user uuid of this d l file version.

Specified by:
getUserUuid in interface DLFileVersionModel
Returns:
the user uuid of this d l file version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DLFileVersionModel
Sets the user uuid of this d l file version.

Specified by:
setUserUuid in interface DLFileVersionModel
Parameters:
userUuid - the user uuid of this d l file version

getUserName

public String getUserName()
Description copied from interface: DLFileVersionModel
Gets the user name of this d l file version.

Specified by:
getUserName in interface DLFileVersionModel
Returns:
the user name of this d l file version

setUserName

public void setUserName(String userName)
Description copied from interface: DLFileVersionModel
Sets the user name of this d l file version.

Specified by:
setUserName in interface DLFileVersionModel
Parameters:
userName - the user name of this d l file version

getCreateDate

public Date getCreateDate()
Description copied from interface: DLFileVersionModel
Gets the create date of this d l file version.

Specified by:
getCreateDate in interface DLFileVersionModel
Returns:
the create date of this d l file version

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLFileVersionModel
Sets the create date of this d l file version.

Specified by:
setCreateDate in interface DLFileVersionModel
Parameters:
createDate - the create date of this d l file version

getFolderId

public long getFolderId()
Description copied from interface: DLFileVersionModel
Gets the folder id of this d l file version.

Specified by:
getFolderId in interface DLFileVersionModel
Returns:
the folder id of this d l file version

setFolderId

public void setFolderId(long folderId)
Description copied from interface: DLFileVersionModel
Sets the folder id of this d l file version.

Specified by:
setFolderId in interface DLFileVersionModel
Parameters:
folderId - the folder id of this d l file version

getOriginalFolderId

public long getOriginalFolderId()

getName

public String getName()
Description copied from interface: DLFileVersionModel
Gets the name of this d l file version.

Specified by:
getName in interface DLFileVersionModel
Returns:
the name of this d l file version

setName

public void setName(String name)
Description copied from interface: DLFileVersionModel
Sets the name of this d l file version.

Specified by:
setName in interface DLFileVersionModel
Parameters:
name - the name of this d l file version

getOriginalName

public String getOriginalName()

getExtension

public String getExtension()
Description copied from interface: DLFileVersionModel
Gets the extension of this d l file version.

Specified by:
getExtension in interface DLFileVersionModel
Returns:
the extension of this d l file version

setExtension

public void setExtension(String extension)
Description copied from interface: DLFileVersionModel
Sets the extension of this d l file version.

Specified by:
setExtension in interface DLFileVersionModel
Parameters:
extension - the extension of this d l file version

getTitle

public String getTitle()
Description copied from interface: DLFileVersionModel
Gets the title of this d l file version.

Specified by:
getTitle in interface DLFileVersionModel
Returns:
the title of this d l file version

setTitle

public void setTitle(String title)
Description copied from interface: DLFileVersionModel
Sets the title of this d l file version.

Specified by:
setTitle in interface DLFileVersionModel
Parameters:
title - the title of this d l file version

getDescription

public String getDescription()
Description copied from interface: DLFileVersionModel
Gets the description of this d l file version.

Specified by:
getDescription in interface DLFileVersionModel
Returns:
the description of this d l file version

setDescription

public void setDescription(String description)
Description copied from interface: DLFileVersionModel
Sets the description of this d l file version.

Specified by:
setDescription in interface DLFileVersionModel
Parameters:
description - the description of this d l file version

getChangeLog

public String getChangeLog()
Description copied from interface: DLFileVersionModel
Gets the change log of this d l file version.

Specified by:
getChangeLog in interface DLFileVersionModel
Returns:
the change log of this d l file version

setChangeLog

public void setChangeLog(String changeLog)
Description copied from interface: DLFileVersionModel
Sets the change log of this d l file version.

Specified by:
setChangeLog in interface DLFileVersionModel
Parameters:
changeLog - the change log of this d l file version

getExtraSettings

public String getExtraSettings()
Description copied from interface: DLFileVersionModel
Gets the extra settings of this d l file version.

Specified by:
getExtraSettings in interface DLFileVersionModel
Returns:
the extra settings of this d l file version

setExtraSettings

public void setExtraSettings(String extraSettings)
Description copied from interface: DLFileVersionModel
Sets the extra settings of this d l file version.

Specified by:
setExtraSettings in interface DLFileVersionModel
Parameters:
extraSettings - the extra settings of this d l file version

getVersion

public String getVersion()
Description copied from interface: DLFileVersionModel
Gets the version of this d l file version.

Specified by:
getVersion in interface DLFileVersionModel
Returns:
the version of this d l file version

setVersion

public void setVersion(String version)
Description copied from interface: DLFileVersionModel
Sets the version of this d l file version.

Specified by:
setVersion in interface DLFileVersionModel
Parameters:
version - the version of this d l file version

getOriginalVersion

public String getOriginalVersion()

getSize

public long getSize()
Description copied from interface: DLFileVersionModel
Gets the size of this d l file version.

Specified by:
getSize in interface DLFileVersionModel
Returns:
the size of this d l file version

setSize

public void setSize(long size)
Description copied from interface: DLFileVersionModel
Sets the size of this d l file version.

Specified by:
setSize in interface DLFileVersionModel
Parameters:
size - the size of this d l file version

getStatus

public int getStatus()
Description copied from interface: DLFileVersionModel
Gets the status of this d l file version.

Specified by:
getStatus in interface DLFileVersionModel
Returns:
the status of this d l file version

setStatus

public void setStatus(int status)
Description copied from interface: DLFileVersionModel
Sets the status of this d l file version.

Specified by:
setStatus in interface DLFileVersionModel
Parameters:
status - the status of this d l file version

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: DLFileVersionModel
Gets the status by user id of this d l file version.

Specified by:
getStatusByUserId in interface DLFileVersionModel
Returns:
the status by user id of this d l file version

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: DLFileVersionModel
Sets the status by user id of this d l file version.

Specified by:
setStatusByUserId in interface DLFileVersionModel
Parameters:
statusByUserId - the status by user id of this d l file version

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: DLFileVersionModel
Gets the status by user uuid of this d l file version.

Specified by:
getStatusByUserUuid in interface DLFileVersionModel
Returns:
the status by user uuid of this d l file version
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: DLFileVersionModel
Sets the status by user uuid of this d l file version.

Specified by:
setStatusByUserUuid in interface DLFileVersionModel
Parameters:
statusByUserUuid - the status by user uuid of this d l file version

getStatusByUserName

public String getStatusByUserName()
Description copied from interface: DLFileVersionModel
Gets the status by user name of this d l file version.

Specified by:
getStatusByUserName in interface DLFileVersionModel
Returns:
the status by user name of this d l file version

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: DLFileVersionModel
Sets the status by user name of this d l file version.

Specified by:
setStatusByUserName in interface DLFileVersionModel
Parameters:
statusByUserName - the status by user name of this d l file version

getStatusDate

public Date getStatusDate()
Description copied from interface: DLFileVersionModel
Gets the status date of this d l file version.

Specified by:
getStatusDate in interface DLFileVersionModel
Returns:
the status date of this d l file version

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: DLFileVersionModel
Sets the status date of this d l file version.

Specified by:
setStatusDate in interface DLFileVersionModel
Parameters:
statusDate - the status date of this d l file version

isApproved

public boolean isApproved()
Description copied from interface: DLFileVersionModel
Determines whether this d l file version is approved.

Specified by:
isApproved in interface DLFileVersionModel
Returns:
true if this d l file version is approved; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: DLFileVersionModel
Determines whether this d l file version is a draft.

Specified by:
isDraft in interface DLFileVersionModel
Returns:
true if this d l file version is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: DLFileVersionModel
Determines whether this d l file version is expired.

Specified by:
isExpired in interface DLFileVersionModel
Returns:
true if this d l file version is expired; false otherwise

isPending

public boolean isPending()
Description copied from interface: DLFileVersionModel
Determines whether this d l file version is pending.

Specified by:
isPending in interface DLFileVersionModel
Returns:
true if this d l file version is pending; false otherwise

toEscapedModel

public DLFileVersion toEscapedModel()
Description copied from interface: DLFileVersionModel
Gets a copy of this d l file version as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface DLFileVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<DLFileVersion>
Specified by:
getExpandoBridge in interface DLFileVersionModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileVersion>
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<DLFileVersion>
Specified by:
setExpandoBridgeAttributes in interface DLFileVersionModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileVersion>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

public int compareTo(DLFileVersion dlFileVersion)
Specified by:
compareTo in interface DLFileVersionModel
Specified by:
compareTo in interface Comparable<DLFileVersion>

equals

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

hashCode

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

toString

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

toXmlString

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

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

Liferay 6.0.5