public interface SynchronizeService
Modifier and Type | Method and Description |
---|---|
SynchronizeDetails |
getDefaultDetails()
Return the pre-configured connection parameters
|
boolean |
shouldDisableReadSP(String docPath,
String permission)
Test if the ReadSecurityPolicy should be disabled or not.
|
SynchronizeReport |
synchronize(CoreSession session,
SynchronizeDetails details,
String queryName)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations.
|
SynchronizeReport |
synchronizeDocuments(CoreSession session,
SynchronizeDetails details,
String queryName)
Synchronizes all the documents by using the synchronization details.
|
SynchronizeReport |
synchronizeRelations(SynchronizeDetails details)
Synchronizes all the relations defined on the documents by using the
synchronization details.This should happen after the documents
synchronization.
|
SynchronizeReport |
synchronizeVocabularies(SynchronizeDetails details)
Synchronizes all the vocabularies by using the synchronization
details.This should happen after the documents synchronization.
|
SynchronizeReport synchronizeDocuments(CoreSession session, SynchronizeDetails details, String queryName) throws Exception
session
- - the Nuxeo core session received from the web contextdetails
- - the details about the synchronization processqueryName
- - the query name to use server sideClientException
Exception
SynchronizeReport synchronizeRelations(SynchronizeDetails details) throws ClientException
details
- - the details about the synchronization processClientException
SynchronizeReport synchronizeVocabularies(SynchronizeDetails details) throws ClientException
details
- ClientException
SynchronizeReport synchronize(CoreSession session, SynchronizeDetails details, String queryName) throws Exception
session
- - the Nuxeo core session received from the web contextdetails
- - the details about the synchronization processException
SynchronizeDetails getDefaultDetails()
Copyright © 2013 Nuxeo SA. All Rights Reserved.