public class ResourceActionsUtil
extends Object
Constructor and Description |
---|
ResourceActionsUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(Portlet portlet)
Deprecated.
As of Athanasius (7.3.x), replaced by
check(String) |
static void |
check(String portletName) |
static void |
checkAction(String name,
String actionId)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String |
getAction(javax.servlet.http.HttpServletRequest httpServletRequest,
String action) |
static String |
getAction(Locale locale,
String action) |
static String |
getActionNamePrefix()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String |
getCompositeModelName(String... classNames) |
static String |
getCompositeModelNameSeparator() |
static List<String> |
getModelNames() |
static List<String> |
getModelPortletResources(String name) |
static String |
getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest,
String name) |
static String |
getModelResource(Locale locale,
String name) |
static List<String> |
getModelResourceActions(String name) |
static List<String> |
getModelResourceGroupDefaultActions(String name) |
static List<String> |
getModelResourceGuestDefaultActions(String name) |
static List<String> |
getModelResourceGuestUnsupportedActions(String name) |
static String |
getModelResourceNamePrefix() |
static List<String> |
getModelResourceOwnerDefaultActions(String name) |
static Double |
getModelResourceWeight(String name) |
static String[] |
getOrganizationModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String[] |
getPortalModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String |
getPortletBaseResource(String portletName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static List<String> |
getPortletModelResources(String portletName) |
static List<String> |
getPortletNames() |
static List<String> |
getPortletResourceActions(Portlet portlet)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static List<String> |
getPortletResourceActions(String name) |
static List<String> |
getPortletResourceGroupDefaultActions(String name) |
static List<String> |
getPortletResourceGuestDefaultActions(String name) |
static List<String> |
getPortletResourceGuestUnsupportedActions(String name) |
static List<String> |
getPortletResourceLayoutManagerActions(String name) |
static String |
getPortletRootModelResource(String portletName) |
static ResourceActions |
getResourceActions() |
static List<String> |
getResourceActions(String name) |
static List<String> |
getResourceActions(String portletResource,
String modelResource) |
static List<String> |
getResourceGroupDefaultActions(String name)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static List<String> |
getResourceGuestUnsupportedActions(String portletResource,
String modelResource) |
static List<Role> |
getRoles(long companyId,
Group group,
String modelResource,
int[] roleTypes) |
static String[] |
getRootModelResources()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
hasModelResourceActions(String name)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
isOrganizationModelResource(String modelResource)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
isPortalModelResource(String modelResource) |
static boolean |
isRootModelResource(String modelResource) |
static void |
read(String servletContextName,
ClassLoader classLoader,
String... sources) |
static void |
read(String servletContextName,
ClassLoader classLoader,
String source) |
static void |
readAndCheck(String servletContextName,
ClassLoader classLoader,
String... sources) |
static void |
removePortletResource(String portletName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
setResourceActions(ResourceActions resourceActions) |
@Deprecated public static void check(Portlet portlet)
check(String)
public static void check(String portletName)
@Deprecated public static void checkAction(String name, String actionId) throws NoSuchResourceActionException
NoSuchResourceActionException
public static String getAction(javax.servlet.http.HttpServletRequest httpServletRequest, String action)
public static String getAction(Locale locale, String action)
@Deprecated public static String getActionNamePrefix()
public static String getCompositeModelName(String... classNames)
public static String getCompositeModelNameSeparator()
public static List<String> getModelNames()
public static List<String> getModelPortletResources(String name)
public static String getModelResource(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
public static String getModelResource(Locale locale, String name)
public static List<String> getModelResourceActions(String name)
public static List<String> getModelResourceGroupDefaultActions(String name)
public static List<String> getModelResourceGuestDefaultActions(String name)
public static List<String> getModelResourceGuestUnsupportedActions(String name)
public static String getModelResourceNamePrefix()
public static List<String> getModelResourceOwnerDefaultActions(String name)
public static Double getModelResourceWeight(String name)
@Deprecated public static String[] getOrganizationModelResources()
@Deprecated public static String[] getPortalModelResources()
@Deprecated public static String getPortletBaseResource(String portletName)
public static List<String> getPortletModelResources(String portletName)
public static List<String> getPortletNames()
@Deprecated public static List<String> getPortletResourceActions(Portlet portlet)
public static List<String> getPortletResourceActions(String name)
public static List<String> getPortletResourceGroupDefaultActions(String name)
public static List<String> getPortletResourceGuestDefaultActions(String name)
public static List<String> getPortletResourceGuestUnsupportedActions(String name)
public static List<String> getPortletResourceLayoutManagerActions(String name)
public static String getPortletRootModelResource(String portletName)
public static ResourceActions getResourceActions()
public static List<String> getResourceActions(String name)
public static List<String> getResourceActions(String portletResource, String modelResource)
@Deprecated public static List<String> getResourceGroupDefaultActions(String name)
public static List<String> getResourceGuestUnsupportedActions(String portletResource, String modelResource)
public static List<Role> getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
@Deprecated public static String[] getRootModelResources()
@Deprecated public static boolean hasModelResourceActions(String name)
@Deprecated public static boolean isOrganizationModelResource(String modelResource)
public static boolean isPortalModelResource(String modelResource)
public static boolean isRootModelResource(String modelResource)
public static void read(String servletContextName, ClassLoader classLoader, String source) throws Exception
Exception
public static void read(String servletContextName, ClassLoader classLoader, String... sources) throws Exception
Exception
public static void readAndCheck(String servletContextName, ClassLoader classLoader, String... sources) throws Exception
Exception
@Deprecated public static void removePortletResource(String portletName)
public void setResourceActions(ResourceActions resourceActions)