public class ServiceTestUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
RETRY_COUNT |
static int |
THREAD_COUNT |
Constructor and Description |
---|
ServiceTestUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addResourcePermission(com.liferay.portal.kernel.model.Role role,
String resourceName,
int scope,
String primKey,
String actionId)
Deprecated.
As of 7.0.0
|
static void |
addResourcePermission(String roleName,
String resourceName,
int scope,
String primKey,
String actionId)
Deprecated.
As of 7.0.0
|
static com.liferay.portal.kernel.model.Role |
addRole(String roleName,
int roleType)
Deprecated.
As of 7.0.0
|
static com.liferay.portal.kernel.model.Role |
addRole(String roleName,
int roleType,
String resourceName,
int scope,
String primKey,
String actionId)
Deprecated.
As of 7.0.0
|
static void |
initMainServletServices() |
static void |
initPermissions() |
static void |
initServices() |
static void |
initStaticServices() |
static Date |
newDate() |
static Date |
newDate(int month,
int day,
int year) |
static void |
setUser(com.liferay.portal.kernel.model.User user) |
public static final int RETRY_COUNT
public static final int THREAD_COUNT
@Deprecated public static void addResourcePermission(com.liferay.portal.kernel.model.Role role, String resourceName, int scope, String primKey, String actionId) throws Exception
Exception
@Deprecated public static void addResourcePermission(String roleName, String resourceName, int scope, String primKey, String actionId) throws Exception
Exception
@Deprecated public static com.liferay.portal.kernel.model.Role addRole(String roleName, int roleType) throws Exception
Exception
@Deprecated public static com.liferay.portal.kernel.model.Role addRole(String roleName, int roleType, String resourceName, int scope, String primKey, String actionId) throws Exception
Exception
public static void initMainServletServices()
public static void initPermissions()
public static void initServices()
public static void initStaticServices()