|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
|
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 |
---|
public DLFileVersionWrapper(DLFileVersion dlFileVersion)
Method Detail |
---|
public long getPrimaryKey()
DLFileVersionModel
getPrimaryKey
in interface DLFileVersionModel
public void setPrimaryKey(long pk)
DLFileVersionModel
setPrimaryKey
in interface DLFileVersionModel
pk
- the primary key of this d l file versionpublic long getFileVersionId()
DLFileVersionModel
getFileVersionId
in interface DLFileVersionModel
public void setFileVersionId(long fileVersionId)
DLFileVersionModel
setFileVersionId
in interface DLFileVersionModel
fileVersionId
- the file version id of this d l file versionpublic long getGroupId()
DLFileVersionModel
getGroupId
in interface DLFileVersionModel
public void setGroupId(long groupId)
DLFileVersionModel
setGroupId
in interface DLFileVersionModel
groupId
- the group id of this d l file versionpublic long getCompanyId()
DLFileVersionModel
getCompanyId
in interface DLFileVersionModel
public void setCompanyId(long companyId)
DLFileVersionModel
setCompanyId
in interface DLFileVersionModel
companyId
- the company id of this d l file versionpublic long getUserId()
DLFileVersionModel
getUserId
in interface DLFileVersionModel
public void setUserId(long userId)
DLFileVersionModel
setUserId
in interface DLFileVersionModel
userId
- the user id of this d l file versionpublic String getUserUuid() throws SystemException
DLFileVersionModel
getUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileVersionModel
setUserUuid
in interface DLFileVersionModel
userUuid
- the user uuid of this d l file versionpublic String getUserName()
DLFileVersionModel
getUserName
in interface DLFileVersionModel
public void setUserName(String userName)
DLFileVersionModel
setUserName
in interface DLFileVersionModel
userName
- the user name of this d l file versionpublic Date getCreateDate()
DLFileVersionModel
getCreateDate
in interface DLFileVersionModel
public void setCreateDate(Date createDate)
DLFileVersionModel
setCreateDate
in interface DLFileVersionModel
createDate
- the create date of this d l file versionpublic long getFolderId()
DLFileVersionModel
getFolderId
in interface DLFileVersionModel
public void setFolderId(long folderId)
DLFileVersionModel
setFolderId
in interface DLFileVersionModel
folderId
- the folder id of this d l file versionpublic String getName()
DLFileVersionModel
getName
in interface DLFileVersionModel
public void setName(String name)
DLFileVersionModel
setName
in interface DLFileVersionModel
name
- the name of this d l file versionpublic String getExtension()
DLFileVersionModel
getExtension
in interface DLFileVersionModel
public void setExtension(String extension)
DLFileVersionModel
setExtension
in interface DLFileVersionModel
extension
- the extension of this d l file versionpublic String getTitle()
DLFileVersionModel
getTitle
in interface DLFileVersionModel
public void setTitle(String title)
DLFileVersionModel
setTitle
in interface DLFileVersionModel
title
- the title of this d l file versionpublic String getDescription()
DLFileVersionModel
getDescription
in interface DLFileVersionModel
public void setDescription(String description)
DLFileVersionModel
setDescription
in interface DLFileVersionModel
description
- the description of this d l file versionpublic String getChangeLog()
DLFileVersionModel
getChangeLog
in interface DLFileVersionModel
public void setChangeLog(String changeLog)
DLFileVersionModel
setChangeLog
in interface DLFileVersionModel
changeLog
- the change log of this d l file versionpublic String getExtraSettings()
DLFileVersionModel
getExtraSettings
in interface DLFileVersionModel
public void setExtraSettings(String extraSettings)
DLFileVersionModel
setExtraSettings
in interface DLFileVersionModel
extraSettings
- the extra settings of this d l file versionpublic String getVersion()
DLFileVersionModel
getVersion
in interface DLFileVersionModel
public void setVersion(String version)
DLFileVersionModel
setVersion
in interface DLFileVersionModel
version
- the version of this d l file versionpublic long getSize()
DLFileVersionModel
getSize
in interface DLFileVersionModel
public void setSize(long size)
DLFileVersionModel
setSize
in interface DLFileVersionModel
size
- the size of this d l file versionpublic int getStatus()
DLFileVersionModel
getStatus
in interface DLFileVersionModel
public void setStatus(int status)
DLFileVersionModel
setStatus
in interface DLFileVersionModel
status
- the status of this d l file versionpublic long getStatusByUserId()
DLFileVersionModel
getStatusByUserId
in interface DLFileVersionModel
public void setStatusByUserId(long statusByUserId)
DLFileVersionModel
setStatusByUserId
in interface DLFileVersionModel
statusByUserId
- the status by user id of this d l file versionpublic String getStatusByUserUuid() throws SystemException
DLFileVersionModel
getStatusByUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
DLFileVersionModel
setStatusByUserUuid
in interface DLFileVersionModel
statusByUserUuid
- the status by user uuid of this d l file versionpublic String getStatusByUserName()
DLFileVersionModel
getStatusByUserName
in interface DLFileVersionModel
public void setStatusByUserName(String statusByUserName)
DLFileVersionModel
setStatusByUserName
in interface DLFileVersionModel
statusByUserName
- the status by user name of this d l file versionpublic Date getStatusDate()
DLFileVersionModel
getStatusDate
in interface DLFileVersionModel
public void setStatusDate(Date statusDate)
DLFileVersionModel
setStatusDate
in interface DLFileVersionModel
statusDate
- the status date of this d l file versionpublic boolean isApproved()
DLFileVersionModel
isApproved
in interface DLFileVersionModel
public boolean isDraft()
DLFileVersionModel
isDraft
in interface DLFileVersionModel
public boolean isExpired()
DLFileVersionModel
isExpired
in interface DLFileVersionModel
public boolean isPending()
DLFileVersionModel
isPending
in interface DLFileVersionModel
public DLFileVersion toEscapedModel()
DLFileVersionModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface DLFileVersionModel
AutoEscapeBeanHandler
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 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.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |