public class FileVersionPreviewWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FileVersionPreview> implements FileVersionPreview, com.liferay.portal.kernel.model.ModelWrapper<FileVersionPreview>
This class is a wrapper for FileVersionPreview.
FileVersionPreview,
Serialized FormFILE_VERSION_PREVIEW_ID_ACCESSOR| Constructor and Description |
|---|
FileVersionPreviewWrapper(FileVersionPreview fileVersionPreview) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFileEntryId()
Returns the file entry ID of this file version preview.
|
long |
getFileVersionId()
Returns the file version ID of this file version preview.
|
long |
getFileVersionPreviewId()
Returns the file version preview ID of this file version preview.
|
long |
getGroupId()
Returns the group ID of this file version preview.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
int |
getPreviewStatus()
Returns the preview status of this file version preview.
|
long |
getPrimaryKey()
Returns the primary key of this file version preview.
|
void |
persist() |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this file version preview.
|
void |
setFileVersionId(long fileVersionId)
Sets the file version ID of this file version preview.
|
void |
setFileVersionPreviewId(long fileVersionPreviewId)
Sets the file version preview ID of this file version preview.
|
void |
setGroupId(long groupId)
Sets the group ID of this file version preview.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPreviewStatus(int previewStatus)
Sets the preview status of this file version preview.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this file version preview.
|
protected FileVersionPreviewWrapper |
wrap(FileVersionPreview fileVersionPreview) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic FileVersionPreviewWrapper(FileVersionPreview fileVersionPreview)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FileVersionPreview>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<FileVersionPreview>public long getFileEntryId()
getFileEntryId in interface FileVersionPreviewModelpublic long getFileVersionId()
getFileVersionId in interface FileVersionPreviewModelpublic long getFileVersionPreviewId()
getFileVersionPreviewId in interface FileVersionPreviewModelpublic long getGroupId()
getGroupId in interface FileVersionPreviewModelpublic int getPreviewStatus()
getPreviewStatus in interface FileVersionPreviewModelpublic long getPrimaryKey()
getPrimaryKey in interface FileVersionPreviewModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface FileVersionPreviewModelfileEntryId - the file entry ID of this file version previewpublic void setFileVersionId(long fileVersionId)
setFileVersionId in interface FileVersionPreviewModelfileVersionId - the file version ID of this file version previewpublic void setFileVersionPreviewId(long fileVersionPreviewId)
setFileVersionPreviewId in interface FileVersionPreviewModelfileVersionPreviewId - the file version preview ID of this file version previewpublic void setGroupId(long groupId)
setGroupId in interface FileVersionPreviewModelgroupId - the group ID of this file version previewpublic void setPreviewStatus(int previewStatus)
setPreviewStatus in interface FileVersionPreviewModelpreviewStatus - the preview status of this file version previewpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface FileVersionPreviewModelprimaryKey - the primary key of this file version previewprotected FileVersionPreviewWrapper wrap(FileVersionPreview fileVersionPreview)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FileVersionPreview>