|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.security.permission.ResourceActionsUtil
public class ResourceActionsUtil
| Field Summary | |
|---|---|
static String |
ACTION_NAME_PREFIX
Deprecated. As of 6.1.0, replaced by getActionNamePrefix() |
static String |
MODEL_RESOURCE_NAME_PREFIX
Deprecated. As of 6.1.0, replaced by getModelResourceNamePrefix() |
static String[] |
ORGANIZATION_MODEL_RESOURCES
Deprecated. As of 6.1.0, replaced by getOrganizationModelResources() |
static String[] |
PORTAL_MODEL_RESOURCES
Deprecated. As of 6.1.0, replaced by getPortalModelResources() |
| Constructor Summary | |
|---|---|
ResourceActionsUtil()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final String ACTION_NAME_PREFIX
getActionNamePrefix()@Deprecated public static final String MODEL_RESOURCE_NAME_PREFIX
getModelResourceNamePrefix()@Deprecated public static final String[] ORGANIZATION_MODEL_RESOURCES
getOrganizationModelResources()@Deprecated public static final String[] PORTAL_MODEL_RESOURCES
getPortalModelResources()| Constructor Detail |
|---|
public ResourceActionsUtil()
| Method Detail |
|---|
public static void checkAction(String name,
String actionId)
throws NoSuchResourceActionException
NoSuchResourceActionException
public static String getAction(javax.servlet.http.HttpServletRequest request,
String action)
public static String getAction(Locale locale,
String action)
public static String getActionNamePrefix()
@Deprecated
public static List<String> getActionsNames(javax.servlet.http.HttpServletRequest request,
List<String> actions)
@Deprecated
public static List<String> getActionsNames(javax.servlet.http.HttpServletRequest request,
String name,
long actionIds)
public static String getCompositeModelNameSeparator()
public static List<String> getModelNames()
public static List<String> getModelPortletResources(String name)
public static String getModelResource(javax.servlet.http.HttpServletRequest request,
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)
public static String[] getOrganizationModelResources()
public static String[] getPortalModelResources()
public static String getPortletBaseResource(String portletName)
public static List<String> getPortletModelResources(String portletName)
public static List<String> getPortletNames()
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)
public static List<String> getResourceGroupDefaultActions(String name)
public static List<String> getResourceGuestUnsupportedActions(String portletResource,
String modelResource)
@Deprecated
public static List<Role> getRoles(long companyId,
Group group,
String modelResource)
getRoles(long, Group,
String, int[])
public static List<Role> getRoles(long companyId,
Group group,
String modelResource,
int[] roleTypes)
public static boolean hasModelResourceActions(String name)
@Deprecated public static void init()
public static boolean isOrganizationModelResource(String modelResource)
public static boolean isPortalModelResource(String modelResource)
public static void read(String servletContextName,
ClassLoader classLoader,
String source)
throws Exception
Exception
@Deprecated
public static void read(String servletContextName,
InputStream inputStream)
throws Exception
Exceptionpublic void setResourceActions(ResourceActions resourceActions)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||