Class ASFederatedDataServiceImpl
java.lang.Object
net.anotheria.asg.service.AbstractASGService
net.anotheria.anosite.gen.shared.service.BasicService
net.anotheria.anosite.gen.asfederateddata.service.ASFederatedDataServiceImpl
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,IASFederatedDataService,net.anotheria.asg.service.ASGService
-
Field Summary
FieldsFields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log -
Method Summary
Modifier and TypeMethodDescriptioncreateBoxHandlerDef(BoxHandlerDef boxhandlerdef) Creates a new BoxHandlerDef object.Creates multiple new BoxHandlerDef objects.createBoxType(BoxType boxtype) Creates a new BoxType object.createBoxTypes(List<BoxType> list) Creates multiple new BoxType objects.createGuardDef(GuardDef guarddef) Creates a new GuardDef object.createGuardDefs(List<GuardDef> list) Creates multiple new GuardDef objects.voidDeletes a BoxHandlerDef object by id.voiddeleteBoxHandlerDef(BoxHandlerDef boxhandlerdef) Deletes a BoxHandlerDef object.voidDeletes multiple BoxHandlerDef objects.voiddeleteBoxType(String id) Deletes a BoxType object by id.voiddeleteBoxType(BoxType boxtype) Deletes a BoxType object.voiddeleteBoxTypes(List<BoxType> list) Deletes multiple BoxType objects.voiddeleteGuardDef(String id) Deletes a GuardDef object by id.voiddeleteGuardDef(GuardDef guarddef) Deletes a GuardDef object.voiddeleteGuardDefs(List<GuardDef> list) Deletes multiple GuardDef objects.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on all data objects (documents, vo) which are part of this module and managed by this servicenet.anotheria.anodoc.query2.QueryResultexecuteQueryOnBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on BoxHandlerDefsnet.anotheria.anodoc.query2.QueryResultexecuteQueryOnBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on BoxTypesnet.anotheria.anodoc.query2.QueryResultexecuteQueryOnGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on GuardDefsnet.anotheria.util.xml.XMLNodeexportBoxHandlerDefsToXML(String[] languages, List<BoxHandlerDef> listBoxHandlerDefs) net.anotheria.util.xml.XMLNodeexportBoxHandlerDefsToXML(List<BoxHandlerDef> listBoxHandlerDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(String[] languages, List<BoxType> listBoxTypes) net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(List<BoxType> listBoxTypes) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(String[] languages, List<GuardDef> listGuardDefs) net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(List<GuardDef> listGuardDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(String[] languages) voidfetchBoxHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this BoxHandlerDef document.voidfetchBoxType(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this BoxType document.voidfetchGuardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this GuardDef document.Returns the BoxHandlerDef object with the specified id.Returns all BoxHandlerDefs objects stored.getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) Returns BoxHandlerDef objects segment.getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) Returns all BoxHandlerDefs objects sorted by given sortType.getBoxHandlerDefsByProperty(String propertyName, Object value) Returns all BoxHandlerDef objects, where property with given name equals object.getBoxHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all BoxHandlerDef objects, where property with given name equals object, sorted.getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxHandlerDef objects, where property matches.getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxHandlerDef objects segment, where property matched.getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxHandlerDef objects segment, where property matched, sorted.getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxHandlerDef objects, where property matches, sortedintReturns BoxHandlerDef objects count.getBoxType(String id) Returns the BoxType object with the specified id.Returns all BoxTypes objects stored.getBoxTypes(net.anotheria.util.slicer.Segment aSegment) Returns BoxType objects segment.getBoxTypes(net.anotheria.util.sorter.SortType sortType) Returns all BoxTypes objects sorted by given sortType.getBoxTypesByProperty(String propertyName, Object value) Returns all BoxType objects, where property with given name equals object.getBoxTypesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all BoxType objects, where property with given name equals object, sorted.getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxType objects, where property matches.getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxType objects segment, where property matched.getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxType objects segment, where property matched, sorted.getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxType objects, where property matches, sortedintReturns BoxType objects count.getGuardDef(String id) Returns the GuardDef object with the specified id.Returns all GuardDefs objects stored.getGuardDefs(net.anotheria.util.slicer.Segment aSegment) Returns GuardDef objects segment.getGuardDefs(net.anotheria.util.sorter.SortType sortType) Returns all GuardDefs objects sorted by given sortType.getGuardDefsByProperty(String propertyName, Object value) Returns all GuardDef objects, where property with given name equals object.getGuardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all GuardDef objects, where property with given name equals object, sorted.getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all GuardDef objects, where property matches.getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GuardDef objects segment, where property matched.getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GuardDef objects segment, where property matched, sorted.getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all GuardDef objects, where property matches, sortedintReturns GuardDef objects count.importBoxHandlerDef(BoxHandlerDef boxhandlerdef) Imports a new BoxHandlerDef object.Imports multiple new BoxHandlerDef object.importBoxType(BoxType boxtype) Imports a new BoxType object.importBoxTypes(List<BoxType> list) Imports multiple new BoxType object.importGuardDef(GuardDef guarddef) Imports a new GuardDef object.importGuardDefs(List<GuardDef> list) Imports multiple new GuardDef object.updateBoxHandlerDef(BoxHandlerDef boxhandlerdef) Updates a BoxHandlerDef object.Updates multiple new BoxHandlerDef objects.updateBoxType(BoxType boxtype) Updates a BoxType object.updateBoxTypes(List<BoxType> list) Updates multiple new BoxType objects.updateGuardDef(GuardDef guarddef) Updates a GuardDef object.updateGuardDefs(List<GuardDef> list) Updates multiple new GuardDef objects.Methods inherited from class net.anotheria.anosite.gen.shared.service.BasicService
getAnoAccessApplicationDataService, getAnoAccessConfigurationService, getASActionService, getASBrandService, getASCustomActionService, getASCustomDataService, getASExperimentService, getASFeatureService, getASFederatedDataService, getASGenericActionService, getASGenericDataService, getASLayoutDataService, getASResourceDataService, getASSiteConfigService, getASSiteDataService, getASUserDataService, getASWebDataService, getASWizardDataService, getImagesServiceMethods inherited from class net.anotheria.asg.service.AbstractASGService
addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Field Details
-
ID_DELIMITER
public static final char ID_DELIMITER- See Also:
-
ID_PREFIX_G
- See Also:
-
ID_PREFIX_C
- See Also:
-
-
Method Details
-
getBoxTypes
Description copied from interface:IASFederatedDataServiceReturns all BoxTypes objects stored.- Specified by:
getBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypes
public List<BoxType> getBoxTypes(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxTypes objects sorted by given sortType.- Specified by:
getBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxType
Description copied from interface:IASFederatedDataServiceDeletes a BoxType object.- Specified by:
deleteBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxType
Description copied from interface:IASFederatedDataServiceDeletes a BoxType object by id.- Specified by:
deleteBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxTypes
Deletes multiple BoxType objects.- Specified by:
deleteBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxType
Description copied from interface:IASFederatedDataServiceReturns the BoxType object with the specified id.- Specified by:
getBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxType
Description copied from interface:IASFederatedDataServiceImports a new BoxType object. Returns the created version.- Specified by:
importBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxTypes
Description copied from interface:IASFederatedDataServiceImports multiple new BoxType object. Returns the created versions.- Specified by:
importBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxType
Description copied from interface:IASFederatedDataServiceCreates a new BoxType object. Returns the created version.- Specified by:
createBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxTypes
Creates multiple new BoxType objects. Returns the created versions.- Specified by:
createBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxTypes
Updates multiple new BoxType objects. Returns the updated versions.- Specified by:
updateBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxType
Description copied from interface:IASFederatedDataServiceUpdates a BoxType object. Returns the updated version.- Specified by:
updateBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxType objects, where property with given name equals object.- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxType objects, where property with given name equals object, sorted.- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeQueryOnBoxTypes
public net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query on BoxTypes- Specified by:
executeQueryOnBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxType objects, where property matches.- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxType objects, where property matches, sorted- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesCount
Returns BoxType objects count.- Specified by:
getBoxTypesCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypes
public List<BoxType> getBoxTypes(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns BoxType objects segment.- Specified by:
getBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxType objects segment, where property matched.- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public List<BoxType> getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxType objects segment, where property matched, sorted.- Specified by:
getBoxTypesByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
exportBoxTypesToXML
Description copied from interface:IASFederatedDataServiceCreates an xml element with selected contained data.- Specified by:
exportBoxTypesToXMLin interfaceIASFederatedDataService
-
exportBoxTypesToXML
public net.anotheria.util.xml.XMLNode exportBoxTypesToXML(String[] languages, List<BoxType> listBoxTypes) throws ASFederatedDataServiceException - Throws:
ASFederatedDataServiceException
-
fetchBoxType
public void fetchBoxType(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceCreate json object list dependencies for this BoxType document.- Specified by:
fetchBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
Description copied from interface:IASFederatedDataServiceReturns all BoxHandlerDefs objects stored.- Specified by:
getBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
public List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxHandlerDefs objects sorted by given sortType.- Specified by:
getBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
Description copied from interface:IASFederatedDataServiceDeletes a BoxHandlerDef object.- Specified by:
deleteBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
Description copied from interface:IASFederatedDataServiceDeletes a BoxHandlerDef object by id.- Specified by:
deleteBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDefs
Deletes multiple BoxHandlerDef objects.- Specified by:
deleteBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDef
Description copied from interface:IASFederatedDataServiceReturns the BoxHandlerDef object with the specified id.- Specified by:
getBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxHandlerDef
public BoxHandlerDef importBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceImports a new BoxHandlerDef object. Returns the created version.- Specified by:
importBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxHandlerDefs
public List<BoxHandlerDef> importBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceImports multiple new BoxHandlerDef object. Returns the created versions.- Specified by:
importBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxHandlerDef
public BoxHandlerDef createBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceCreates a new BoxHandlerDef object. Returns the created version.- Specified by:
createBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxHandlerDefs
public List<BoxHandlerDef> createBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Creates multiple new BoxHandlerDef objects. Returns the created versions.- Specified by:
createBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxHandlerDefs
public List<BoxHandlerDef> updateBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Updates multiple new BoxHandlerDef objects. Returns the updated versions.- Specified by:
updateBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxHandlerDef
public BoxHandlerDef updateBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceUpdates a BoxHandlerDef object. Returns the updated version.- Specified by:
updateBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxHandlerDef objects, where property with given name equals object.- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all BoxHandlerDef objects, where property with given name equals object, sorted.- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeQueryOnBoxHandlerDefs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query on BoxHandlerDefs- Specified by:
executeQueryOnBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property matches.- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property matches, sorted- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsCount
Returns BoxHandlerDef objects count.- Specified by:
getBoxHandlerDefsCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
public List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns BoxHandlerDef objects segment.- Specified by:
getBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxHandlerDef objects segment, where property matched.- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxHandlerDef objects segment, where property matched, sorted.- Specified by:
getBoxHandlerDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
exportBoxHandlerDefsToXML
public net.anotheria.util.xml.XMLNode exportBoxHandlerDefsToXML(List<BoxHandlerDef> listBoxHandlerDefs) Description copied from interface:IASFederatedDataServiceCreates an xml element with selected contained data.- Specified by:
exportBoxHandlerDefsToXMLin interfaceIASFederatedDataService
-
exportBoxHandlerDefsToXML
public net.anotheria.util.xml.XMLNode exportBoxHandlerDefsToXML(String[] languages, List<BoxHandlerDef> listBoxHandlerDefs) throws ASFederatedDataServiceException - Throws:
ASFederatedDataServiceException
-
fetchBoxHandlerDef
public void fetchBoxHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceCreate json object list dependencies for this BoxHandlerDef document.- Specified by:
fetchBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
Description copied from interface:IASFederatedDataServiceReturns all GuardDefs objects stored.- Specified by:
getGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
public List<GuardDef> getGuardDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all GuardDefs objects sorted by given sortType.- Specified by:
getGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
Description copied from interface:IASFederatedDataServiceDeletes a GuardDef object.- Specified by:
deleteGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
Description copied from interface:IASFederatedDataServiceDeletes a GuardDef object by id.- Specified by:
deleteGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteGuardDefs
Deletes multiple GuardDef objects.- Specified by:
deleteGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDef
Description copied from interface:IASFederatedDataServiceReturns the GuardDef object with the specified id.- Specified by:
getGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importGuardDef
Description copied from interface:IASFederatedDataServiceImports a new GuardDef object. Returns the created version.- Specified by:
importGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importGuardDefs
Description copied from interface:IASFederatedDataServiceImports multiple new GuardDef object. Returns the created versions.- Specified by:
importGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createGuardDef
Description copied from interface:IASFederatedDataServiceCreates a new GuardDef object. Returns the created version.- Specified by:
createGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createGuardDefs
Creates multiple new GuardDef objects. Returns the created versions.- Specified by:
createGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateGuardDefs
Updates multiple new GuardDef objects. Returns the updated versions.- Specified by:
updateGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateGuardDef
Description copied from interface:IASFederatedDataServiceUpdates a GuardDef object. Returns the updated version.- Specified by:
updateGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all GuardDef objects, where property with given name equals object.- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceReturns all GuardDef objects, where property with given name equals object, sorted.- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeQueryOnGuardDefs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query on GuardDefs- Specified by:
executeQueryOnGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all GuardDef objects, where property matches.- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all GuardDef objects, where property matches, sorted- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsCount
Returns GuardDef objects count.- Specified by:
getGuardDefsCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
public List<GuardDef> getGuardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns GuardDef objects segment.- Specified by:
getGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns GuardDef objects segment, where property matched.- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public List<GuardDef> getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns GuardDef objects segment, where property matched, sorted.- Specified by:
getGuardDefsByPropertyin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
exportGuardDefsToXML
Description copied from interface:IASFederatedDataServiceCreates an xml element with selected contained data.- Specified by:
exportGuardDefsToXMLin interfaceIASFederatedDataService
-
exportGuardDefsToXML
public net.anotheria.util.xml.XMLNode exportGuardDefsToXML(String[] languages, List<GuardDef> listGuardDefs) throws ASFederatedDataServiceException - Throws:
ASFederatedDataServiceException
-
fetchGuardDef
public void fetchGuardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Description copied from interface:IASFederatedDataServiceCreate json object list dependencies for this GuardDef document.- Specified by:
fetchGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeQueryOnAllObjects
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service- Specified by:
executeQueryOnAllObjectsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
exportToXML
Description copied from interface:IASFederatedDataServicecreates an xml element with all contained data.- Specified by:
exportToXMLin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML(String[] languages) throws ASFederatedDataServiceException - Throws:
ASFederatedDataServiceException
-