Liferay 7.0-ce-b4

com.liferay.portal.kernel.repository.model
Interface RepositoryModel<T>

All Superinterfaces:
AuditedModel, ClassedModel, GroupedModel, Serializable, StagedGroupedModel, StagedModel
All Known Subinterfaces:
FileEntry, FileShortcut, FileVersion, Folder
All Known Implementing Classes:
FileEntryProxyBean, FileEntryWrapper, FileShortcutProxyBean, FileShortcutWrapper, FileVersionProxyBean, FileVersionWrapper, FolderProxyBean, FolderWrapper

public interface RepositoryModel<T>
extends StagedGroupedModel, Serializable


Method Summary
 void execute(RepositoryModelOperation repositoryModelOperation)
           
 Map<String,Serializable> getAttributes()
           
 Object getModel()
           
 long getPrimaryKey()
           
 boolean isEscapedModel()
           
 T toEscapedModel()
           
 T toUnescapedModel()
           
 
Methods inherited from interface com.liferay.portal.model.StagedGroupedModel
getLastPublishDate, setLastPublishDate
 
Methods inherited from interface com.liferay.portal.model.GroupedModel
getGroupId, setGroupId
 
Methods inherited from interface com.liferay.portal.model.AuditedModel
getCompanyId, getCreateDate, getModifiedDate, getUserId, getUserName, getUserUuid, setCompanyId, setCreateDate, setModifiedDate, setUserId, setUserName, setUserUuid
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, setPrimaryKeyObj
 
Methods inherited from interface com.liferay.portal.model.StagedModel
clone, getCompanyId, getCreateDate, getModifiedDate, getStagedModelType, getUuid, setCompanyId, setCreateDate, setModifiedDate, setUuid
 

Method Detail

execute

void execute(RepositoryModelOperation repositoryModelOperation)
             throws PortalException
Throws:
PortalException

getAttributes

Map<String,Serializable> getAttributes()

getModel

Object getModel()

getPrimaryKey

long getPrimaryKey()

isEscapedModel

boolean isEscapedModel()

toEscapedModel

T toEscapedModel()

toUnescapedModel

T toUnescapedModel()

Liferay 7.0-ce-b4