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)
|
Role |
fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
|
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, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, fetchStagedModelByUuidAndGroupId, getExportableStatuses, getReferenceAttributes, importAssetCategories, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, restoreStagedModel, validateExport, validateMissingGroupReference, 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
- Specified by:
deleteStagedModel in interface StagedModelDataHandler<Role>- Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<Role>
- Throws:
PortalException
fetchStagedModelByUuidAndCompanyId
public Role fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
- Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<Role>- Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<Role>
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)
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)
importResourceBlock
protected void importResourceBlock(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
throws PortalException
- Throws:
PortalException
importResourcePermissions
protected void importResourcePermissions(PortletDataContext portletDataContext,
Role importedRole,
Permission permission)
throws PortalException
- Throws:
PortalException