com.liferay.portlet.rolesadmin.lar
Class RoleStagedModelDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<Role>
com.liferay.portlet.rolesadmin.lar.RoleStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<Role>
public class RoleStagedModelDataHandler
- extends BaseStagedModelDataHandler<Role>
Method Summary |
protected void |
deleteRolePermissions(PortletDataContext portletDataContext,
Role importedRole)
|
void |
deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
|
protected void |
doExportStagedModel(PortletDataContext portletDataContext,
Role role)
|
protected void |
doImportStagedModel(PortletDataContext portletDataContext,
Role role)
|
String[] |
getClassNames()
|
String |
getDisplayName(Role role)
|
protected List<ResourceTypePermission> |
getResourceTypePermissions(PortletDataContext portletDataContext,
Role importedRole)
|
protected void |
importResourceBlock(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
|
protected void |
importResourcePermissions(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
|
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler |
countStagedModel, doImportCompanyStagedModel, doRestoreStagedModel, exportStagedModel, getExportableStatuses, getReferenceAttributes, importCompanyStagedModel, importCompanyStagedModel, importStagedModel, maintainSessionCache, restoreStagedModel, validateExport, validateMissingReference, validateReference |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAMES
public static final String[] CLASS_NAMES
RoleStagedModelDataHandler
public RoleStagedModelDataHandler()
deleteStagedModel
public void deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
throws PortalException,
SystemException
- Specified by:
deleteStagedModel
in interface StagedModelDataHandler<Role>
- Specified by:
deleteStagedModel
in class BaseStagedModelDataHandler<Role>
- Throws:
PortalException
SystemException
getClassNames
public String[] getClassNames()
- Specified by:
getClassNames
in interface StagedModelDataHandler<Role>
- Specified by:
getClassNames
in class BaseStagedModelDataHandler<Role>
getDisplayName
public String getDisplayName(Role role)
- Specified by:
getDisplayName
in interface StagedModelDataHandler<Role>
- Overrides:
getDisplayName
in class BaseStagedModelDataHandler<Role>
deleteRolePermissions
protected void deleteRolePermissions(PortletDataContext portletDataContext,
Role importedRole)
throws SystemException
- Throws:
SystemException
doExportStagedModel
protected void doExportStagedModel(PortletDataContext portletDataContext,
Role role)
throws Exception
- Specified by:
doExportStagedModel
in class BaseStagedModelDataHandler<Role>
- Throws:
Exception
doImportStagedModel
protected void doImportStagedModel(PortletDataContext portletDataContext,
Role role)
throws Exception
- Specified by:
doImportStagedModel
in class BaseStagedModelDataHandler<Role>
- Throws:
Exception
getResourceTypePermissions
protected List<ResourceTypePermission> getResourceTypePermissions(PortletDataContext portletDataContext,
Role importedRole)
throws SystemException
- Throws:
SystemException
importResourceBlock
protected void importResourceBlock(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importResourcePermissions
protected void importResourcePermissions(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException