Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.security.permission
Interface ResourceActions


@ProviderType
public interface ResourceActions


Method Summary
 void checkAction(String name, String actionId)
           
 String getAction(javax.servlet.http.HttpServletRequest request, String action)
           
 String getAction(Locale locale, String action)
           
 String getActionNamePrefix()
           
 List<String> getActionsNames(javax.servlet.http.HttpServletRequest request, List<String> actions)
          Deprecated. As of 7.0.0
 List<String> getActionsNames(javax.servlet.http.HttpServletRequest request, String name, long actionIds)
          Deprecated. As of 7.0.0
 String getCompositeModelNameSeparator()
           
 List<String> getModelNames()
           
 List<String> getModelPortletResources(String name)
           
 String getModelResource(javax.servlet.http.HttpServletRequest request, 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()
           
 String[] getPortalModelResources()
           
 String getPortletBaseResource(String portletName)
           
 List<String> getPortletModelResources(String portletName)
           
 List<String> getPortletNames()
           
 List<String> getPortletResourceActions(Portlet portlet)
           
 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)
           
 List<String> getResourceGuestUnsupportedActions(String portletResource, String modelResource)
           
 List<Role> getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
           
 String[] getRootModelResources()
           
 boolean hasModelResourceActions(String name)
           
 boolean isOrganizationModelResource(String modelResource)
           
 boolean isPortalModelResource(String modelResource)
           
 boolean isRootModelResource(String modelResource)
           
 void read(String servletContextName, ClassLoader classLoader, String source)
           
 void read(String servletContextName, InputStream inputStream)
          Deprecated. As of 7.0.0
 

Method Detail

checkAction

void checkAction(String name,
                 String actionId)
                 throws NoSuchResourceActionException
Throws:
NoSuchResourceActionException

getAction

String getAction(javax.servlet.http.HttpServletRequest request,
                 String action)

getAction

String getAction(Locale locale,
                 String action)

getActionNamePrefix

String getActionNamePrefix()

getActionsNames

@Deprecated
List<String> getActionsNames(javax.servlet.http.HttpServletRequest request,
                                        List<String> actions)
Deprecated. As of 7.0.0


getActionsNames

@Deprecated
List<String> getActionsNames(javax.servlet.http.HttpServletRequest request,
                                        String name,
                                        long actionIds)
Deprecated. As of 7.0.0


getCompositeModelNameSeparator

String getCompositeModelNameSeparator()

getModelNames

List<String> getModelNames()

getModelPortletResources

List<String> getModelPortletResources(String name)

getModelResource

String getModelResource(javax.servlet.http.HttpServletRequest request,
                        String name)

getModelResource

String getModelResource(Locale locale,
                        String name)

getModelResourceActions

List<String> getModelResourceActions(String name)

getModelResourceGroupDefaultActions

List<String> getModelResourceGroupDefaultActions(String name)

getModelResourceGuestDefaultActions

List<String> getModelResourceGuestDefaultActions(String name)

getModelResourceGuestUnsupportedActions

List<String> getModelResourceGuestUnsupportedActions(String name)

getModelResourceNamePrefix

String getModelResourceNamePrefix()

getModelResourceOwnerDefaultActions

List<String> getModelResourceOwnerDefaultActions(String name)

getModelResourceWeight

Double getModelResourceWeight(String name)

getOrganizationModelResources

String[] getOrganizationModelResources()

getPortalModelResources

String[] getPortalModelResources()

getPortletBaseResource

String getPortletBaseResource(String portletName)

getPortletModelResources

List<String> getPortletModelResources(String portletName)

getPortletNames

List<String> getPortletNames()

getPortletResourceActions

List<String> getPortletResourceActions(Portlet portlet)

getPortletResourceActions

List<String> getPortletResourceActions(String name)

getPortletResourceGroupDefaultActions

List<String> getPortletResourceGroupDefaultActions(String name)

getPortletResourceGuestDefaultActions

List<String> getPortletResourceGuestDefaultActions(String name)

getPortletResourceGuestUnsupportedActions

List<String> getPortletResourceGuestUnsupportedActions(String name)

getPortletResourceLayoutManagerActions

List<String> getPortletResourceLayoutManagerActions(String name)

getPortletRootModelResource

String getPortletRootModelResource(String portletName)

getResourceActions

List<String> getResourceActions(String name)

getResourceActions

List<String> getResourceActions(String portletResource,
                                String modelResource)

getResourceGroupDefaultActions

List<String> getResourceGroupDefaultActions(String name)

getResourceGuestUnsupportedActions

List<String> getResourceGuestUnsupportedActions(String portletResource,
                                                String modelResource)

getRoles

List<Role> getRoles(long companyId,
                    Group group,
                    String modelResource,
                    int[] roleTypes)

getRootModelResources

String[] getRootModelResources()

hasModelResourceActions

boolean hasModelResourceActions(String name)

isOrganizationModelResource

boolean isOrganizationModelResource(String modelResource)

isPortalModelResource

boolean isPortalModelResource(String modelResource)

isRootModelResource

boolean isRootModelResource(String modelResource)

read

void read(String servletContextName,
          ClassLoader classLoader,
          String source)
          throws Exception
Throws:
Exception

read

@Deprecated
void read(String servletContextName,
                     InputStream inputStream)
          throws Exception
Deprecated. As of 7.0.0

Throws:
Exception

Liferay 7.0-ga1 portal-kernel