|
Liferay 6.0.4 | |||||||||
| 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 Form| 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 |
|---|
public DLFileVersionWrapper(DLFileVersion dlFileVersion)
| Method Detail |
|---|
public long getPrimaryKey()
DLFileVersionModel
getPrimaryKey in interface DLFileVersionModelpublic void setPrimaryKey(long pk)
DLFileVersionModel
setPrimaryKey in interface DLFileVersionModelpk - the primary key of this d l file versionpublic long getFileVersionId()
DLFileVersionModel
getFileVersionId in interface DLFileVersionModelpublic void setFileVersionId(long fileVersionId)
DLFileVersionModel
setFileVersionId in interface DLFileVersionModelfileVersionId - the file version id of this d l file versionpublic long getGroupId()
DLFileVersionModel
getGroupId in interface DLFileVersionModelpublic void setGroupId(long groupId)
DLFileVersionModel
setGroupId in interface DLFileVersionModelgroupId - the group id of this d l file versionpublic long getCompanyId()
DLFileVersionModel
getCompanyId in interface DLFileVersionModelpublic void setCompanyId(long companyId)
DLFileVersionModel
setCompanyId in interface DLFileVersionModelcompanyId - the company id of this d l file versionpublic long getUserId()
DLFileVersionModel
getUserId in interface DLFileVersionModelpublic void setUserId(long userId)
DLFileVersionModel
setUserId in interface DLFileVersionModeluserId - the user id of this d l file version
public String getUserUuid()
throws SystemException
DLFileVersionModel
getUserUuid in interface DLFileVersionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileVersionModel
setUserUuid in interface DLFileVersionModeluserUuid - the user uuid of this d l file versionpublic String getUserName()
DLFileVersionModel
getUserName in interface DLFileVersionModelpublic void setUserName(String userName)
DLFileVersionModel
setUserName in interface DLFileVersionModeluserName - the user name of this d l file versionpublic Date getCreateDate()
DLFileVersionModel
getCreateDate in interface DLFileVersionModelpublic void setCreateDate(Date createDate)
DLFileVersionModel
setCreateDate in interface DLFileVersionModelcreateDate - the create date of this d l file versionpublic long getFolderId()
DLFileVersionModel
getFolderId in interface DLFileVersionModelpublic void setFolderId(long folderId)
DLFileVersionModel
setFolderId in interface DLFileVersionModelfolderId - the folder id of this d l file versionpublic String getName()
DLFileVersionModel
getName in interface DLFileVersionModelpublic void setName(String name)
DLFileVersionModel
setName in interface DLFileVersionModelname - the name of this d l file versionpublic String getExtension()
DLFileVersionModel
getExtension in interface DLFileVersionModelpublic void setExtension(String extension)
DLFileVersionModel
setExtension in interface DLFileVersionModelextension - the extension of this d l file versionpublic String getTitle()
DLFileVersionModel
getTitle in interface DLFileVersionModelpublic void setTitle(String title)
DLFileVersionModel
setTitle in interface DLFileVersionModeltitle - the title of this d l file versionpublic String getDescription()
DLFileVersionModel
getDescription in interface DLFileVersionModelpublic void setDescription(String description)
DLFileVersionModel
setDescription in interface DLFileVersionModeldescription - the description of this d l file versionpublic String getChangeLog()
DLFileVersionModel
getChangeLog in interface DLFileVersionModelpublic void setChangeLog(String changeLog)
DLFileVersionModel
setChangeLog in interface DLFileVersionModelchangeLog - the change log of this d l file versionpublic String getExtraSettings()
DLFileVersionModel
getExtraSettings in interface DLFileVersionModelpublic void setExtraSettings(String extraSettings)
DLFileVersionModel
setExtraSettings in interface DLFileVersionModelextraSettings - the extra settings of this d l file versionpublic String getVersion()
DLFileVersionModel
getVersion in interface DLFileVersionModelpublic void setVersion(String version)
DLFileVersionModel
setVersion in interface DLFileVersionModelversion - the version of this d l file versionpublic long getSize()
DLFileVersionModel
getSize in interface DLFileVersionModelpublic void setSize(long size)
DLFileVersionModel
setSize in interface DLFileVersionModelsize - the size of this d l file versionpublic int getStatus()
DLFileVersionModel
getStatus in interface DLFileVersionModelpublic void setStatus(int status)
DLFileVersionModel
setStatus in interface DLFileVersionModelstatus - the status of this d l file versionpublic long getStatusByUserId()
DLFileVersionModel
getStatusByUserId in interface DLFileVersionModelpublic void setStatusByUserId(long statusByUserId)
DLFileVersionModel
setStatusByUserId in interface DLFileVersionModelstatusByUserId - the status by user id of this d l file version
public String getStatusByUserUuid()
throws SystemException
DLFileVersionModel
getStatusByUserUuid in interface DLFileVersionModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
DLFileVersionModel
setStatusByUserUuid in interface DLFileVersionModelstatusByUserUuid - the status by user uuid of this d l file versionpublic String getStatusByUserName()
DLFileVersionModel
getStatusByUserName in interface DLFileVersionModelpublic void setStatusByUserName(String statusByUserName)
DLFileVersionModel
setStatusByUserName in interface DLFileVersionModelstatusByUserName - the status by user name of this d l file versionpublic Date getStatusDate()
DLFileVersionModel
getStatusDate in interface DLFileVersionModelpublic void setStatusDate(Date statusDate)
DLFileVersionModel
setStatusDate in interface DLFileVersionModelstatusDate - the status date of this d l file versionpublic boolean isApproved()
DLFileVersionModel
isApproved in interface DLFileVersionModelpublic boolean isDraft()
DLFileVersionModel
isDraft in interface DLFileVersionModelpublic boolean isExpired()
DLFileVersionModel
isExpired in interface DLFileVersionModelpublic boolean isPending()
DLFileVersionModel
isPending in interface DLFileVersionModelpublic DLFileVersion toEscapedModel()
DLFileVersionModelAutoEscapeBeanHandler.
toEscapedModel in interface DLFileVersionModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<DLFileVersion>isNew in interface DLFileVersionModeltrue 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 DLFileVersionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<DLFileVersion>isCachedModel in interface DLFileVersionModeltrue 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 DLFileVersionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<DLFileVersion>isEscapedModel in interface DLFileVersionModeltrue 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 DLFileVersionModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileVersion>getPrimaryKeyObj in interface DLFileVersionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileVersion>getExpandoBridge in interface DLFileVersiongetExpandoBridge in interface DLFileVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileVersion>setExpandoBridgeAttributes in interface DLFileVersionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFileVersion>clone in interface DLFileVersionModelclone in class Objectpublic int compareTo(DLFileVersion dlFileVersion)
compareTo in interface DLFileVersionModelcompareTo in interface Comparable<DLFileVersion>public int hashCode()
hashCode in interface DLFileVersionModelhashCode in class Objectpublic String toString()
toString in interface DLFileVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileVersion>toXmlString in interface DLFileVersionModel
public DLFileEntry getFileEntry()
throws PortalException,
SystemException
getFileEntry in interface DLFileVersionPortalException
SystemExceptionpublic String getIcon()
getIcon in interface DLFileVersionpublic DLFileVersion getWrappedDLFileVersion()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||