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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 FileVersionPreviewModel
public long getFileVersionId()
getFileVersionId
in interface FileVersionPreviewModel
public long getFileVersionPreviewId()
getFileVersionPreviewId
in interface FileVersionPreviewModel
public long getGroupId()
getGroupId
in interface FileVersionPreviewModel
public int getPreviewStatus()
getPreviewStatus
in interface FileVersionPreviewModel
public long getPrimaryKey()
getPrimaryKey
in interface FileVersionPreviewModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface FileVersionPreviewModel
fileEntryId
- the file entry ID of this file version previewpublic void setFileVersionId(long fileVersionId)
setFileVersionId
in interface FileVersionPreviewModel
fileVersionId
- the file version ID of this file version previewpublic void setFileVersionPreviewId(long fileVersionPreviewId)
setFileVersionPreviewId
in interface FileVersionPreviewModel
fileVersionPreviewId
- the file version preview ID of this file version previewpublic void setGroupId(long groupId)
setGroupId
in interface FileVersionPreviewModel
groupId
- the group ID of this file version previewpublic void setPreviewStatus(int previewStatus)
setPreviewStatus
in interface FileVersionPreviewModel
previewStatus
- the preview status of this file version previewpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface FileVersionPreviewModel
primaryKey
- the primary key of this file version previewprotected FileVersionPreviewWrapper wrap(FileVersionPreview fileVersionPreview)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FileVersionPreview>