com.liferay.portlet.documentlibrary.model.impl
Class DLFileEntryImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
          extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>, com.liferay.portlet.documentlibrary.model.DLFileEntry, com.liferay.portlet.documentlibrary.model.DLFileEntryModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLFileEntry>

public class DLFileEntryImpl
extends DLFileEntryModelImpl
implements com.liferay.portlet.documentlibrary.model.DLFileEntry

View Source

Author:
Brian Wing Shun Chan, Alexander Chow
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
DLFileEntryImpl()
           
 
Method Summary
 java.lang.String getExtraSettings()
           
 com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
           
 com.liferay.portlet.documentlibrary.model.DLFolder getFolder()
           
 com.liferay.portal.model.Lock getLock()
           
 java.lang.String getLuceneProperties()
           
 java.lang.String getTitleWithExtension()
           
 boolean hasLock(long userId)
           
 boolean isLocked()
           
 void setExtraSettings(java.lang.String extraSettings)
           
 void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)
           
static java.lang.String stripExtension(java.lang.String name, java.lang.String title)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
clone, compareTo, equals, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getFileEntryId, getFolderId, getGroupId, getModifiedDate, getName, getOriginalFolderId, getOriginalGroupId, getOriginalName, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getReadCount, getSize, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, setCompanyId, setCreateDate, setDescription, setExpandoBridgeAttributes, setFileEntryId, setFolderId, setGroupId, setModifiedDate, setName, setPrimaryKey, setReadCount, setSize, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getFileEntryId, getFolderId, getGroupId, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getSize, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setDescription, setEscapedModel, setExpandoBridgeAttributes, setFileEntryId, setFolderId, setGroupId, setModifiedDate, setName, setNew, setPrimaryKey, setReadCount, setSize, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toEscapedModel, toString, toXmlString
 

Constructor Detail

DLFileEntryImpl

public DLFileEntryImpl()
Method Detail

stripExtension

public static java.lang.String stripExtension(java.lang.String name,
                                              java.lang.String title)

getExtraSettings

public java.lang.String getExtraSettings()
Specified by:
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntry
Specified by:
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
Overrides:
getExtraSettings in class DLFileEntryModelImpl

getExtraSettingsProperties

public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
Specified by:
getExtraSettingsProperties in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

getFolder

public com.liferay.portlet.documentlibrary.model.DLFolder getFolder()
Specified by:
getFolder in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

getLock

public com.liferay.portal.model.Lock getLock()
Specified by:
getLock in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

getLuceneProperties

public java.lang.String getLuceneProperties()
Specified by:
getLuceneProperties in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

getTitleWithExtension

public java.lang.String getTitleWithExtension()
Specified by:
getTitleWithExtension in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

hasLock

public boolean hasLock(long userId)
Specified by:
hasLock in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

isLocked

public boolean isLocked()
Specified by:
isLocked in interface com.liferay.portlet.documentlibrary.model.DLFileEntry

setExtraSettings

public void setExtraSettings(java.lang.String extraSettings)
Specified by:
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntry
Specified by:
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
Overrides:
setExtraSettings in class DLFileEntryModelImpl

setExtraSettingsProperties

public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)
Specified by:
setExtraSettingsProperties in interface com.liferay.portlet.documentlibrary.model.DLFileEntry