@ProviderType
public interface ResourceActions
Modifier and Type | Method and Description |
---|---|
void |
check(Portlet portlet) |
void |
check(String portletName) |
void |
checkAction(String name,
String actionId) |
String |
getAction(javax.servlet.http.HttpServletRequest httpServletRequest,
String action) |
String |
getAction(Locale locale,
String action) |
String |
getActionNamePrefix() |
String |
getCompositeModelName(String... classNames) |
String |
getCompositeModelNameSeparator() |
List<String> |
getModelNames() |
List<String> |
getModelPortletResources(String name) |
String |
getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest,
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... sources) |
void |
read(String servletContextName,
ClassLoader classLoader,
String source) |
void |
readAndCheck(String servletContextName,
ClassLoader classLoader,
String... sources) |
void |
removePortletResource(String portletName) |
void check(Portlet portlet)
void check(String portletName)
void checkAction(String name, String actionId) throws NoSuchResourceActionException
NoSuchResourceActionException
String getAction(javax.servlet.http.HttpServletRequest httpServletRequest, String action)
String getAction(Locale locale, String action)
String getActionNamePrefix()
String getCompositeModelName(String... classNames)
String getCompositeModelNameSeparator()
List<String> getModelNames()
List<String> getModelPortletResources(String name)
String getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest, 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)
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) throws Exception
Exception
void read(String servletContextName, ClassLoader classLoader, String... sources) throws Exception
Exception
void readAndCheck(String servletContextName, ClassLoader classLoader, String... sources) throws Exception
Exception
void removePortletResource(String portletName)