|
Liferay 6.0-ee-sp2 | |||||||||
| 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)
|
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()
Returns 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. |
UnicodeProperties |
getExtraSettingsProperties()
|
DLFileEntry |
getFileEntry()
|
long |
getFileEntryId()
Gets the file entry ID of this d l file version. |
long |
getFileVersionId()
Gets the file version ID of this d l file version. |
long |
getFolderId()
Deprecated. getFileEntry() |
long |
getGroupId()
Gets the group ID of this d l file version. |
String |
getIcon()
|
String |
getMimeType()
Gets the mime type of this d l file version. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Deprecated. getFileEntry() |
long |
getPrimaryKey()
Gets the primary key of this d l file version. |
Serializable |
getPrimaryKeyObj()
Returns 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 if this d l file version is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDraft()
Determines if this d l file version is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Determines if this d l file version is expired. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Determines if this d l file version is pending. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
|
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this d l file version. |
void |
setFileVersionId(long fileVersionId)
Sets the file version ID of this d l file version. |
void |
setGroupId(long groupId)
Sets the group ID of this d l file version. |
void |
setMimeType(String mimeType)
Sets the mime type 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 primaryKey)
Sets the primary key of this d l file version |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<DLFileVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLFileVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileVersionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileVersionModelprimaryKey - the primary key of this d l file versionpublic long getFileVersionId()
getFileVersionId in interface DLFileVersionModelpublic void setFileVersionId(long fileVersionId)
setFileVersionId in interface DLFileVersionModelfileVersionId - the file version ID of this d l file versionpublic long getGroupId()
getGroupId in interface DLFileVersionModelpublic void setGroupId(long groupId)
setGroupId in interface DLFileVersionModelgroupId - the group ID of this d l file versionpublic long getCompanyId()
getCompanyId in interface DLFileVersionModelpublic void setCompanyId(long companyId)
setCompanyId in interface DLFileVersionModelcompanyId - the company ID of this d l file versionpublic long getUserId()
getUserId in interface DLFileVersionModelpublic void setUserId(long userId)
setUserId in interface DLFileVersionModeluserId - the user ID of this d l file version
public String getUserUuid()
throws SystemException
getUserUuid in interface DLFileVersionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface DLFileVersionModeluserUuid - the user uuid of this d l file versionpublic String getUserName()
getUserName in interface DLFileVersionModelpublic void setUserName(String userName)
setUserName in interface DLFileVersionModeluserName - the user name of this d l file versionpublic Date getCreateDate()
getCreateDate in interface DLFileVersionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface DLFileVersionModelcreateDate - the create date of this d l file versionpublic long getFileEntryId()
getFileEntryId in interface DLFileVersionModelpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileVersionModelfileEntryId - the file entry ID of this d l file versionpublic String getExtension()
getExtension in interface DLFileVersionModelpublic void setExtension(String extension)
setExtension in interface DLFileVersionModelextension - the extension of this d l file versionpublic String getMimeType()
getMimeType in interface DLFileVersionModelpublic void setMimeType(String mimeType)
setMimeType in interface DLFileVersionModelmimeType - the mime type of this d l file versionpublic String getTitle()
getTitle in interface DLFileVersionModelpublic void setTitle(String title)
setTitle in interface DLFileVersionModeltitle - the title of this d l file versionpublic String getDescription()
getDescription in interface DLFileVersionModelpublic void setDescription(String description)
setDescription in interface DLFileVersionModeldescription - the description of this d l file versionpublic String getChangeLog()
getChangeLog in interface DLFileVersionModelpublic void setChangeLog(String changeLog)
setChangeLog in interface DLFileVersionModelchangeLog - the change log of this d l file versionpublic String getExtraSettings()
getExtraSettings in interface DLFileVersiongetExtraSettings in interface DLFileVersionModelpublic void setExtraSettings(String extraSettings)
setExtraSettings in interface DLFileVersionsetExtraSettings in interface DLFileVersionModelextraSettings - the extra settings of this d l file versionpublic String getVersion()
getVersion in interface DLFileVersionModelpublic void setVersion(String version)
setVersion in interface DLFileVersionModelversion - the version of this d l file versionpublic long getSize()
getSize in interface DLFileVersionModelpublic void setSize(long size)
setSize in interface DLFileVersionModelsize - the size of this d l file versionpublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface DLFileVersionModelpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface DLFileVersionModelstatus - the status of this d l file versionpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface DLFileVersionModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface DLFileVersionModelstatusByUserId - the status by user ID of this d l file version
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface DLFileVersionModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface DLFileVersionModelstatusByUserUuid - the status by user uuid of this d l file versionpublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface DLFileVersionModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface DLFileVersionModelstatusByUserName - the status by user name of this d l file versionpublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface DLFileVersionModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface DLFileVersionModelstatusDate - the status date of this d l file versionpublic boolean getApproved()
isApproved()
getApproved in interface DLFileVersionModelpublic boolean isApproved()
isApproved in interface WorkflowedModelisApproved in interface DLFileVersionModeltrue if this d l file version is approved; false otherwisepublic boolean isDraft()
isDraft in interface WorkflowedModelisDraft in interface DLFileVersionModeltrue if this d l file version is a draft; false otherwisepublic boolean isExpired()
isExpired in interface WorkflowedModelisExpired in interface DLFileVersionModeltrue if this d l file version is expired; false otherwisepublic boolean isPending()
isPending in interface WorkflowedModelisPending in interface DLFileVersionModeltrue if this d l file version is pending; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
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 ClassedModelgetPrimaryKeyObj in interface DLFileVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileVersionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileVersiongetExpandoBridge in interface DLFileVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileVersion>setExpandoBridgeAttributes in interface DLFileVersionModelserviceContext - the service contextServiceContext.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 CacheModel<DLFileVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileVersion>toCacheModel in interface DLFileVersionModelpublic DLFileVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileVersion>toEscapedModel in interface DLFileVersionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLFileVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileVersion>toXmlString in interface DLFileVersionModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties in interface DLFileVersion
public DLFileEntry getFileEntry()
throws PortalException,
SystemException
getFileEntry in interface DLFileVersionPortalException
SystemException
public long getFolderId()
throws PortalException,
SystemException
getFileEntry()
getFolderId in interface DLFileVersionPortalException
SystemExceptionpublic String getIcon()
getIcon in interface DLFileVersion
public String getName()
throws PortalException,
SystemException
getFileEntry()
getName in interface DLFileVersionPortalException
SystemExceptionpublic void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setExtraSettingsProperties in interface DLFileVersionpublic DLFileVersion getWrappedDLFileVersion()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileVersion>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||