|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileEntryWrapper
public class DLFileEntryWrapper
This class is a wrapper for DLFileEntry.
DLFileEntry,
Serialized Form| Constructor Summary | |
|---|---|
DLFileEntryWrapper(DLFileEntry dlFileEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileEntry dlFileEntry)
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getExtension()
|
String |
getExtraSettings()
|
UnicodeProperties |
getExtraSettingsProperties()
|
long |
getFileEntryId()
|
DLFileVersion |
getFileVersion()
|
DLFolder |
getFolder()
|
long |
getFolderId()
|
long |
getGroupId()
|
String |
getIcon()
|
DLFileVersion |
getLatestFileVersion()
|
Lock |
getLock()
|
String |
getLuceneProperties()
|
Date |
getModifiedDate()
|
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getReadCount()
|
long |
getRepositoryId()
|
long |
getSize()
|
String |
getTitle()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
String |
getUuid()
|
String |
getVersion()
|
long |
getVersionUserId()
|
String |
getVersionUserName()
|
String |
getVersionUserUuid()
|
DLFileEntry |
getWrappedDLFileEntry()
|
int |
hashCode()
|
boolean |
hasLock(long userId)
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isLocked()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
|
void |
setFileEntryId(long fileEntryId)
|
void |
setFolderId(long folderId)
|
void |
setGroupId(long groupId)
|
void |
setModifiedDate(Date modifiedDate)
|
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 |
setReadCount(int readCount)
|
void |
setSize(long size)
|
void |
setTitle(String title)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
void |
setVersion(String version)
|
void |
setVersionUserId(long versionUserId)
|
void |
setVersionUserName(String versionUserName)
|
void |
setVersionUserUuid(String versionUserUuid)
|
DLFileEntry |
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 |
|---|
public DLFileEntryWrapper(DLFileEntry dlFileEntry)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface DLFileEntryModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface DLFileEntryModelpublic String getUuid()
getUuid in interface DLFileEntryModelpublic void setUuid(String uuid)
setUuid in interface DLFileEntryModelpublic long getFileEntryId()
getFileEntryId in interface DLFileEntryModelpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileEntryModelpublic long getGroupId()
getGroupId in interface DLFileEntryModelpublic void setGroupId(long groupId)
setGroupId in interface DLFileEntryModelpublic long getCompanyId()
getCompanyId in interface DLFileEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface DLFileEntryModelpublic long getUserId()
getUserId in interface DLFileEntryModelpublic void setUserId(long userId)
setUserId in interface DLFileEntryModel
public String getUserUuid()
throws SystemException
getUserUuid in interface DLFileEntryModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface DLFileEntryModelpublic String getUserName()
getUserName in interface DLFileEntryModelpublic void setUserName(String userName)
setUserName in interface DLFileEntryModelpublic long getVersionUserId()
getVersionUserId in interface DLFileEntryModelpublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DLFileEntryModel
public String getVersionUserUuid()
throws SystemException
getVersionUserUuid in interface DLFileEntryModelSystemExceptionpublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid in interface DLFileEntryModelpublic String getVersionUserName()
getVersionUserName in interface DLFileEntryModelpublic void setVersionUserName(String versionUserName)
setVersionUserName in interface DLFileEntryModelpublic Date getCreateDate()
getCreateDate in interface DLFileEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface DLFileEntryModelpublic Date getModifiedDate()
getModifiedDate in interface DLFileEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface DLFileEntryModelpublic long getFolderId()
getFolderId in interface DLFileEntryModelpublic void setFolderId(long folderId)
setFolderId in interface DLFileEntryModelpublic String getName()
getName in interface DLFileEntryModelpublic void setName(String name)
setName in interface DLFileEntryModelpublic String getExtension()
getExtension in interface DLFileEntryModelpublic void setExtension(String extension)
setExtension in interface DLFileEntryModelpublic String getTitle()
getTitle in interface DLFileEntryModelpublic void setTitle(String title)
setTitle in interface DLFileEntryModelpublic String getDescription()
getDescription in interface DLFileEntryModelpublic void setDescription(String description)
setDescription in interface DLFileEntryModelpublic String getExtraSettings()
getExtraSettings in interface DLFileEntrygetExtraSettings in interface DLFileEntryModelpublic void setExtraSettings(String extraSettings)
setExtraSettings in interface DLFileEntrysetExtraSettings in interface DLFileEntryModelpublic String getVersion()
getVersion in interface DLFileEntryModelpublic void setVersion(String version)
setVersion in interface DLFileEntryModelpublic long getSize()
getSize in interface DLFileEntryModelpublic void setSize(long size)
setSize in interface DLFileEntryModelpublic int getReadCount()
getReadCount in interface DLFileEntryModelpublic void setReadCount(int readCount)
setReadCount in interface DLFileEntryModelpublic DLFileEntry toEscapedModel()
toEscapedModel in interface DLFileEntryModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<DLFileEntry>isNew in interface DLFileEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DLFileEntry>setNew in interface DLFileEntryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<DLFileEntry>isCachedModel in interface DLFileEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLFileEntry>setCachedModel in interface DLFileEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<DLFileEntry>isEscapedModel in interface DLFileEntryModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<DLFileEntry>setEscapedModel in interface DLFileEntryModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileEntry>getPrimaryKeyObj in interface DLFileEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntry>getExpandoBridge in interface DLFileEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileEntry>setExpandoBridgeAttributes in interface DLFileEntryModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFileEntry>clone in interface DLFileEntryModelclone in class Objectpublic int compareTo(DLFileEntry dlFileEntry)
compareTo in interface DLFileEntryModelcompareTo in interface Comparable<DLFileEntry>public int hashCode()
hashCode in interface DLFileEntryModelhashCode in class Objectpublic String toString()
toString in interface DLFileEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileEntry>toXmlString in interface DLFileEntryModelpublic UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties in interface DLFileEntry
public DLFileVersion getFileVersion()
throws PortalException,
SystemException
getFileVersion in interface DLFileEntryPortalException
SystemExceptionpublic DLFolder getFolder()
getFolder in interface DLFileEntrypublic String getIcon()
getIcon in interface DLFileEntry
public DLFileVersion getLatestFileVersion()
throws PortalException,
SystemException
getLatestFileVersion in interface DLFileEntryPortalException
SystemExceptionpublic Lock getLock()
getLock in interface DLFileEntrypublic String getLuceneProperties()
getLuceneProperties in interface DLFileEntrypublic long getRepositoryId()
getRepositoryId in interface DLFileEntrypublic boolean hasLock(long userId)
hasLock in interface DLFileEntrypublic boolean isLocked()
isLocked in interface DLFileEntrypublic void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setExtraSettingsProperties in interface DLFileEntrypublic DLFileEntry getWrappedDLFileEntry()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||