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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileVersion>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
          extended by com.liferay.portlet.documentlibrary.model.impl.DLFileVersionBaseImpl
              extended by com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl
All Implemented Interfaces:
com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileVersion>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portal.model.PersistedModel, com.liferay.portal.model.WorkflowedModel, com.liferay.portlet.documentlibrary.model.DLFileVersion, com.liferay.portlet.documentlibrary.model.DLFileVersionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLFileVersion>

public class DLFileVersionImpl
extends DLFileVersionBaseImpl

Author:
Jorge Ferrer, Alexander Chow
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FILEENTRYID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, VERSION_COLUMN_BITMASK
 
Constructor Summary
DLFileVersionImpl()
           
 
Method Summary
 java.io.InputStream getContentStream(boolean incrementCounter)
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 java.lang.String getExtraSettings()
           
 com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
           
 com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry()
           
 com.liferay.portlet.documentlibrary.model.DLFolder getFolder()
           
 java.lang.String getIcon()
           
 void setExtraSettings(java.lang.String extraSettings)
           
 void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
clone, compareTo, equals, getApproved, getChangeLog, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFileVersionId, getFolderId, getGroupId, getMimeType, getModelClass, getModelClassName, getModifiedDate, getOriginalFileEntryId, getOriginalFolderId, getOriginalGroupId, getOriginalStatus, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getSize, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTitle, getUserId, getUserName, getUserUuid, getVersion, hashCode, isApproved, isDraft, isExpired, isPending, resetOriginalValues, setChangeLog, setCompanyId, setCreateDate, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFileVersionId, setFolderId, setGroupId, setMimeType, setModifiedDate, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setSize, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTitle, setUserId, setUserName, setUserUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel
clone, compareTo, getApproved, getChangeLog, getCompanyId, getCreateDate, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFileVersionId, getFolderId, getGroupId, getMimeType, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getSize, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTitle, getUserId, getUserName, getUserUuid, getVersion, hashCode, isApproved, isCachedModel, isDraft, isEscapedModel, isExpired, isNew, isPending, setCachedModel, setChangeLog, setCompanyId, setCreateDate, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFileVersionId, setFolderId, setGroupId, setMimeType, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setSize, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTitle, setUserId, setUserName, setUserUuid, setVersion, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

DLFileVersionImpl

public DLFileVersionImpl()
Method Detail

getContentStream

public java.io.InputStream getContentStream(boolean incrementCounter)
                                     throws com.liferay.portal.kernel.exception.PortalException,
                                            com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileVersion>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portlet.documentlibrary.model.DLFileVersion
Specified by:
getExpandoBridge in interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel
Overrides:
getExpandoBridge in class DLFileVersionModelImpl

getExtraSettings

public java.lang.String getExtraSettings()
Specified by:
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileVersion
Specified by:
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel
Overrides:
getExtraSettings in class DLFileVersionModelImpl

getExtraSettingsProperties

public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()

getFileEntry

public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry()
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolder

public com.liferay.portlet.documentlibrary.model.DLFolder getFolder()

getIcon

public java.lang.String getIcon()

setExtraSettings

public void setExtraSettings(java.lang.String extraSettings)
Specified by:
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileVersion
Specified by:
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel
Overrides:
setExtraSettings in class DLFileVersionModelImpl

setExtraSettingsProperties

public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)