com.liferay.portal.security.permission
Interface ResourceActions
- All Known Implementing Classes:
- ResourceActionsImpl
public interface ResourceActions
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> |
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)
|
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)
|
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)
|
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. 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)
|
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()
getActions
List<String> getActions(List<Permission> permissions)
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)
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)
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.
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