Liferay 6.0.5

com.liferay.portlet.documentlibrary.model
Class DLFileEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.model.DLFileEntryWrapper
All Implemented Interfaces:
BaseModel<DLFileEntry>, DLFileEntry, DLFileEntryModel, Serializable, Cloneable, Comparable<DLFileEntry>

public class DLFileEntryWrapper
extends Object
implements DLFileEntry

This class is a wrapper for DLFileEntry.

See Also:
DLFileEntry, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor 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

DLFileEntryWrapper

public DLFileEntryWrapper(DLFileEntry dlFileEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DLFileEntryModel
Gets the primary key of this d l file entry.

Specified by:
getPrimaryKey in interface DLFileEntryModel
Returns:
the primary key of this d l file entry

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: DLFileEntryModel
Sets the primary key of this d l file entry

Specified by:
setPrimaryKey in interface DLFileEntryModel
Parameters:
pk - the primary key of this d l file entry

getUuid

public String getUuid()
Description copied from interface: DLFileEntryModel
Gets the uuid of this d l file entry.

Specified by:
getUuid in interface DLFileEntryModel
Returns:
the uuid of this d l file entry

setUuid

public void setUuid(String uuid)
Description copied from interface: DLFileEntryModel
Sets the uuid of this d l file entry.

Specified by:
setUuid in interface DLFileEntryModel
Parameters:
uuid - the uuid of this d l file entry

getFileEntryId

public long getFileEntryId()
Description copied from interface: DLFileEntryModel
Gets the file entry id of this d l file entry.

Specified by:
getFileEntryId in interface DLFileEntryModel
Returns:
the file entry id of this d l file entry

setFileEntryId

public void setFileEntryId(long fileEntryId)
Description copied from interface: DLFileEntryModel
Sets the file entry id of this d l file entry.

Specified by:
setFileEntryId in interface DLFileEntryModel
Parameters:
fileEntryId - the file entry id of this d l file entry

getGroupId

public long getGroupId()
Description copied from interface: DLFileEntryModel
Gets the group id of this d l file entry.

Specified by:
getGroupId in interface DLFileEntryModel
Returns:
the group id of this d l file entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileEntryModel
Sets the group id of this d l file entry.

Specified by:
setGroupId in interface DLFileEntryModel
Parameters:
groupId - the group id of this d l file entry

getCompanyId

public long getCompanyId()
Description copied from interface: DLFileEntryModel
Gets the company id of this d l file entry.

Specified by:
getCompanyId in interface DLFileEntryModel
Returns:
the company id of this d l file entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileEntryModel
Sets the company id of this d l file entry.

Specified by:
setCompanyId in interface DLFileEntryModel
Parameters:
companyId - the company id of this d l file entry

getUserId

public long getUserId()
Description copied from interface: DLFileEntryModel
Gets the user id of this d l file entry.

Specified by:
getUserId in interface DLFileEntryModel
Returns:
the user id of this d l file entry

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileEntryModel
Sets the user id of this d l file entry.

Specified by:
setUserId in interface DLFileEntryModel
Parameters:
userId - the user id of this d l file entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileEntryModel
Gets the user uuid of this d l file entry.

Specified by:
getUserUuid in interface DLFileEntryModel
Returns:
the user uuid of this d l file entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DLFileEntryModel
Sets the user uuid of this d l file entry.

Specified by:
setUserUuid in interface DLFileEntryModel
Parameters:
userUuid - the user uuid of this d l file entry

getUserName

public String getUserName()
Description copied from interface: DLFileEntryModel
Gets the user name of this d l file entry.

Specified by:
getUserName in interface DLFileEntryModel
Returns:
the user name of this d l file entry

setUserName

public void setUserName(String userName)
Description copied from interface: DLFileEntryModel
Sets the user name of this d l file entry.

Specified by:
setUserName in interface DLFileEntryModel
Parameters:
userName - the user name of this d l file entry

getVersionUserId

public long getVersionUserId()
Description copied from interface: DLFileEntryModel
Gets the version user id of this d l file entry.

Specified by:
getVersionUserId in interface DLFileEntryModel
Returns:
the version user id of this d l file entry

setVersionUserId

public void setVersionUserId(long versionUserId)
Description copied from interface: DLFileEntryModel
Sets the version user id of this d l file entry.

Specified by:
setVersionUserId in interface DLFileEntryModel
Parameters:
versionUserId - the version user id of this d l file entry

getVersionUserUuid

public String getVersionUserUuid()
                          throws SystemException
Description copied from interface: DLFileEntryModel
Gets the version user uuid of this d l file entry.

Specified by:
getVersionUserUuid in interface DLFileEntryModel
Returns:
the version user uuid of this d l file entry
Throws:
SystemException - if a system exception occurred

setVersionUserUuid

public void setVersionUserUuid(String versionUserUuid)
Description copied from interface: DLFileEntryModel
Sets the version user uuid of this d l file entry.

Specified by:
setVersionUserUuid in interface DLFileEntryModel
Parameters:
versionUserUuid - the version user uuid of this d l file entry

getVersionUserName

public String getVersionUserName()
Description copied from interface: DLFileEntryModel
Gets the version user name of this d l file entry.

Specified by:
getVersionUserName in interface DLFileEntryModel
Returns:
the version user name of this d l file entry

setVersionUserName

public void setVersionUserName(String versionUserName)
Description copied from interface: DLFileEntryModel
Sets the version user name of this d l file entry.

Specified by:
setVersionUserName in interface DLFileEntryModel
Parameters:
versionUserName - the version user name of this d l file entry

getCreateDate

public Date getCreateDate()
Description copied from interface: DLFileEntryModel
Gets the create date of this d l file entry.

Specified by:
getCreateDate in interface DLFileEntryModel
Returns:
the create date of this d l file entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLFileEntryModel
Sets the create date of this d l file entry.

Specified by:
setCreateDate in interface DLFileEntryModel
Parameters:
createDate - the create date of this d l file entry

getModifiedDate

public Date getModifiedDate()
Description copied from interface: DLFileEntryModel
Gets the modified date of this d l file entry.

Specified by:
getModifiedDate in interface DLFileEntryModel
Returns:
the modified date of this d l file entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLFileEntryModel
Sets the modified date of this d l file entry.

Specified by:
setModifiedDate in interface DLFileEntryModel
Parameters:
modifiedDate - the modified date of this d l file entry

getFolderId

public long getFolderId()
Description copied from interface: DLFileEntryModel
Gets the folder id of this d l file entry.

Specified by:
getFolderId in interface DLFileEntryModel
Returns:
the folder id of this d l file entry

setFolderId

public void setFolderId(long folderId)
Description copied from interface: DLFileEntryModel
Sets the folder id of this d l file entry.

Specified by:
setFolderId in interface DLFileEntryModel
Parameters:
folderId - the folder id of this d l file entry

getName

public String getName()
Description copied from interface: DLFileEntryModel
Gets the name of this d l file entry.

Specified by:
getName in interface DLFileEntryModel
Returns:
the name of this d l file entry

setName

public void setName(String name)
Description copied from interface: DLFileEntryModel
Sets the name of this d l file entry.

Specified by:
setName in interface DLFileEntryModel
Parameters:
name - the name of this d l file entry

getExtension

public String getExtension()
Description copied from interface: DLFileEntryModel
Gets the extension of this d l file entry.

Specified by:
getExtension in interface DLFileEntryModel
Returns:
the extension of this d l file entry

setExtension

public void setExtension(String extension)
Description copied from interface: DLFileEntryModel
Sets the extension of this d l file entry.

Specified by:
setExtension in interface DLFileEntryModel
Parameters:
extension - the extension of this d l file entry

getTitle

public String getTitle()
Description copied from interface: DLFileEntryModel
Gets the title of this d l file entry.

Specified by:
getTitle in interface DLFileEntryModel
Returns:
the title of this d l file entry

setTitle

public void setTitle(String title)
Description copied from interface: DLFileEntryModel
Sets the title of this d l file entry.

Specified by:
setTitle in interface DLFileEntryModel
Parameters:
title - the title of this d l file entry

getDescription

public String getDescription()
Description copied from interface: DLFileEntryModel
Gets the description of this d l file entry.

Specified by:
getDescription in interface DLFileEntryModel
Returns:
the description of this d l file entry

setDescription

public void setDescription(String description)
Description copied from interface: DLFileEntryModel
Sets the description of this d l file entry.

Specified by:
setDescription in interface DLFileEntryModel
Parameters:
description - the description of this d l file entry

getExtraSettings

public String getExtraSettings()
Description copied from interface: DLFileEntryModel
Gets the extra settings of this d l file entry.

Specified by:
getExtraSettings in interface DLFileEntry
Specified by:
getExtraSettings in interface DLFileEntryModel
Returns:
the extra settings of this d l file entry

setExtraSettings

public void setExtraSettings(String extraSettings)
Description copied from interface: DLFileEntryModel
Sets the extra settings of this d l file entry.

Specified by:
setExtraSettings in interface DLFileEntry
Specified by:
setExtraSettings in interface DLFileEntryModel
Parameters:
extraSettings - the extra settings of this d l file entry

getVersion

public String getVersion()
Description copied from interface: DLFileEntryModel
Gets the version of this d l file entry.

Specified by:
getVersion in interface DLFileEntryModel
Returns:
the version of this d l file entry

setVersion

public void setVersion(String version)
Description copied from interface: DLFileEntryModel
Sets the version of this d l file entry.

Specified by:
setVersion in interface DLFileEntryModel
Parameters:
version - the version of this d l file entry

getSize

public long getSize()
Description copied from interface: DLFileEntryModel
Gets the size of this d l file entry.

Specified by:
getSize in interface DLFileEntryModel
Returns:
the size of this d l file entry

setSize

public void setSize(long size)
Description copied from interface: DLFileEntryModel
Sets the size of this d l file entry.

Specified by:
setSize in interface DLFileEntryModel
Parameters:
size - the size of this d l file entry

getReadCount

public int getReadCount()
Description copied from interface: DLFileEntryModel
Gets the read count of this d l file entry.

Specified by:
getReadCount in interface DLFileEntryModel
Returns:
the read count of this d l file entry

setReadCount

public void setReadCount(int readCount)
Description copied from interface: DLFileEntryModel
Sets the read count of this d l file entry.

Specified by:
setReadCount in interface DLFileEntryModel
Parameters:
readCount - the read count of this d l file entry

toEscapedModel

public DLFileEntry toEscapedModel()
Description copied from interface: DLFileEntryModel
Gets a copy of this d l file entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface DLFileEntryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DLFileEntry>
Specified by:
isNew in interface DLFileEntryModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DLFileEntry>
Specified by:
setNew in interface DLFileEntryModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DLFileEntry>
Specified by:
isCachedModel in interface DLFileEntryModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DLFileEntry>
Specified by:
setCachedModel in interface DLFileEntryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DLFileEntry>
Specified by:
isEscapedModel in interface DLFileEntryModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<DLFileEntry>
Specified by:
setEscapedModel in interface DLFileEntryModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileEntry>
Specified by:
getPrimaryKeyObj in interface DLFileEntryModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLFileEntry>
Specified by:
getExpandoBridge in interface DLFileEntryModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLFileEntry>
Specified by:
setExpandoBridgeAttributes in interface DLFileEntryModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DLFileEntry>
Specified by:
clone in interface DLFileEntryModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileEntry dlFileEntry)
Specified by:
compareTo in interface DLFileEntryModel
Specified by:
compareTo in interface Comparable<DLFileEntry>

