Liferay 6.2.0

com.liferay.portal.security.permission
Interface ResourceActions

All Known Implementing Classes:
ResourceActionsImpl

public interface ResourceActions


Field Summary
static String ACTION_NAME_PREFIX
          Deprecated. As of 6.2.0, replaced by getActionNamePrefix()
static String MODEL_RESOURCE_NAME_PREFIX
          Deprecated. As of 6.2.0, replaced by getModelResourceNamePrefix()
static String[] ORGANIZATION_MODEL_RESOURCES
          Deprecated. As of 6.2.0, replaced by getOrganizationModelResources()
static String[] PORTAL_MODEL_RESOURCES
          Deprecated. As of 6.2.0, replaced by getPortalModelResources()
 
Method Summary
abstract  void checkAction(String name, String actionId)
           
abstract  String getAction(Locale locale, String action)
           
abstract  String getAction(javax.servlet.jsp.PageContext pageContext, String action)
           
abstract  String getActionNamePrefix()
           
abstract  List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, List<String> actions)
           
abstract  List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, String name, long actionIds)
           
abstract  List<String> getModelNames()
           
abstract  List<String> getModelPortletResources(String name)
           
abstract  String getModelResource(Locale locale, String name)
           
abstract  String getModelResource(javax.servlet.jsp.PageContext pageContext, String name)
           
abstract  List<String> getModelResourceActions(String name)
           
abstract  List<String> getModelResourceGroupDefaultActions(String name)
           
abstract  List<String> getModelResourceGuestDefaultActions(String name)
           
abstract  List<String> getModelResourceGuestUnsupportedActions(String name)
           
abstract  String getModelResourceNamePrefix()
           
abstract  List<String> getModelResourceOwnerDefaultActions(String name)
           
abstract  Double getModelResourceWeight(String name)
           
abstract  String[] getOrganizationModelResources()
           
abstract  String[] getPortalModelResources()
           
abstract  String getPortletBaseResource(String portletName)
           
abstract  List<String> getPortletModelResources(String portletName)
           
abstract  List<String> getPortletNames()
           
abstract  List<String> getPortletResourceActions(Portlet portlet)
           
abstract  List<String> getPortletResourceActions(String name)
           
abstract  List<String> getPortletResourceGroupDefaultActions(String name)
           
abstract  List<String> getPortletResourceGuestDefaultActions(String name)
           
abstract  List<String> getPortletResourceGuestUnsupportedActions(String name)
           
abstract  List<String> getPortletResourceLayoutManagerActions(String name)
           
abstract  String getPortletRootModelResource(String portletName)
           
abstract  List<String> getResourceActions(String name)
           
abstract  List<String> getResourceActions(String portletResource, String modelResource)
           
abstract  List<String> getResourceGroupDefaultActions(String name)
           
abstract  List<String> getResourceGuestUnsupportedActions(String portletResource, String modelResource)
           
abstract  List<Role> getRoles(long companyId, Group group, String modelResource)
          Deprecated. As of 6.1.0, replaced by getRoles(long, Group, String, int[])
abstract  List<Role> getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
           
abstract  boolean hasModelResourceActions(String name)
           
abstract  boolean isOrganizationModelResource(String modelResource)
           
abstract  boolean isPortalModelResource(String modelResource)
           
abstract  void read(String servletContextName, ClassLoader classLoader, String source)
           
abstract  void read(String servletContextName, InputStream inputStream)
           
 

Field Detail

ACTION_NAME_PREFIX

static final String ACTION_NAME_PREFIX
Deprecated. As of 6.2.0, replaced by getActionNamePrefix()
See Also:
Constant Field Values

MODEL_RESOURCE_NAME_PREFIX

static final String MODEL_RESOURCE_NAME_PREFIX
Deprecated. As of 6.2.0, replaced by getModelResourceNamePrefix()
See Also:
Constant Field Values

ORGANIZATION_MODEL_RESOURCES

static final String[] ORGANIZATION_MODEL_RESOURCES
Deprecated. As of 6.2.0, replaced by getOrganizationModelResources()

PORTAL_MODEL_RESOURCES

static final String[] PORTAL_MODEL_RESOURCES
Deprecated. As of 6.2.0, replaced by getPortalModelResources()
Method Detail

checkAction

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

getAction

String getAction(Locale locale,
                 String action)

getAction

String getAction(javax.servlet.jsp.PageContext pageContext,
                 String action)

getActionNamePrefix

String getActionNamePrefix()

getActionsNames

List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext,
                             List<String> actions)

getActionsNames

List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext,
                             String name,
                             long actionIds)

getModelNames

List<String> getModelNames()

getModelPortletResources

List<String> getModelPortletResources(String name)

getModelResource

String getModelResource(Locale locale,
                        String name)

getModelResource

String getModelResource(javax.servlet.jsp.PageContext pageContext,
                        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)
                    throws SystemException
Deprecated. As of 6.1.0, replaced by getRoles(long, Group, String, int[])

Throws:
SystemException

getRoles

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

hasModelResourceActions

boolean hasModelResourceActions(String name)

isOrganizationModelResource

boolean isOrganizationModelResource(String modelResource)

isPortalModelResource

boolean isPortalModelResource(String modelResource)

read

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

read

void read(String servletContextName,
          InputStream inputStream)
          throws Exception
Throws:
Exception

Liferay 6.2.0