|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileVersionWrapper
public class DLFileVersionWrapper
This class is a wrapper for DLFileVersion
.
DLFileVersion
,
Serialized FormConstructor Summary | |
---|---|
DLFileVersionWrapper(DLFileVersion dlFileVersion)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileVersion dlFileVersion)
|
boolean |
getApproved()
Deprecated. isApproved() |
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 entity 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 |
---|
public DLFileVersionWrapper(DLFileVersion dlFileVersion)
Method Detail |
---|
public long getPrimaryKey()
getPrimaryKey
in interface DLFileVersionModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface DLFileVersionModel
pk
- the primary key of this d l file versionpublic long getFileVersionId()
getFileVersionId
in interface DLFileVersionModel
public void setFileVersionId(long fileVersionId)
setFileVersionId
in interface DLFileVersionModel
fileVersionId
- the file version id of this d l file versionpublic long getGroupId()
getGroupId
in interface DLFileVersionModel
public void setGroupId(long groupId)
setGroupId
in interface DLFileVersionModel
groupId
- the group id of this d l file versionpublic long getCompanyId()
getCompanyId
in interface DLFileVersionModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLFileVersionModel
companyId
- the company id of this d l file versionpublic long getUserId()
getUserId
in interface DLFileVersionModel
public void setUserId(long userId)
setUserId
in interface DLFileVersionModel
userId
- the user id of this d l file versionpublic String getUserUuid() throws SystemException
getUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFileVersionModel
userUuid
- the user uuid of this d l file versionpublic String getUserName()
getUserName
in interface DLFileVersionModel
public void setUserName(String userName)
setUserName
in interface DLFileVersionModel
userName
- the user name of this d l file versionpublic Date getCreateDate()
getCreateDate
in interface DLFileVersionModel
public void setCreateDate(Date createDate)
setCreateDate
in interface DLFileVersionModel
createDate
- the create date of this d l file versionpublic long getFolderId()
getFolderId
in interface DLFileVersionModel
public void setFolderId(long folderId)
setFolderId
in interface DLFileVersionModel
folderId
- the folder id of this d l file versionpublic String getName()
getName
in interface DLFileVersionModel
public void setName(String name)
setName
in interface DLFileVersionModel
name
- the name of this d l file versionpublic String getExtension()
getExtension
in interface DLFileVersionModel
public void setExtension(String extension)
setExtension
in interface DLFileVersionModel
extension
- the extension of this d l file versionpublic String getTitle()
getTitle
in interface DLFileVersionModel
public void setTitle(String title)
setTitle
in interface DLFileVersionModel
title
- the title of this d l file versionpublic String getDescription()
getDescription
in interface DLFileVersionModel
public void setDescription(String description)
setDescription
in interface DLFileVersionModel
description
- the description of this d l file versionpublic String getChangeLog()
getChangeLog
in interface DLFileVersionModel
public void setChangeLog(String changeLog)
setChangeLog
in interface DLFileVersionModel
changeLog
- the change log of this d l file versionpublic String getExtraSettings()
getExtraSettings
in interface DLFileVersionModel
public void setExtraSettings(String extraSettings)
setExtraSettings
in interface DLFileVersionModel
extraSettings
- the extra settings of this d l file versionpublic String getVersion()
getVersion
in interface DLFileVersionModel
public void setVersion(String version)
setVersion
in interface DLFileVersionModel
version
- the version of this d l file versionpublic long getSize()
getSize
in interface DLFileVersionModel
public void setSize(long size)
setSize
in interface DLFileVersionModel
size
- the size of this d l file versionpublic int getStatus()
getStatus
in interface DLFileVersionModel
public void setStatus(int status)
setStatus
in interface DLFileVersionModel
status
- the status of this d l file versionpublic long getStatusByUserId()
getStatusByUserId
in interface DLFileVersionModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DLFileVersionModel
statusByUserId
- the status by user id of this d l file versionpublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface DLFileVersionModel
statusByUserUuid
- the status by user uuid of this d l file versionpublic String getStatusByUserName()
getStatusByUserName
in interface DLFileVersionModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface DLFileVersionModel
statusByUserName
- the status by user name of this d l file versionpublic Date getStatusDate()
getStatusDate
in interface DLFileVersionModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface DLFileVersionModel
statusDate
- the status date of this d l file versionpublic boolean getApproved()
isApproved()
getApproved
in interface DLFileVersionModel
public boolean isApproved()
isApproved
in interface DLFileVersionModel
public boolean isDraft()
isDraft
in interface DLFileVersionModel
public boolean isExpired()
isExpired
in interface DLFileVersionModel
public boolean isPending()
isPending
in interface DLFileVersionModel
public boolean isNew()
BaseModel
isNew
in interface BaseModel<DLFileVersion>
isNew
in interface DLFileVersionModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLFileVersion>
setNew
in interface DLFileVersionModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<DLFileVersion>
isCachedModel
in interface DLFileVersionModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLFileVersion>
setCachedModel
in interface DLFileVersionModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<DLFileVersion>
isEscapedModel
in interface DLFileVersionModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<DLFileVersion>
setEscapedModel
in interface DLFileVersionModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileVersion>
getPrimaryKeyObj
in interface DLFileVersionModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileVersion>
getExpandoBridge
in interface DLFileVersion
getExpandoBridge
in interface DLFileVersionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileVersion>
setExpandoBridgeAttributes
in interface DLFileVersionModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileVersion>
clone
in interface DLFileVersionModel
clone
in class Object
public int compareTo(DLFileVersion dlFileVersion)
compareTo
in interface DLFileVersionModel
compareTo
in interface Comparable<DLFileVersion>
public int hashCode()
hashCode
in interface DLFileVersionModel
hashCode
in class Object
public DLFileVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileVersion>
toEscapedModel
in interface DLFileVersionModel
AutoEscapeBeanHandler
public String toString()
toString
in interface DLFileVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileVersion>
toXmlString
in interface DLFileVersionModel
public DLFileEntry getFileEntry() throws PortalException, SystemException
getFileEntry
in interface DLFileVersion
PortalException
SystemException
public String getIcon()
getIcon
in interface DLFileVersion
public DLFileVersion getWrappedDLFileVersion()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |