public class RoleUtil
extends java.lang.Object
| Constructor and Description |
|---|
RoleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Role |
getRole(java.lang.String name,
int roleType,
boolean autoCreate,
ServiceContext serviceContext) |
static java.util.List<java.lang.Long> |
getRoleIds(ServiceContext serviceContext) |
static int |
getRoleType(java.lang.String roleType) |
public static Role getRole(java.lang.String name, int roleType, boolean autoCreate, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static java.util.List<java.lang.Long> getRoleIds(ServiceContext serviceContext)
public static int getRoleType(java.lang.String roleType)