com.liferay.portal.repository.liferayrepository.model
Class LiferayFileShortcut
java.lang.Object
com.liferay.portal.repository.liferayrepository.model.LiferayModel
com.liferay.portal.repository.liferayrepository.model.LiferayFileShortcut
- All Implemented Interfaces:
- FileShortcut, RepositoryEntry, RepositoryModel<FileShortcut>, AuditedModel, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, Serializable
public class LiferayFileShortcut
- extends LiferayModel
- implements FileShortcut
- See Also:
- Serialized Form
LiferayFileShortcut
public LiferayFileShortcut(DLFileShortcut dlFileShortcut)
LiferayFileShortcut
public LiferayFileShortcut(DLFileShortcut dlFileShortcut,
boolean escapedModel)
clone
public Object clone()
- Specified by:
clone in interface StagedModel- Overrides:
clone in class Object
containsPermission
public boolean containsPermission(PermissionChecker permissionChecker,
String actionId)
- Specified by:
containsPermission in interface FileShortcut
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
execute
public void execute(RepositoryModelOperation repositoryModelOperation)
throws PortalException
- Specified by:
execute in interface RepositoryModel<FileShortcut>
- Throws:
PortalException
getAttributes
public Map<String,Serializable> getAttributes()
- Specified by:
getAttributes in interface RepositoryModel<FileShortcut>
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface RepositoryEntry- Specified by:
getCompanyId in interface AuditedModel- Specified by:
getCompanyId in interface StagedModel- Specified by:
getCompanyId in class LiferayModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface RepositoryEntry- Specified by:
getCreateDate in interface AuditedModel- Specified by:
getCreateDate in interface StagedModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface ClassedModel- Specified by:
getExpandoBridge in class LiferayModel
getFileShortcutId
public long getFileShortcutId()
- Specified by:
getFileShortcutId in interface FileShortcut
getFileVersion
public FileVersion getFileVersion()
throws PortalException
- Specified by:
getFileVersion in interface FileShortcut
- Throws:
PortalException
getFolder
public Folder getFolder()
throws PortalException
- Specified by:
getFolder in interface FileShortcut
- Throws:
PortalException
getFolderId
public long getFolderId()
- Specified by:
getFolderId in interface FileShortcut
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface RepositoryEntry- Specified by:
getGroupId in interface GroupedModel
getLastPublishDate
public Date getLastPublishDate()
- Specified by:
getLastPublishDate in interface StagedGroupedModel
getModel
public Object getModel()
- Specified by:
getModel in interface RepositoryModel<FileShortcut>
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface ClassedModel- Specified by:
getModelClassName in class LiferayModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface RepositoryEntry- Specified by:
getModifiedDate in interface AuditedModel- Specified by:
getModifiedDate in interface StagedModel
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface RepositoryModel<FileShortcut>- Specified by:
getPrimaryKey in class LiferayModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface ClassedModel
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId in interface FileShortcut
getStagedModelType
public StagedModelType getStagedModelType()
- Specified by:
getStagedModelType in interface StagedModel
getToFileEntryId
public long getToFileEntryId()
- Specified by:
getToFileEntryId in interface FileShortcut
getToTitle
public String getToTitle()
- Specified by:
getToTitle in interface FileShortcut
getUserId
public long getUserId()
- Specified by:
getUserId in interface RepositoryEntry- Specified by:
getUserId in interface AuditedModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface RepositoryEntry- Specified by:
getUserName in interface AuditedModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface RepositoryEntry- Specified by:
getUserUuid in interface AuditedModel
getUuid
public String getUuid()
- Specified by:
getUuid in interface StagedModel
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface RepositoryModel<FileShortcut>
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface AuditedModel- Specified by:
setCompanyId in interface StagedModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface AuditedModel- Specified by:
setCreateDate in interface StagedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface GroupedModel
setLastPublishDate
public void setLastPublishDate(Date lastPublishDate)
- Specified by:
setLastPublishDate in interface StagedGroupedModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface AuditedModel- Specified by:
setModifiedDate in interface StagedModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface ClassedModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface AuditedModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface AuditedModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface AuditedModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid in interface StagedModel
toEscapedModel
public FileShortcut toEscapedModel()
- Specified by:
toEscapedModel in interface RepositoryModel<FileShortcut>
toUnescapedModel
public FileShortcut toUnescapedModel()
- Specified by:
toUnescapedModel in interface RepositoryModel<FileShortcut>