List of usage examples for com.liferay.portal.security.permission ResourceActionsImpl getModelResourceGuestUnsupportedActions
@Override
public List<String> getModelResourceGuestUnsupportedActions(String name)
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 w w w. j a va2 s .com*/ 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); } }