Liferay 6.2-ce-ga5

com.liferay.portal.security.permission
Interface ResourceActions


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
 void checkAction(String name, String actionId)
           
 String getAction(Locale locale, String action)
           
 String getAction(javax.servlet.jsp.PageContext pageContext, String action)
           
 String getActionNamePrefix()
           
 List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, List<String> actions)
           
 List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, String name, long actionIds)
           
 List<String> getModelNames()
           
 List<String> getModelPortletResources(String name)
           
 String getModelResource(Locale locale, String name)
           
 String getModelResource(javax.servlet.jsp.PageContext pageContext, 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)
          Deprecated. As of 6.1.0, replaced by getRoles(long, Group, String, int[])
 List<Role> getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
           
 boolean hasModelResourceActions(String name)
           
 boolean isOrganizationModelResource(String modelResource)
           
 boolean isPortalModelResource(String modelResource)
           
 void read(String servletContextName, ClassLoader classLoader, String source)
           
 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-ce-ga5