public class SynchronizeServiceImpl extends DefaultComponent implements SynchronizeService
| Constructor and Description |
|---|
SynchronizeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
doSynchronize(CoreSession session)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations using the default
synchronization details.
|
void |
doSynchronize(CoreSession session,
String queryName)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations using the default
synchronization details.
|
void |
doSynchronize(CoreSession session,
SynchronizeDetails details)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations.
|
void |
doSynchronize(CoreSession session,
SynchronizeDetails details,
String queryName)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations.
|
void |
doSynchronizeDocuments(CoreSession session)
Synchronizes all the documents by using the default synchronization
details.
|
void |
doSynchronizeDocuments(CoreSession session,
String queryName)
Synchronizes all the documents by using the default synchronization
details.
|
void |
doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details)
Synchronizes all the documents by using the synchronization details.
|
void |
doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details,
String queryName)
Synchronizes all the documents by using the synchronization details.
|
void |
doSynchronizeRelations()
Synchronizes all the relations defined on the documents by using the
default synchronization details.This should happen after the documents
synchronization.
|
void |
doSynchronizeRelations(SynchronizeDetails details)
Synchronizes all the relations defined on the documents by using the
synchronization details.This should happen after the documents
synchronization.
|
void |
doSynchronizeVocabularies()
Synchronizes all the vocabularies by using the default synchronization
details.This should happen after the documents synchronization.
|
void |
doSynchronizeVocabularies(SynchronizeDetails details)
Synchronizes all the vocabularies by using the synchronization
details.This should happen after the documents synchronization.
|
SynchronizeDetails |
getDefaultSynchronizeDetails() |
ImportConfiguration |
getImportConfiguration() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
boolean |
shouldDisableReadSP(String docPath,
String permission)
Test if the ReadSecurityPolicy should be disabled or not.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution in class DefaultComponentExceptionpublic void doSynchronizeDocuments(CoreSession session, SynchronizeDetails details) throws Exception
SynchronizeServicedoSynchronizeDocuments in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextdetails - - the details about the synchronization processClientExceptionExceptionpublic void doSynchronizeDocuments(CoreSession session) throws Exception
SynchronizeServicedoSynchronizeDocuments in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextClientExceptionExceptionpublic void doSynchronizeDocuments(CoreSession session, SynchronizeDetails details, String queryName) throws Exception
SynchronizeServicedoSynchronizeDocuments in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextdetails - - the details about the synchronization processqueryName - - the query name to use server sideClientExceptionExceptionpublic void doSynchronizeDocuments(CoreSession session, String queryName) throws Exception
SynchronizeServicedoSynchronizeDocuments in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextqueryName - - the query name to use server sideClientExceptionExceptionpublic void doSynchronizeRelations(SynchronizeDetails details) throws ClientException
SynchronizeServicedoSynchronizeRelations in interface SynchronizeServicedetails - - the details about the synchronization processClientExceptionpublic void doSynchronizeRelations()
throws ClientException
SynchronizeServicedoSynchronizeRelations in interface SynchronizeServiceClientExceptionpublic void doSynchronizeVocabularies(SynchronizeDetails details) throws ClientException
SynchronizeServicedoSynchronizeVocabularies in interface SynchronizeServiceClientExceptionpublic void doSynchronizeVocabularies()
throws ClientException
SynchronizeServicedoSynchronizeVocabularies in interface SynchronizeServiceClientExceptionpublic void doSynchronize(CoreSession session, SynchronizeDetails details) throws Exception
SynchronizeServicedoSynchronize in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextdetails - - the details about the synchronization processExceptionpublic void doSynchronize(CoreSession session) throws Exception
SynchronizeServicedoSynchronize in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextExceptionpublic void doSynchronize(CoreSession session, SynchronizeDetails details, String queryName) throws Exception
SynchronizeServicedoSynchronize in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextdetails - - the details about the synchronization processExceptionpublic void doSynchronize(CoreSession session, String queryName) throws Exception
SynchronizeServicedoSynchronize in interface SynchronizeServicesession - - the Nuxeo core session received from the web contextExceptionpublic ImportConfiguration getImportConfiguration()
public SynchronizeDetails getDefaultSynchronizeDetails()
getDefaultSynchronizeDetails in interface SynchronizeServicepublic boolean shouldDisableReadSP(String docPath, String permission)
SynchronizeServiceshouldDisableReadSP in interface SynchronizeServicedocPath - the document path to testpermission - the permission to testtrue if the ReadSecurityPolicy must be disabled, false otherwiseCopyright © 2012 Nuxeo SA. All Rights Reserved.