Liferay 6.0.5

com.liferay.portal.security.permission
Class ResourceActionsUtil_IW

java.lang.Object
  extended by com.liferay.portal.security.permission.ResourceActionsUtil_IW

public class ResourceActionsUtil_IW
extends Object


Method Summary
 void checkAction(String name, String actionId)
           
 String getAction(Locale locale, String action)
           
 String getAction(javax.servlet.jsp.PageContext pageContext, String action)
           
 List<String> getActions(List<Permission> permissions)
           
 List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, List<String> actions)
           
 List<String> getActionsNames(javax.servlet.jsp.PageContext pageContext, String name, long actionIds)
           
static ResourceActionsUtil_IW getInstance()
           
 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> getModelResourceCommunityDefaultActions(String name)
           
 List<String> getModelResourceGuestDefaultActions(String name)
           
 List<String> getModelResourceGuestUnsupportedActions(String name)
           
 List<String> getModelResourceOwnerDefaultActions(String name)
           
 String getPortletBaseResource(String portletName)
           
 List<String> getPortletModelResources(String portletName)
           
 List<String> getPortletNames()
           
 List<String> getPortletResourceActions(String name)
           
 List<String> getPortletResourceCommunityDefaultActions(String name)
           
 List<String> getPortletResourceGuestDefaultActions(String name)
           
 List<String> getPortletResourceGuestUnsupportedActions(String name)
           
 List<String> getPortletResourceLayoutManagerActions(String name)
           
 List<String> getResourceActions(String name)
           
 List<String> getResourceActions(String portletResource, String modelResource)
           
 List<String> getResourceCommunityDefaultActions(String name)
           
 List<String> getResourceGuestUnsupportedActions(String portletResource, String modelResource)
           
 List<Role> getRoles(long companyId, Group group, String modelResource)
           
 SocialEquityActionMapping getSocialEquityActionMapping(String name, String actionId)
           
 List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)
           
 String[] getSocialEquityClassNames()
           
 boolean hasModelResourceActions(String name)
           
 void init()
           
 boolean isOrganizationModelResource(String modelResource)
           
 boolean isPortalModelResource(String modelResource)
           
 void read(String servletContextName, ClassLoader classLoader, String source)
           
 void read(String servletContextName, InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ResourceActionsUtil_IW getInstance()

checkAction

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

getAction

public String getAction(Locale locale,
                        String action)

getAction

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

getActions

public List<String> getActions(List<Permission> permissions)

getActionsNames

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

getActionsNames

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

getModelNames

public List<String> getModelNames()

getModelPortletResources

public List<String> getModelPortletResources(String name)

getModelResource

public String getModelResource(Locale locale,
                               String name)

getModelResource

public String getModelResource(javax.servlet.jsp.PageContext pageContext,
                               String name)

getModelResourceActions

public List<String> getModelResourceActions(String name)

getModelResourceCommunityDefaultActions

public List<String> getModelResourceCommunityDefaultActions(String name)

getModelResourceGuestDefaultActions

public List<String> getModelResourceGuestDefaultActions(String name)

getModelResourceGuestUnsupportedActions

public List<String> getModelResourceGuestUnsupportedActions(String name)

getModelResourceOwnerDefaultActions

public List<String> getModelResourceOwnerDefaultActions(String name)

getPortletBaseResource

public String getPortletBaseResource(String portletName)

getPortletModelResources

public List<String> getPortletModelResources(String portletName)

getPortletNames

public List<String> getPortletNames()

getPortletResourceActions

public List<String> getPortletResourceActions(String name)

getPortletResourceCommunityDefaultActions

public List<String> getPortletResourceCommunityDefaultActions(String name)

getPortletResourceGuestDefaultActions

public List<String> getPortletResourceGuestDefaultActions(String name)

getPortletResourceGuestUnsupportedActions

public List<String> getPortletResourceGuestUnsupportedActions(String name)

getPortletResourceLayoutManagerActions

public List<String> getPortletResourceLayoutManagerActions(String name)

getResourceActions

public List<String> getResourceActions(String name)

getResourceActions

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

getResourceCommunityDefaultActions

public List<String> getResourceCommunityDefaultActions(String name)

getResourceGuestUnsupportedActions

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

getRoles

public List<Role> getRoles(long companyId,
                           Group group,
                           String modelResource)
                    throws SystemException
Throws:
SystemException

getSocialEquityActionMapping

public SocialEquityActionMapping getSocialEquityActionMapping(String name,
                                                              String actionId)

getSocialEquityActionMappings

public List<SocialEquityActionMapping> getSocialEquityActionMappings(String name)

getSocialEquityClassNames

public String[] getSocialEquityClassNames()

hasModelResourceActions

public boolean hasModelResourceActions(String name)

init

public void init()

isOrganizationModelResource

public boolean isOrganizationModelResource(String modelResource)

isPortalModelResource

public boolean isPortalModelResource(String modelResource)

read

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

read

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

Liferay 6.0.5