public class ResourceActionsImpl
extends Object
implements com.liferay.portal.kernel.security.permission.ResourceActions
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.PortletLocalService |
portletLocalService |
protected com.liferay.portal.kernel.service.ResourceActionLocalService |
resourceActionLocalService |
protected com.liferay.portal.kernel.service.RoleLocalService |
roleLocalService |
Constructor and Description |
---|
ResourceActionsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
check(com.liferay.portal.kernel.model.Portlet portlet)
Deprecated.
As of Athanasius (7.3.x), replaced by
check(String) |
void |
check(String portletName) |
void |
checkAction(String name,
String actionId)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
String |
getAction(javax.servlet.http.HttpServletRequest httpServletRequest,
String action) |
String |
getAction(Locale locale,
String action) |
String |
getActionNamePrefix()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
String |
getCompositeModelName(String... classNames) |
String |
getCompositeModelNameSeparator() |
List<String> |
getModelNames() |
List<String> |
getModelPortletResources(String name) |
String |
getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest,
String name) |
String |
getModelResource(Locale locale,
String name) |
List<String> |
getModelResourceActions(String name) |
List<String> |
getModelResourceGroupDefaultActions(String name) |
List<String> |
getModelResourceGuestDefaultActions(String name) |
List<String> |
getModelResourceGuestUnsupportedActions(String name) |
String |
getModelResourceNamePrefix() |
List<String> |
getModelResourceOwnerDefaultActions(String name) |
Double |
getModelResourceWeight(String name) |
String[] |
getOrganizationModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
String[] |
getPortalModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
String |
getPortletBaseResource(String portletName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
List<String> |
getPortletModelResources(String portletName) |
List<String> |
getPortletNames() |
List<String> |
getPortletResourceActions(com.liferay.portal.kernel.model.Portlet portlet)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
List<String> |
getPortletResourceActions(String name) |
List<String> |
getPortletResourceGroupDefaultActions(String name) |
List<String> |
getPortletResourceGuestDefaultActions(String name) |
List<String> |
getPortletResourceGuestUnsupportedActions(String name) |
List<String> |
getPortletResourceLayoutManagerActions(String name) |
String |
getPortletRootModelResource(String portletName) |
List<String> |
getResourceActions(String name) |
List<String> |
getResourceActions(String portletResource,
String modelResource) |
List<String> |
getResourceGroupDefaultActions(String name)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
List<String> |
getResourceGuestUnsupportedActions(String portletResource,
String modelResource) |
List<com.liferay.portal.kernel.model.Role> |
getRoles(long companyId,
com.liferay.portal.kernel.model.Group group,
String modelResource,
int[] roleTypes) |
String[] |
getRootModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
hasModelResourceActions(String name)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isOrganizationModelResource(String modelResource)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isPortalModelResource(String modelResource) |
boolean |
isRootModelResource(String modelResource) |
void |
read(String servletContextName,
ClassLoader classLoader,
String... sources) |
void |
read(String servletContextName,
ClassLoader classLoader,
String source) |
void |
readAndCheck(String servletContextName,
ClassLoader classLoader,
String... sources) |
void |
removePortletResource(String portletName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
@BeanReference(type=com.liferay.portal.kernel.service.PortletLocalService.class) protected com.liferay.portal.kernel.service.PortletLocalService portletLocalService
@BeanReference(type=com.liferay.portal.kernel.service.ResourceActionLocalService.class) protected com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService
public void afterPropertiesSet()
@Deprecated public void check(com.liferay.portal.kernel.model.Portlet portlet)
check(String)
check
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public void check(String portletName)
check
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public void checkAction(String name, String actionId) throws com.liferay.portal.kernel.exception.NoSuchResourceActionException
checkAction
in interface com.liferay.portal.kernel.security.permission.ResourceActions
com.liferay.portal.kernel.exception.NoSuchResourceActionException
public String getAction(javax.servlet.http.HttpServletRequest httpServletRequest, String action)
getAction
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getAction(Locale locale, String action)
getAction
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public String getActionNamePrefix()
getActionNamePrefix
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getCompositeModelName(String... classNames)
getCompositeModelName
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getCompositeModelNameSeparator()
getCompositeModelNameSeparator
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelNames()
getModelNames
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelPortletResources(String name)
getModelPortletResources
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
getModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getModelResource(Locale locale, String name)
getModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelResourceActions(String name)
getModelResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelResourceGroupDefaultActions(String name)
getModelResourceGroupDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelResourceGuestDefaultActions(String name)
getModelResourceGuestDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelResourceGuestUnsupportedActions(String name)
getModelResourceGuestUnsupportedActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getModelResourceNamePrefix()
getModelResourceNamePrefix
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getModelResourceOwnerDefaultActions(String name)
getModelResourceOwnerDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public Double getModelResourceWeight(String name)
getModelResourceWeight
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public String[] getOrganizationModelResources()
getOrganizationModelResources
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public String[] getPortalModelResources()
getPortalModelResources
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public String getPortletBaseResource(String portletName)
getPortletBaseResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletModelResources(String portletName)
getPortletModelResources
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletNames()
getPortletNames
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public List<String> getPortletResourceActions(com.liferay.portal.kernel.model.Portlet portlet)
getPortletResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletResourceActions(String name)
getPortletResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletResourceGroupDefaultActions(String name)
getPortletResourceGroupDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletResourceGuestDefaultActions(String name)
getPortletResourceGuestDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletResourceGuestUnsupportedActions(String name)
getPortletResourceGuestUnsupportedActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getPortletResourceLayoutManagerActions(String name)
getPortletResourceLayoutManagerActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public String getPortletRootModelResource(String portletName)
getPortletRootModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getResourceActions(String name)
getResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getResourceActions(String portletResource, String modelResource)
getResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public List<String> getResourceGroupDefaultActions(String name)
getResourceGroupDefaultActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<String> getResourceGuestUnsupportedActions(String portletResource, String modelResource)
getResourceGuestUnsupportedActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public List<com.liferay.portal.kernel.model.Role> getRoles(long companyId, com.liferay.portal.kernel.model.Group group, String modelResource, int[] roleTypes)
getRoles
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public String[] getRootModelResources()
getRootModelResources
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public boolean hasModelResourceActions(String name)
hasModelResourceActions
in interface com.liferay.portal.kernel.security.permission.ResourceActions
@Deprecated public boolean isOrganizationModelResource(String modelResource)
isOrganizationModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public boolean isPortalModelResource(String modelResource)
isPortalModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public boolean isRootModelResource(String modelResource)
isRootModelResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions
public void read(String servletContextName, ClassLoader classLoader, String source) throws com.liferay.portal.kernel.exception.ResourceActionsException
read
in interface com.liferay.portal.kernel.security.permission.ResourceActions
com.liferay.portal.kernel.exception.ResourceActionsException
public void read(String servletContextName, ClassLoader classLoader, String... sources) throws com.liferay.portal.kernel.exception.ResourceActionsException
read
in interface com.liferay.portal.kernel.security.permission.ResourceActions
com.liferay.portal.kernel.exception.ResourceActionsException
public void readAndCheck(String servletContextName, ClassLoader classLoader, String... sources) throws com.liferay.portal.kernel.exception.ResourceActionsException
readAndCheck
in interface com.liferay.portal.kernel.security.permission.ResourceActions
com.liferay.portal.kernel.exception.ResourceActionsException
@Deprecated public void removePortletResource(String portletName)
removePortletResource
in interface com.liferay.portal.kernel.security.permission.ResourceActions