Liferay 6.0.3

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

This interface is a model that represents the DLFileVersion table in the database.

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()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getExtension()
           
 String getExtraSettings()
           
 long getFileVersionId()
           
 long getFolderId()
           
 long getGroupId()
           
 String getName()
           
 long getOriginalFolderId()
           
 long getOriginalGroupId()
           
 String getOriginalName()
           
 String getOriginalVersion()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 long getSize()
           
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 String getTitle()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getVersion()
           
 int hashCode()
           
 boolean isApproved()
           
 boolean isDraft()
           
 boolean isExpired()
           
 boolean isPending()
           
 void setChangeLog(String changeLog)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 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)
           
 void setExtraSettings(String extraSettings)
           
 void setFileVersionId(long fileVersionId)
           
 void setFolderId(long folderId)
           
 void setGroupId(long groupId)
           
 void setName(String name)
           
 void setPrimaryKey(long pk)
           
 void setSize(long size)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(String statusByUserName)
           
 void setStatusByUserUuid(String statusByUserUuid)
           
 void setStatusDate(Date statusDate)
           
 void setTitle(String title)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setVersion(String version)
           
 DLFileVersion toEscapedModel()
           
static DLFileVersion toModel(DLFileVersionSoap soapModel)
           
static List<DLFileVersion> toModels(DLFileVersionSoap[] soapModels)
           
 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)

toModels

public static List<DLFileVersion> toModels(DLFileVersionSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface DLFileVersionModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface DLFileVersionModel

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileVersion>
Specified by:
getPrimaryKeyObj in interface DLFileVersionModel
Returns:
the primary key

getFileVersionId

public long getFileVersionId()
Specified by:
getFileVersionId in interface DLFileVersionModel

setFileVersionId

public void setFileVersionId(long fileVersionId)
Specified by:
setFileVersionId in interface DLFileVersionModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface DLFileVersionModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface DLFileVersionModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface DLFileVersionModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface DLFileVersionModel

getUserId

public long getUserId()
Specified by:
getUserId in interface DLFileVersionModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface DLFileVersionModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface DLFileVersionModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface DLFileVersionModel

getUserName

public String getUserName()
Specified by:
getUserName in interface DLFileVersionModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface DLFileVersionModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface DLFileVersionModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface DLFileVersionModel

getFolderId

public long getFolderId()
Specified by:
getFolderId in interface DLFileVersionModel

setFolderId

public void setFolderId(long folderId)
Specified by:
setFolderId in interface DLFileVersionModel

getOriginalFolderId

public long getOriginalFolderId()

getName

public String getName()
Specified by:
getName in interface DLFileVersionModel

setName

public void setName(String name)
Specified by:
setName in interface DLFileVersionModel

getOriginalName

public String getOriginalName()

getExtension

public String getExtension()
Specified by:
getExtension in interface DLFileVersionModel

setExtension

public void setExtension(String extension)
Specified by:
setExtension in interface DLFileVersionModel

getTitle

public String getTitle()
Specified by:
getTitle in interface DLFileVersionModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface DLFileVersionModel

getDescription

public String getDescription()
Specified by:
getDescription in interface DLFileVersionModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface DLFileVersionModel

getChangeLog

public String getChangeLog()
Specified by:
getChangeLog in interface DLFileVersionModel

setChangeLog

public void setChangeLog(String changeLog)
Specified by:
setChangeLog in interface DLFileVersionModel

getExtraSettings

public String getExtraSettings()
Specified by:
getExtraSettings in interface DLFileVersionModel

setExtraSettings

public void setExtraSettings(String extraSettings)
Specified by:
setExtraSettings in interface DLFileVersionModel

getVersion

public String getVersion()
Specified by:
getVersion in interface DLFileVersionModel

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface DLFileVersionModel

getOriginalVersion

public String getOriginalVersion()

getSize

public long getSize()
Specified by:
getSize in interface DLFileVersionModel

setSize

public void setSize(long size)
Specified by:
setSize in interface DLFileVersionModel

getStatus

public int getStatus()
Specified by:
getStatus in interface DLFileVersionModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface DLFileVersionModel

getStatusByUserId

public long getStatusByUserId()
Specified by:
getStatusByUserId in interface DLFileVersionModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface DLFileVersionModel

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Specified by:
getStatusByUserUuid in interface DLFileVersionModel
Throws:
SystemException

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface DLFileVersionModel

getStatusByUserName

public String getStatusByUserName()
Specified by:
getStatusByUserName in interface DLFileVersionModel

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Specified by:
setStatusByUserName in interface DLFileVersionModel

getStatusDate

public Date getStatusDate()
Specified by:
getStatusDate in interface DLFileVersionModel

setStatusDate

public void setStatusDate(Date statusDate)
Specified by:
setStatusDate in interface DLFileVersionModel

isApproved

public boolean isApproved()
Specified by:
isApproved in interface DLFileVersionModel

isDraft

public boolean isDraft()
Specified by:
isDraft in interface DLFileVersionModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface DLFileVersionModel

isPending

public boolean isPending()
Specified by:
isPending in interface DLFileVersionModel

toEscapedModel

public DLFileVersion toEscapedModel()
Specified by:
toEscapedModel in interface DLFileVersionModel

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

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 clone

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.3