Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileEntry>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
All Implemented Interfaces:
BaseModel<DLFileEntry>, DLFileEntryModel, Serializable, Cloneable, Comparable<DLFileEntry>
Direct Known Subclasses:
DLFileEntryImpl

public class DLFileEntryModelImpl
extends BaseModelImpl<DLFileEntry>
implements DLFileEntryModel

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

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

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

See Also:
DLFileEntryImpl, DLFileEntry, DLFileEntryModel, 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
DLFileEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileEntry dlFileEntry)
           
 boolean equals(Object obj)
           
 long getCompanyId()
          Gets the company id of this d l file entry.
 Date getCreateDate()
          Gets the create date of this d l file entry.
 String getDescription()
          Gets the description of this d l file entry.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getExtension()
          Gets the extension of this d l file entry.
 String getExtraSettings()
          Gets the extra settings of this d l file entry.
 long getFileEntryId()
          Gets the file entry id of this d l file entry.
 long getFolderId()
          Gets the folder id of this d l file entry.
 long getGroupId()
          Gets the group id of this d l file entry.
 Date getModifiedDate()
          Gets the modified date of this d l file entry.
 String getName()
          Gets the name of this d l file entry.
 long getOriginalFolderId()
           
 long getOriginalGroupId()
           
 String getOriginalName()
           
 String getOriginalTitle()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Gets the primary key of this d l file entry.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getReadCount()
          Gets the read count of this d l file entry.
 long getSize()
          Gets the size of this d l file entry.
 String getTitle()
          Gets the title of this d l file entry.
 long getUserId()
          Gets the user id of this d l file entry.
 String getUserName()
          Gets the user name of this d l file entry.
 String getUserUuid()
          Gets the user uuid of this d l file entry.
 String getUuid()
          Gets the uuid of this d l file entry.
 String getVersion()
          Gets the version of this d l file entry.
 long getVersionUserId()
          Gets the version user id of this d l file entry.
 String getVersionUserName()
          Gets the version user name of this d l file entry.
 String getVersionUserUuid()
          Gets the version user uuid of this d l file entry.
 int hashCode()
           
 void setCompanyId(long companyId)
          Sets the company id of this d l file entry.
 void setCreateDate(Date createDate)
          Sets the create date of this d l file entry.
 void setDescription(String description)
          Sets the description of this d l file entry.
 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 entry.
 void setExtraSettings(String extraSettings)
          Sets the extra settings of this d l file entry.
 void setFileEntryId(long fileEntryId)
          Sets the file entry id of this d l file entry.
 void setFolderId(long folderId)
          Sets the folder id of this d l file entry.
 void setGroupId(long groupId)
          Sets the group id of this d l file entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this d l file entry.
 void setName(String name)
          Sets the name of this d l file entry.
 void setPrimaryKey(long pk)
          Sets the primary key of this d l file entry
 void setReadCount(int readCount)
          Sets the read count of this d l file entry.
 void setSize(long size)
          Sets the size of this d l file entry.
 void setTitle(String title)
          Sets the title of this d l file entry.
 void setUserId(long userId)
          Sets the user id of this d l file entry.
 void setUserName(String userName)
          Sets the user name of this d l file entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this d l file entry.
 void setUuid(String uuid)
          Sets the uuid of this d l file entry.
 void setVersion(String version)
          Sets the version of this d l file entry.
 void setVersionUserId(long versionUserId)
          Sets the version user id of this d l file entry.
 void setVersionUserName(String versionUserName)
          Sets the version user name of this d l file entry.
 void setVersionUserUuid(String versionUserUuid)
          Sets the version user uuid of this d l file entry.
 DLFileEntry toEscapedModel()
          Gets a copy of this d l file entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLFileEntry toModel(DLFileEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileEntry> toModels(DLFileEntrySoap[] 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.DLFileEntryModel
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

DLFileEntryModelImpl

public DLFileEntryModelImpl()
Method Detail

toModel

public static DLFileEntry toModel(DLFileEntrySoap 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<DLFileEntry> toModels(DLFileEntrySoap[] 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: DLFileEntryModel
Gets the primary key of this d l file entry.

Specified by:
getPrimaryKey in interface DLFileEntryModel
Returns:
the primary key of this d l file entry

setPrimaryKey

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

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

getPrimaryKeyObj

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

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

getUuid

public String getUuid()
Description copied from interface: DLFileEntryModel
Gets the uuid of this d l file entry.

Specified by:
getUuid in interface DLFileEntryModel
Returns:
the uuid of this d l file entry

setUuid

public void setUuid(String uuid)
Description copied from interface: DLFileEntryModel
Sets the uuid of this d l file entry.

Specified by:
setUuid in interface DLFileEntryModel
Parameters:
uuid - the uuid of this d l file entry

getOriginalUuid

public String getOriginalUuid()

getFileEntryId

public long getFileEntryId()
Description copied from interface: DLFileEntryModel
Gets the file entry id of this d l file entry.

Specified by:
getFileEntryId in interface DLFileEntryModel
Returns:
the file entry id of this d l file entry

setFileEntryId

public void setFileEntryId(long fileEntryId)
Description copied from interface: DLFileEntryModel
Sets the file entry id of this d l file entry.

Specified by:
setFileEntryId in interface DLFileEntryModel
Parameters:
fileEntryId - the file entry id of this d l file entry

getGroupId

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

Specified by:
getGroupId in interface DLFileEntryModel
Returns:
the group id of this d l file entry

setGroupId

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

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

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

Specified by:
getCompanyId in interface DLFileEntryModel
Returns:
the company id of this d l file entry

setCompanyId

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

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

getUserId

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

Specified by:
getUserId in interface DLFileEntryModel
Returns:
the user id of this d l file entry

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getUserName

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

Specified by:
getUserName in interface DLFileEntryModel
Returns:
the user name of this d l file entry

setUserName

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

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

getVersionUserId

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

Specified by:
getVersionUserId in interface DLFileEntryModel
Returns:
the version user id of this d l file entry

setVersionUserId

public void setVersionUserId(long versionUserId)
Description copied from interface: DLFileEntryModel
Sets the version user id of this d l file entry.

Specified by:
setVersionUserId in interface DLFileEntryModel
Parameters:
versionUserId - the version user id of this d l file entry

getVersionUserUuid

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

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

setVersionUserUuid

public void setVersionUserUuid(String versionUserUuid)
Description copied from interface: DLFileEntryModel
Sets the version user uuid of this d l file entry.

Specified by:
setVersionUserUuid in interface DLFileEntryModel
Parameters:
versionUserUuid - the version user uuid of this d l file entry

getVersionUserName

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

Specified by:
getVersionUserName in interface DLFileEntryModel
Returns:
the version user name of this d l file entry

setVersionUserName

public void setVersionUserName(String versionUserName)
Description copied from interface: DLFileEntryModel
Sets the version user name of this d l file entry.

Specified by:
setVersionUserName in interface DLFileEntryModel
Parameters:
versionUserName - the version user name of this d l file entry

getCreateDate

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

Specified by:
getCreateDate in interface DLFileEntryModel
Returns:
the create date of this d l file entry

setCreateDate

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

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

getModifiedDate

public Date getModifiedDate()
Description copied from interface: DLFileEntryModel
Gets the modified date of this d l file entry.

Specified by:
getModifiedDate in interface DLFileEntryModel
Returns:
the modified date of this d l file entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLFileEntryModel
Sets the modified date of this d l file entry.

Specified by:
setModifiedDate in interface DLFileEntryModel
Parameters:
modifiedDate - the modified date of this d l file entry

getFolderId

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

Specified by:
getFolderId in interface DLFileEntryModel
Returns:
the folder id of this d l file entry

setFolderId

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

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

getOriginalFolderId

public long getOriginalFolderId()

getName

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

Specified by:
getName in interface DLFileEntryModel
Returns:
the name of this d l file entry

setName

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

Specified by:
setName in interface DLFileEntryModel
Parameters:
name - the name of this d l file entry

getOriginalName

public String getOriginalName()

getExtension

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

Specified by:
getExtension in interface DLFileEntryModel
Returns:
the extension of this d l file entry

setExtension

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

Specified by:
setExtension in interface DLFileEntryModel
Parameters:
extension - the extension of this d l file entry

getTitle

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

Specified by:
getTitle in interface DLFileEntryModel
Returns:
the title of this d l file entry

setTitle

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

Specified by:
setTitle in interface DLFileEntryModel
Parameters:
title - the title of this d l file entry

getOriginalTitle

public String getOriginalTitle()

getDescription

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

Specified by:
getDescription in interface DLFileEntryModel
Returns:
the description of this d l file entry

setDescription

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

Specified by:
setDescription in interface DLFileEntryModel
Parameters:
description - the description of this d l file entry

getExtraSettings

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

Specified by:
getExtraSettings in interface DLFileEntryModel
Returns:
the extra settings of this d l file entry

setExtraSettings

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

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

getVersion

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

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

setVersion

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

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

getSize

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

Specified by:
getSize in interface DLFileEntryModel
Returns:
the size of this d l file entry

setSize

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

Specified by:
setSize in interface DLFileEntryModel
Parameters:
size - the size of this d l file entry

getReadCount

public int getReadCount()
Description copied from interface: DLFileEntryModel
Gets the read count of this d l file entry.

Specified by:
getReadCount in interface DLFileEntryModel
Returns:
the read count of this d l file entry

setReadCount

public void setReadCount(int readCount)
Description copied from interface: DLFileEntryModel
Sets the read count of this d l file entry.

Specified by:
setReadCount in interface DLFileEntryModel
Parameters:
readCount - the read count of this d l file entry

toEscapedModel

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

Specified by:
toEscapedModel in interface DLFileEntryModel
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<DLFileEntry>
Specified by:
getExpandoBridge in interface DLFileEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileEntry>
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<DLFileEntry>
Specified by:
setExpandoBridgeAttributes in interface DLFileEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileEntry>
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<DLFileEntry>
Specified by:
clone in interface DLFileEntryModel
Specified by:
clone in class BaseModelImpl<DLFileEntry>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileEntry dlFileEntry)
Specified by:
compareTo in interface DLFileEntryModel
Specified by:
compareTo in interface Comparable<DLFileEntry>

equals

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

hashCode

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

toString

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

Liferay 6.0.5