|
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.DLFileEntryWrapper
public class DLFileEntryWrapper
This class is a wrapper for DLFileEntry
.
DLFileEntry
,
Serialized FormConstructor Summary | |
---|---|
DLFileEntryWrapper(DLFileEntry dlFileEntry)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileEntry dlFileEntry)
|
long |
getCompanyId()
Gets the company id of this d l file entry. |
Date |
getCreateDate()
Gets the create date of this d l file entry. |
String |
getDescription()
Gets the description of this d l file entry. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getExtension()
Gets the extension of this d l file entry. |
String |
getExtraSettings()
Gets the extra settings of this d l file entry. |
UnicodeProperties |
getExtraSettingsProperties()
|
long |
getFileEntryId()
Gets the file entry id of this d l file entry. |
DLFileVersion |
getFileVersion()
|
DLFolder |
getFolder()
|
long |
getFolderId()
Gets the folder id of this d l file entry. |
long |
getGroupId()
Gets the group id of this d l file entry. |
String |
getIcon()
|
DLFileVersion |
getLatestFileVersion()
|
Lock |
getLock()
|
String |
getLuceneProperties()
|
Date |
getModifiedDate()
Gets the modified date of this d l file entry. |
String |
getName()
Gets the name of this d l file entry. |
long |
getPrimaryKey()
Gets the primary key of this d l file entry. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getReadCount()
Gets the read count of this d l file entry. |
long |
getRepositoryId()
|
long |
getSize()
Gets the size of this d l file entry. |
String |
getTitle()
Gets the title of this d l file entry. |
long |
getUserId()
Gets the user id of this d l file entry. |
String |
getUserName()
Gets the user name of this d l file entry. |
String |
getUserUuid()
Gets the user uuid of this d l file entry. |
String |
getUuid()
Gets the uuid of this d l file entry. |
String |
getVersion()
Gets the version of this d l file entry. |
long |
getVersionUserId()
Gets the version user id of this d l file entry. |
String |
getVersionUserName()
Gets the version user name of this d l file entry. |
String |
getVersionUserUuid()
Gets the version user uuid of this d l file entry. |
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 is escaped. |
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)
Sets the company id of this d l file entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this d l file entry. |
void |
setDescription(String description)
Sets the description of this d l file entry. |
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 entry. |
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this d l file entry. |
void |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
|
void |
setFileEntryId(long fileEntryId)
Sets the file entry id of this d l file entry. |
void |
setFolderId(long folderId)
Sets the folder id of this d l file entry. |
void |
setGroupId(long groupId)
Sets the group id of this d l file entry. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d l file entry. |
void |
setName(String name)
Sets the name of this d l file entry. |
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 entry |
void |
setReadCount(int readCount)
Sets the read count of this d l file entry. |
void |
setSize(long size)
Sets the size of this d l file entry. |
void |
setTitle(String title)
Sets the title of this d l file entry. |
void |
setUserId(long userId)
Sets the user id of this d l file entry. |
void |
setUserName(String userName)
Sets the user name of this d l file entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d l file entry. |
void |
setUuid(String uuid)
Sets the uuid of this d l file entry. |
void |
setVersion(String version)
Sets the version of this d l file entry. |
void |
setVersionUserId(long versionUserId)
Sets the version user id of this d l file entry. |
void |
setVersionUserName(String versionUserName)
Sets the version user name of this d l file entry. |
void |
setVersionUserUuid(String versionUserUuid)
Sets the version user uuid of this d l file entry. |
DLFileEntry |
toEscapedModel()
Gets a copy of this d l file entry 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 DLFileEntryWrapper(DLFileEntry dlFileEntry)
Method Detail |
---|
public long getPrimaryKey()
DLFileEntryModel
getPrimaryKey
in interface DLFileEntryModel
public void setPrimaryKey(long pk)
DLFileEntryModel
setPrimaryKey
in interface DLFileEntryModel
pk
- the primary key of this d l file entrypublic String getUuid()
DLFileEntryModel
getUuid
in interface DLFileEntryModel
public void setUuid(String uuid)
DLFileEntryModel
setUuid
in interface DLFileEntryModel
uuid
- the uuid of this d l file entrypublic long getFileEntryId()
DLFileEntryModel
getFileEntryId
in interface DLFileEntryModel
public void setFileEntryId(long fileEntryId)
DLFileEntryModel
setFileEntryId
in interface DLFileEntryModel
fileEntryId
- the file entry id of this d l file entrypublic long getGroupId()
DLFileEntryModel
getGroupId
in interface DLFileEntryModel
public void setGroupId(long groupId)
DLFileEntryModel
setGroupId
in interface DLFileEntryModel
groupId
- the group id of this d l file entrypublic long getCompanyId()
DLFileEntryModel
getCompanyId
in interface DLFileEntryModel
public void setCompanyId(long companyId)
DLFileEntryModel
setCompanyId
in interface DLFileEntryModel
companyId
- the company id of this d l file entrypublic long getUserId()
DLFileEntryModel
getUserId
in interface DLFileEntryModel
public void setUserId(long userId)
DLFileEntryModel
setUserId
in interface DLFileEntryModel
userId
- the user id of this d l file entrypublic String getUserUuid() throws SystemException
DLFileEntryModel
getUserUuid
in interface DLFileEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileEntryModel
setUserUuid
in interface DLFileEntryModel
userUuid
- the user uuid of this d l file entrypublic String getUserName()
DLFileEntryModel
getUserName
in interface DLFileEntryModel
public void setUserName(String userName)
DLFileEntryModel
setUserName
in interface DLFileEntryModel
userName
- the user name of this d l file entrypublic long getVersionUserId()
DLFileEntryModel
getVersionUserId
in interface DLFileEntryModel
public void setVersionUserId(long versionUserId)
DLFileEntryModel
setVersionUserId
in interface DLFileEntryModel
versionUserId
- the version user id of this d l file entrypublic String getVersionUserUuid() throws SystemException
DLFileEntryModel
getVersionUserUuid
in interface DLFileEntryModel
SystemException
- if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
DLFileEntryModel
setVersionUserUuid
in interface DLFileEntryModel
versionUserUuid
- the version user uuid of this d l file entrypublic String getVersionUserName()
DLFileEntryModel
getVersionUserName
in interface DLFileEntryModel
public void setVersionUserName(String versionUserName)
DLFileEntryModel
setVersionUserName
in interface DLFileEntryModel
versionUserName
- the version user name of this d l file entrypublic Date getCreateDate()
DLFileEntryModel
getCreateDate
in interface DLFileEntryModel
public void setCreateDate(Date createDate)
DLFileEntryModel
setCreateDate
in interface DLFileEntryModel
createDate
- the create date of this d l file entrypublic Date getModifiedDate()
DLFileEntryModel
getModifiedDate
in interface DLFileEntryModel
public void setModifiedDate(Date modifiedDate)
DLFileEntryModel
setModifiedDate
in interface DLFileEntryModel
modifiedDate
- the modified date of this d l file entrypublic long getFolderId()
DLFileEntryModel
getFolderId
in interface DLFileEntryModel
public void setFolderId(long folderId)
DLFileEntryModel
setFolderId
in interface DLFileEntryModel
folderId
- the folder id of this d l file entrypublic String getName()
DLFileEntryModel
getName
in interface DLFileEntryModel
public void setName(String name)
DLFileEntryModel
setName
in interface DLFileEntryModel
name
- the name of this d l file entrypublic String getExtension()
DLFileEntryModel
getExtension
in interface DLFileEntryModel
public void setExtension(String extension)
DLFileEntryModel
setExtension
in interface DLFileEntryModel
extension
- the extension of this d l file entrypublic String getTitle()
DLFileEntryModel
getTitle
in interface DLFileEntryModel
public void setTitle(String title)
DLFileEntryModel
setTitle
in interface DLFileEntryModel
title
- the title of this d l file entrypublic String getDescription()
DLFileEntryModel
getDescription
in interface DLFileEntryModel
public void setDescription(String description)
DLFileEntryModel
setDescription
in interface DLFileEntryModel
description
- the description of this d l file entrypublic String getExtraSettings()
DLFileEntryModel
getExtraSettings
in interface DLFileEntry
getExtraSettings
in interface DLFileEntryModel
public void setExtraSettings(String extraSettings)
DLFileEntryModel
setExtraSettings
in interface DLFileEntry
setExtraSettings
in interface DLFileEntryModel
extraSettings
- the extra settings of this d l file entrypublic String getVersion()
DLFileEntryModel
getVersion
in interface DLFileEntryModel
public void setVersion(String version)
DLFileEntryModel
setVersion
in interface DLFileEntryModel
version
- the version of this d l file entrypublic long getSize()
DLFileEntryModel
getSize
in interface DLFileEntryModel
public void setSize(long size)
DLFileEntryModel
setSize
in interface DLFileEntryModel
size
- the size of this d l file entrypublic int getReadCount()
DLFileEntryModel
getReadCount
in interface DLFileEntryModel
public void setReadCount(int readCount)
DLFileEntryModel
setReadCount
in interface DLFileEntryModel
readCount
- the read count of this d l file entrypublic DLFileEntry toEscapedModel()
DLFileEntryModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface DLFileEntryModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<DLFileEntry>
isNew
in interface DLFileEntryModel
true
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 DLFileEntryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<DLFileEntry>
isCachedModel
in interface DLFileEntryModel
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<DLFileEntry>
setCachedModel
in interface DLFileEntryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<DLFileEntry>
isEscapedModel
in interface DLFileEntryModel
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<DLFileEntry>
setEscapedModel
in interface DLFileEntryModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileEntry>
getPrimaryKeyObj
in interface DLFileEntryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileEntry>
getExpandoBridge
in interface DLFileEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntry>
setExpandoBridgeAttributes
in interface DLFileEntryModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileEntry>
clone
in interface DLFileEntryModel
clone
in class Object
public int compareTo(DLFileEntry dlFileEntry)
compareTo
in interface DLFileEntryModel
compareTo
in interface Comparable<DLFileEntry>
public int hashCode()
hashCode
in interface DLFileEntryModel
hashCode
in class Object
public String toString()
toString
in interface DLFileEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileEntry>
toXmlString
in interface DLFileEntryModel
public UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties
in interface DLFileEntry
public DLFileVersion getFileVersion() throws PortalException, SystemException
getFileVersion
in interface DLFileEntry
PortalException
SystemException
public DLFolder getFolder()
getFolder
in interface DLFileEntry
public String getIcon()
getIcon
in interface DLFileEntry
public DLFileVersion getLatestFileVersion() throws PortalException, SystemException
getLatestFileVersion
in interface DLFileEntry
PortalException
SystemException
public Lock getLock()
getLock
in interface DLFileEntry
public String getLuceneProperties()
getLuceneProperties
in interface DLFileEntry
public long getRepositoryId()
getRepositoryId
in interface DLFileEntry
public boolean hasLock(long userId)
hasLock
in interface DLFileEntry
public boolean isLocked()
isLocked
in interface DLFileEntry
public void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setExtraSettingsProperties
in interface DLFileEntry
public DLFileEntry getWrappedDLFileEntry()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |