public class RoleStagedModelDataHandler
extends com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CLASS_NAMES |
| Constructor and Description |
|---|
RoleStagedModelDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteRolePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole) |
void |
deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData) |
protected void |
doExportStagedModel(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role role) |
protected void |
doImportStagedModel(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role role) |
java.lang.String[] |
getClassNames() |
java.lang.String |
getDisplayName(com.liferay.portal.model.Role role) |
protected java.util.List<com.liferay.portal.model.ResourceTypePermission> |
getResourceTypePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole) |
protected void |
importResourceBlock(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole,
com.liferay.portal.model.Permission permission) |
protected void |
importResourcePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole,
com.liferay.portal.model.Permission permission) |
countStagedModel, doImportCompanyStagedModel, doRestoreStagedModel, exportStagedModel, getExportableStatuses, getReferenceAttributes, importCompanyStagedModel, importCompanyStagedModel, importStagedModel, maintainSessionCache, restoreStagedModel, validateExport, validateMissingReference, validateReferencepublic void deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteStagedModel in interface com.liferay.portal.kernel.lar.StagedModelDataHandler<com.liferay.portal.model.Role>deleteStagedModel in class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getClassNames()
getClassNames in interface com.liferay.portal.kernel.lar.StagedModelDataHandler<com.liferay.portal.model.Role>getClassNames in class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>public java.lang.String getDisplayName(com.liferay.portal.model.Role role)
getDisplayName in interface com.liferay.portal.kernel.lar.StagedModelDataHandler<com.liferay.portal.model.Role>getDisplayName in class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>protected void deleteRolePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void doExportStagedModel(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role role)
throws java.lang.Exception
doExportStagedModel in class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>java.lang.Exceptionprotected void doImportStagedModel(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role role)
throws java.lang.Exception
doImportStagedModel in class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<com.liferay.portal.model.Role>java.lang.Exceptionprotected java.util.List<com.liferay.portal.model.ResourceTypePermission> getResourceTypePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void importResourceBlock(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void importResourcePermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.model.Role importedRole,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException