Liferay 6.0.5

com.liferay.portlet.documentlibrary.model
Class DLFileVersionWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.model.DLFileVersionWrapper
All Implemented Interfaces:
BaseModel<DLFileVersion>, DLFileVersion, DLFileVersionModel, Serializable, Cloneable, Comparable<DLFileVersion>

public class DLFileVersionWrapper
extends Object
implements DLFileVersion

This class is a wrapper for DLFileVersion.

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

Constructor Summary
DLFileVersionWrapper(DLFileVersion dlFileVersion)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileVersion dlFileVersion)
           
 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.
 DLFileEntry getFileEntry()
           
 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 getIcon()
           
 String getName()
          Gets the name of this d l file version.
 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.
 DLFileVersion getWrappedDLFileVersion()
           
 int hashCode()
           
 boolean isApproved()
          Determines whether this d l file version is approved.
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
          Determines whether this d l file version is a draft.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isExpired()
          Determines whether this d l file version is expired.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
          Determines whether this d l file version is pending.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DLFileVersionWrapper

public DLFileVersionWrapper(DLFileVersion dlFileVersion)
Method Detail

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

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

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

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

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

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

isNew

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

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

setNew

public 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<DLFileVersion>
Specified by:
setNew in interface DLFileVersionModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

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

setCachedModel

public 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<DLFileVersion>
Specified by:
setCachedModel in interface DLFileVersionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

Specified by:
isEscapedModel in interface BaseModel<DLFileVersion>
Specified by:
isEscapedModel in interface DLFileVersionModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<DLFileVersion>
Specified by:
setEscapedModel in interface DLFileVersionModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

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

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 DLFileVersion
Specified by:
getExpandoBridge in interface DLFileVersionModel
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
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
Overrides:
clone in class Object
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>

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

getFileEntry

public DLFileEntry getFileEntry()
                         throws PortalException,
                                SystemException
Specified by:
getFileEntry in interface DLFileVersion
Throws:
PortalException
SystemException

getIcon

public String getIcon()
Specified by:
getIcon in interface DLFileVersion

getWrappedDLFileVersion

public DLFileVersion getWrappedDLFileVersion()

Liferay 6.0.5