public class DocumentDiffRepositoryInit extends DefaultRepositoryInit
| Constructor and Description |
|---|
DocumentDiffRepositoryInit() |
| Modifier and Type | Method and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentModel |
createLeftDoc(org.nuxeo.ecm.core.api.CoreSession session)
Creates the left doc.
|
protected org.nuxeo.ecm.core.api.DocumentModel |
createRightDoc(org.nuxeo.ecm.core.api.CoreSession session)
Creates the right doc.
|
static Calendar |
getCalendarUTCNoMillis(int year,
int month,
int day,
int hourOfDay,
int minute,
int second)
Gets a calendar set on the UTC time zone with 0 milliseconds.
|
static String |
getLeftDocPath() |
static String |
getRightDocPath() |
void |
populate(org.nuxeo.ecm.core.api.CoreSession session) |
public static String getLeftDocPath()
public static String getRightDocPath()
public void populate(org.nuxeo.ecm.core.api.CoreSession session)
throws org.nuxeo.ecm.core.api.ClientException
populate in interface RepositoryInitpopulate in class DefaultRepositoryInitorg.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.core.api.DocumentModel createLeftDoc(org.nuxeo.ecm.core.api.CoreSession session)
throws org.nuxeo.ecm.core.api.ClientException
session - the sessionorg.nuxeo.ecm.core.api.ClientException - the client exceptionprotected org.nuxeo.ecm.core.api.DocumentModel createRightDoc(org.nuxeo.ecm.core.api.CoreSession session)
throws org.nuxeo.ecm.core.api.ClientException
session - the sessionorg.nuxeo.ecm.core.api.ClientException - the client exceptionpublic static Calendar getCalendarUTCNoMillis(int year, int month, int day, int hourOfDay, int minute, int second)
year - the yearmonth - the monthday - the dayhourOfDay - the hour of dayminute - the minutesecond - the secondCopyright © 2020 Nuxeo SA. All rights reserved.