public class Helper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_TRANSITION |
static String |
FILE1_CONTENT |
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
static String |
createUserWorkspace(CoreSession repo,
String username) |
static GregorianCalendar |
getCalendar(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
Gets a Calendar object.
|
static GregorianCalendar |
getCalendar(int year,
int month,
int day,
int hours,
int minutes,
int seconds,
TimeZone tz)
Gets a Calendar object with a specific timezone
|
static Map<String,String> |
makeNuxeoRepository(CoreSession session)
Creates data in the repository using the Nuxeo API.
|
static String |
read(InputStream in,
String charset)
Reads a stream into a string.
|
public static final String DELETE_TRANSITION
public static final String FILE1_CONTENT
public static String read(InputStream in, String charset) throws IOException
IOException
public static GregorianCalendar getCalendar(int year, int month, int day, int hours, int minutes, int seconds)
public static GregorianCalendar getCalendar(int year, int month, int day, int hours, int minutes, int seconds, TimeZone tz)
public static Map<String,String> makeNuxeoRepository(CoreSession session) throws Exception
Exception
public static String createUserWorkspace(CoreSession repo, String username) throws ClientException
ClientException
Copyright © 2014 Nuxeo SA. All Rights Reserved.