List of usage examples for com.liferay.portal.security.permission ResourceActionsImpl ResourceActionsImpl
ResourceActionsImpl
From source file:com.liferay.calendar.internal.upgrade.v1_0_6.UpgradeResourcePermission.java
License:Open Source License
protected List<String> getModelResourceGuestUnsupportedActions() throws UpgradeException { try {//w ww .j a va2 s . c om ResourceActionsImpl resourceActionsImpl = new ResourceActionsImpl(); Class<?> clazz = getClass(); ClassLoader classLoader = clazz.getClassLoader(); for (String config : PropsValues.RESOURCE_ACTIONS_CONFIGS) { resourceActionsImpl.read(null, classLoader, config); } return resourceActionsImpl.getModelResourceGuestUnsupportedActions(_CALENDAR_RESOURCE_NAME); } catch (Exception e) { throw new UpgradeException(e); } }