Example usage for com.liferay.portal.kernel.security.permission ActionKeys ADD_RULE_GROUP_INSTANCE

List of usage examples for com.liferay.portal.kernel.security.permission ActionKeys ADD_RULE_GROUP_INSTANCE

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.security.permission ActionKeys ADD_RULE_GROUP_INSTANCE.

Prototype

String ADD_RULE_GROUP_INSTANCE

To view the source code for com.liferay.portal.kernel.security.permission ActionKeys ADD_RULE_GROUP_INSTANCE.

Click Source Link

Usage

From source file:com.liferay.mobile.device.rules.service.impl.MDRRuleGroupInstanceServiceImpl.java

License:Open Source License

@Override
public MDRRuleGroupInstance addRuleGroupInstance(long groupId, String className, long classPK, long ruleGroupId,
        int priority, ServiceContext serviceContext) throws PortalException {

    _portletResourcePermission.check(getPermissionChecker(), groupId, ActionKeys.ADD_RULE_GROUP_INSTANCE);

    return mdrRuleGroupInstanceLocalService.addRuleGroupInstance(groupId, className, classPK, ruleGroupId,
            priority, serviceContext);/*w ww.ja v a 2 s .co m*/
}

From source file:com.liferay.mobile.device.rules.service.impl.MDRRuleGroupInstanceServiceImpl.java

License:Open Source License

@Override
public MDRRuleGroupInstance addRuleGroupInstance(long groupId, String className, long classPK, long ruleGroupId,
        ServiceContext serviceContext) throws PortalException {

    _portletResourcePermission.check(getPermissionChecker(), groupId, ActionKeys.ADD_RULE_GROUP_INSTANCE);

    return mdrRuleGroupInstanceLocalService.addRuleGroupInstance(groupId, className, classPK, ruleGroupId,
            serviceContext);// w  ww .  jav  a 2  s  .co  m
}