hashCode

public int hashCode()
Specified by:
hashCode in interface DLFileEntryModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface DLFileEntryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DLFileEntry>
Specified by:
toXmlString in interface DLFileEntryModel
Returns:
the XML representation of this model instance

getExtraSettingsProperties

public UnicodeProperties getExtraSettingsProperties()
Specified by:
getExtraSettingsProperties in interface DLFileEntry

getFileVersion

public DLFileVersion getFileVersion()
                             throws PortalException,
                                    SystemException
Specified by:
getFileVersion in interface DLFileEntry
Throws:
PortalException
SystemException

getFolder

public DLFolder getFolder()
Specified by:
getFolder in interface DLFileEntry

getIcon

public String getIcon()
Specified by:
getIcon in interface DLFileEntry

getLatestFileVersion

public DLFileVersion getLatestFileVersion()
                                   throws PortalException,
                                          SystemException
Specified by:
getLatestFileVersion in interface DLFileEntry
Throws:
PortalException
SystemException

getLock

public Lock getLock()
Specified by:
getLock in interface DLFileEntry

getLuceneProperties

public String getLuceneProperties()
Specified by:
getLuceneProperties in interface DLFileEntry

getRepositoryId

public long getRepositoryId()
Specified by:
getRepositoryId in interface DLFileEntry

hasLock

public boolean hasLock(long userId)
Specified by:
hasLock in interface DLFileEntry

isLocked

public boolean isLocked()
Specified by:
isLocked in interface DLFileEntry

setExtraSettingsProperties

public void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
Specified by:
setExtraSettingsProperties in interface DLFileEntry

getWrappedDLFileEntry

public DLFileEntry getWrappedDLFileEntry()

Liferay 6.0.5