List of usage examples for com.liferay.portal.util PropsValues RESOURCE_ACTIONS_CONFIGS
String[] RESOURCE_ACTIONS_CONFIGS
To view the source code for com.liferay.portal.util PropsValues RESOURCE_ACTIONS_CONFIGS.
Click Source Link
From source file:com.liferay.calendar.internal.upgrade.v1_0_6.UpgradeResourcePermission.java
License:Open Source License
protected List<String> getModelResourceGuestUnsupportedActions() throws UpgradeException { try {/*from www . j a va 2s .c o m*/ 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); } }