Liferay 6.0.3

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()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getExtension()
           
 String getExtraSettings()
           
 DLFileEntry getFileEntry()
           
 long getFileVersionId()
           
 long getFolderId()
           
 long getGroupId()
           
 String getIcon()
           
 String getName()
           
 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()
           
 DLFileVersion getWrappedDLFileVersion()
           
 int hashCode()
           
 boolean isApproved()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDraft()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isExpired()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPending()
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setChangeLog(String changeLog)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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()
           
 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()
Specified by:
getPrimaryKey in interface DLFileVersionModel

setPrimaryKey

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

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

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

getName

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

setName

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

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

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

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<DLFileVersion>
Specified by:
isEscapedModel in interface DLFileVersionModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

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

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

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 clone

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