public class FileShortcutWrapper extends Object implements FileShortcut, ModelWrapper<FileShortcut>
FILE_SHORTCUT_ID_ACCESSOR
Constructor and Description |
---|
FileShortcutWrapper(FileShortcut fileShortcut) |
public FileShortcutWrapper(FileShortcut fileShortcut)
public Object clone()
clone
in interface StagedModel
clone
in class Object
public boolean containsPermission(PermissionChecker permissionChecker, String actionId) throws PortalException
containsPermission
in interface FileShortcut
PortalException
public void execute(RepositoryModelOperation repositoryModelOperation) throws PortalException
execute
in interface RepositoryModel<FileShortcut>
PortalException
public Map<String,Serializable> getAttributes()
getAttributes
in interface RepositoryModel<FileShortcut>
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface RepositoryEntry
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface RepositoryEntry
public ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface ClassedModel
public long getFileShortcutId()
getFileShortcutId
in interface FileShortcut
public FileVersion getFileVersion() throws PortalException
getFileVersion
in interface FileShortcut
PortalException
public Folder getFolder() throws PortalException
getFolder
in interface FileShortcut
PortalException
public long getFolderId()
getFolderId
in interface FileShortcut
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface RepositoryEntry
public Date getLastPublishDate()
getLastPublishDate
in interface StagedGroupedModel
public Object getModel()
getModel
in interface RepositoryModel<FileShortcut>
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface RepositoryEntry
public long getPrimaryKey()
getPrimaryKey
in interface RepositoryModel<FileShortcut>
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface ClassedModel
public long getRepositoryId()
getRepositoryId
in interface FileShortcut
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public long getToFileEntryId()
getToFileEntryId
in interface FileShortcut
public String getToTitle()
getToTitle
in interface FileShortcut
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RepositoryEntry
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RepositoryEntry
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface RepositoryEntry
public String getUuid()
getUuid
in interface StagedModel
public FileShortcut getWrappedModel()
getWrappedModel
in interface ModelWrapper<FileShortcut>
public boolean isEscapedModel()
isEscapedModel
in interface RepositoryModel<FileShortcut>
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface StagedGroupedModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface ClassedModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
public void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
public FileShortcut toEscapedModel()
toEscapedModel
in interface RepositoryModel<FileShortcut>
public FileShortcut toUnescapedModel()
toUnescapedModel
in interface RepositoryModel<FileShortcut>