Package org.nuxeo.ecm.restapi.test
Class RestServerInit
java.lang.Object
org.nuxeo.ecm.restapi.test.RestServerInit
- All Implemented Interfaces:
org.nuxeo.ecm.core.test.annotations.RepositoryInit
public class RestServerInit
extends Object
implements org.nuxeo.ecm.core.test.annotations.RepositoryInit
Repo init to test Rest API
- Since:
- 5.7.2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createUser
(UserManager um, String userId, String firstName, String lastName) static DocumentModel
getFile
(int index, CoreSession session) static DocumentModel
getFolder
(int index, CoreSession session) static DocumentModel
getNote
(int index, CoreSession session) static NuxeoPrincipal
void
populate
(CoreSession session)
-
Field Details
-
MAX_NOTE
public static final int MAX_NOTE- See Also:
-
FIRSTNAMES
-
LASTNAMES
-
GROUPNAMES
-
-
Constructor Details
-
RestServerInit
public RestServerInit()
-
-
Method Details
-
populate
- Specified by:
populate
in interfaceorg.nuxeo.ecm.core.test.annotations.RepositoryInit
-
createUser
-
getFolder
-
getNote
-
getFile
-
getPowerUser
-