Liferay 6.0.3

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()
           
 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

DLFileEntryWrapper

public DLFileEntryWrapper(DLFileEntry dlFileEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface DLFileEntryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface DLFileEntryModel

getUuid

public String getUuid()
Specified by:
getUuid in interface DLFileEntryModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface DLFileEntryModel

getFileEntryId

public long getFileEntryId()
Specified by:
getFileEntryId in interface DLFileEntryModel

setFileEntryId

public void setFileEntryId(long fileEntryId)
Specified by:
setFileEntryId in interface DLFileEntryModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface DLFileEntryModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface DLFileEntryModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface DLFileEntryModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface DLFileEntryModel

getUserId

public long getUserId()
Specified by:
getUserId in interface DLFileEntryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface DLFileEntryModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface DLFileEntryModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface DLFileEntryModel

getUserName

public String getUserName()
Specified by:
getUserName in interface DLFileEntryModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface DLFileEntryModel

getVersionUserId

public long getVersionUserId()
Specified by:
getVersionUserId in interface DLFileEntryModel

setVersionUserId

public void setVersionUserId(long versionUserId)
Specified by:
setVersionUserId in interface DLFileEntryModel

getVersionUserUuid

public String getVersionUserUuid()
                          throws SystemException
Specified by:
getVersionUserUuid in interface DLFileEntryModel
Throws:
SystemException

setVersionUserUuid

public void setVersionUserUuid(String versionUserUuid)
Specified by:
setVersionUserUuid in interface DLFileEntryModel

getVersionUserName

public String getVersionUserName()
Specified by:
getVersionUserName in interface DLFileEntryModel

setVersionUserName

public void setVersionUserName(String versionUserName)
Specified by:
setVersionUserName in interface DLFileEntryModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface DLFileEntryModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface DLFileEntryModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface DLFileEntryModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface DLFileEntryModel

getFolderId

public long getFolderId()
Specified by:
getFolderId in interface DLFileEntryModel

setFolderId

public void setFolderId(long folderId)
Specified by:
setFolderId in interface DLFileEntryModel

getName

public String getName()
Specified by:
getName in interface DLFileEntryModel

setName

public void setName(String name)
Specified by:
setName in interface DLFileEntryModel

getExtension

public String getExtension()
Specified by:
getExtension in interface DLFileEntryModel

setExtension

public void setExtension(String extension)
Specified by:
setExtension in interface DLFileEntryModel

getTitle

public String getTitle()
Specified by:
getTitle in interface DLFileEntryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface DLFileEntryModel

getDescription

public String getDescription()
Specified by:
getDescription in interface DLFileEntryModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface DLFileEntryModel

getExtraSettings

public String getExtraSettings()
Specified by:
getExtraSettings in interface DLFileEntry
Specified by:
getExtraSettings in interface DLFileEntryModel

setExtraSettings

public void setExtraSettings(String extraSettings)
Specified by:
setExtraSettings in interface DLFileEntry
Specified by:
setExtraSettings in interface DLFileEntryModel

getVersion

public String getVersion()
Specified by:
getVersion in interface DLFileEntryModel

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface DLFileEntryModel

getSize

public long getSize()
Specified by:
getSize in interface DLFileEntryModel

setSize

public void setSize(long size)
Specified by:
setSize in interface DLFileEntryModel

getReadCount

public int getReadCount()
Specified by:
getReadCount in interface DLFileEntryModel

setReadCount

public void setReadCount(int readCount)
Specified by:
setReadCount in interface DLFileEntryModel

toEscapedModel

public DLFileEntry toEscapedModel()
Specified by:
toEscapedModel in interface DLFileEntryModel

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<DLFileEntry>
Specified by:
isEscapedModel in interface DLFileEntryModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileEntry>
Specified by:
getPrimaryKeyObj in interface DLFileEntryModel
Returns:
the primary key

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

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 clone

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.3