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
public class ASFederatedDataServiceImpl extends BasicService implements IASFederatedDataService
-
-
Field Summary
Fields Modifier and Type Field Description static charID_DELIMITERstatic java.lang.StringID_PREFIX_Cstatic java.lang.StringID_PREFIX_G-
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoxHandlerDefcreateBoxHandlerDef(BoxHandlerDef boxhandlerdef)Creates a new BoxHandlerDef object.java.util.List<BoxHandlerDef>createBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Creates multiple new BoxHandlerDef objects.BoxTypecreateBoxType(BoxType boxtype)Creates a new BoxType object.java.util.List<BoxType>createBoxTypes(java.util.List<BoxType> list)Creates multiple new BoxType objects.GuardDefcreateGuardDef(GuardDef guarddef)Creates a new GuardDef object.java.util.List<GuardDef>createGuardDefs(java.util.List<GuardDef> list)Creates multiple new GuardDef objects.voiddeleteBoxHandlerDef(java.lang.String id)Deletes a BoxHandlerDef object by id.voiddeleteBoxHandlerDef(BoxHandlerDef boxhandlerdef)Deletes a BoxHandlerDef object.voiddeleteBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Deletes multiple BoxHandlerDef objects.voiddeleteBoxType(java.lang.String id)Deletes a BoxType object by id.voiddeleteBoxType(BoxType boxtype)Deletes a BoxType object.voiddeleteBoxTypes(java.util.List<BoxType> list)Deletes multiple BoxType objects.voiddeleteGuardDef(java.lang.String id)Deletes a GuardDef object by id.voiddeleteGuardDef(GuardDef guarddef)Deletes a GuardDef object.voiddeleteGuardDefs(java.util.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(java.lang.String[] languages, java.util.List<BoxHandlerDef> listBoxHandlerDefs)net.anotheria.util.xml.XMLNodeexportBoxHandlerDefsToXML(java.util.List<BoxHandlerDef> listBoxHandlerDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(java.lang.String[] languages, java.util.List<BoxType> listBoxTypes)net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(java.util.List<BoxType> listBoxTypes)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(java.lang.String[] languages, java.util.List<GuardDef> listGuardDefs)net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(java.util.List<GuardDef> listGuardDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(java.lang.String[] languages)voidfetchBoxHandlerDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this BoxHandlerDef document.voidfetchBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this BoxType document.voidfetchGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GuardDef document.BoxHandlerDefgetBoxHandlerDef(java.lang.String id)Returns the BoxHandlerDef object with the specified id.java.util.List<BoxHandlerDef>getBoxHandlerDefs()Returns all BoxHandlerDefs objects stored.java.util.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment)Returns BoxHandlerDef objects segment.java.util.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDefs objects sorted by given sortType.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all BoxHandlerDef objects, where property with given name equals object.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDef objects, where property with given name equals object, sorted.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxHandlerDef objects, where property matches.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxHandlerDef objects segment, where property matched.java.util.List<BoxHandlerDef>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.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxHandlerDef objects, where property matches, sortedintgetBoxHandlerDefsCount()Returns BoxHandlerDef objects count.BoxTypegetBoxType(java.lang.String id)Returns the BoxType object with the specified id.java.util.List<BoxType>getBoxTypes()Returns all BoxTypes objects stored.java.util.List<BoxType>getBoxTypes(net.anotheria.util.slicer.Segment aSegment)Returns BoxType objects segment.java.util.List<BoxType>getBoxTypes(net.anotheria.util.sorter.SortType sortType)Returns all BoxTypes objects sorted by given sortType.java.util.List<BoxType>getBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all BoxType objects, where property with given name equals object.java.util.List<BoxType>getBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxType objects, where property with given name equals object, sorted.java.util.List<BoxType>getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxType objects, where property matches.java.util.List<BoxType>getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxType objects segment, where property matched.java.util.List<BoxType>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.java.util.List<BoxType>getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxType objects, where property matches, sortedintgetBoxTypesCount()Returns BoxType objects count.GuardDefgetGuardDef(java.lang.String id)Returns the GuardDef object with the specified id.java.util.List<GuardDef>getGuardDefs()Returns all GuardDefs objects stored.java.util.List<GuardDef>getGuardDefs(net.anotheria.util.slicer.Segment aSegment)Returns GuardDef objects segment.java.util.List<GuardDef>getGuardDefs(net.anotheria.util.sorter.SortType sortType)Returns all GuardDefs objects sorted by given sortType.java.util.List<GuardDef>getGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GuardDef objects, where property with given name equals object.java.util.List<GuardDef>getGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GuardDef objects, where property with given name equals object, sorted.java.util.List<GuardDef>getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GuardDef objects, where property matches.java.util.List<GuardDef>getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GuardDef objects segment, where property matched.java.util.List<GuardDef>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.java.util.List<GuardDef>getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GuardDef objects, where property matches, sortedintgetGuardDefsCount()Returns GuardDef objects count.BoxHandlerDefimportBoxHandlerDef(BoxHandlerDef boxhandlerdef)Imports a new BoxHandlerDef object.java.util.List<BoxHandlerDef>importBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Imports multiple new BoxHandlerDef object.BoxTypeimportBoxType(BoxType boxtype)Imports a new BoxType object.java.util.List<BoxType>importBoxTypes(java.util.List<BoxType> list)Imports multiple new BoxType object.GuardDefimportGuardDef(GuardDef guarddef)Imports a new GuardDef object.java.util.List<GuardDef>importGuardDefs(java.util.List<GuardDef> list)Imports multiple new GuardDef object.BoxHandlerDefupdateBoxHandlerDef(BoxHandlerDef boxhandlerdef)Updates a BoxHandlerDef object.java.util.List<BoxHandlerDef>updateBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Updates multiple new BoxHandlerDef objects.BoxTypeupdateBoxType(BoxType boxtype)Updates a BoxType object.java.util.List<BoxType>updateBoxTypes(java.util.List<BoxType> list)Updates multiple new BoxType objects.GuardDefupdateGuardDef(GuardDef guarddef)Updates a GuardDef object.java.util.List<GuardDef>updateGuardDefs(java.util.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, getImagesService
-
Methods inherited from class net.anotheria.asg.service.AbstractASGService
addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListener
-
-
-
-
Field Detail
-
ID_DELIMITER
public static final char ID_DELIMITER
- See Also:
- Constant Field Values
-
ID_PREFIX_G
public static final java.lang.String ID_PREFIX_G
- See Also:
- Constant Field Values
-
ID_PREFIX_C
public static final java.lang.String ID_PREFIX_C
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBoxTypes
public java.util.List<BoxType> getBoxTypes() throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceReturns all BoxTypes objects stored.- Specified by:
getBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypes
public java.util.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
public void deleteBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceDeletes a BoxType object.- Specified by:
deleteBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxType
public void deleteBoxType(java.lang.String id) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceDeletes a BoxType object by id.- Specified by:
deleteBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxTypes
public void deleteBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Deletes multiple BoxType objects.- Specified by:
deleteBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxType
public BoxType getBoxType(java.lang.String id) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceReturns the BoxType object with the specified id.- Specified by:
getBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxType
public BoxType importBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceImports a new BoxType object. Returns the created version.- Specified by:
importBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importBoxTypes
public java.util.List<BoxType> importBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceImports multiple new BoxType object. Returns the created versions.- Specified by:
importBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxType
public BoxType createBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceCreates a new BoxType object. Returns the created version.- Specified by:
createBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createBoxTypes
public java.util.List<BoxType> createBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Creates multiple new BoxType objects. Returns the created versions.- Specified by:
createBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxTypes
public java.util.List<BoxType> updateBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Updates multiple new BoxType objects. Returns the updated versions.- Specified by:
updateBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxType
public BoxType updateBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceUpdates a BoxType object. Returns the updated version.- Specified by:
updateBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public java.util.List<BoxType> getBoxTypesByProperty(java.lang.String propertyName, java.lang.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 java.util.List<BoxType> getBoxTypesByProperty(java.lang.String propertyName, java.lang.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 ASFederatedDataServiceExceptionExecutes a query on BoxTypes- Specified by:
executeQueryOnBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public java.util.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 java.util.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
public int getBoxTypesCount() throws ASFederatedDataServiceExceptionReturns BoxType objects count.- Specified by:
getBoxTypesCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypes
public java.util.List<BoxType> getBoxTypes(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns BoxType objects segment.- Specified by:
getBoxTypesin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
public java.util.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 java.util.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
public net.anotheria.util.xml.XMLNode exportBoxTypesToXML(java.util.List<BoxType> listBoxTypes)
Description copied from interface:IASFederatedDataServiceCreates an xml element with selected contained data.- Specified by:
exportBoxTypesToXMLin interfaceIASFederatedDataService
-
exportBoxTypesToXML
public net.anotheria.util.xml.XMLNode exportBoxTypesToXML(java.lang.String[] languages, java.util.List<BoxType> listBoxTypes) throws ASFederatedDataServiceException- Throws:
ASFederatedDataServiceException
-
fetchBoxType
public void fetchBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceCreate json object list dependencies for this BoxType document.- Specified by:
fetchBoxTypein interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
public java.util.List<BoxHandlerDef> getBoxHandlerDefs() throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceReturns all BoxHandlerDefs objects stored.- Specified by:
getBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
public java.util.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
public void deleteBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceDeletes a BoxHandlerDef object.- Specified by:
deleteBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
public void deleteBoxHandlerDef(java.lang.String id) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceDeletes a BoxHandlerDef object by id.- Specified by:
deleteBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDefs
public void deleteBoxHandlerDefs(java.util.List<BoxHandlerDef> list) throws ASFederatedDataServiceException
Deletes multiple BoxHandlerDef objects.- Specified by:
deleteBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDef
public BoxHandlerDef getBoxHandlerDef(java.lang.String id) throws ASFederatedDataServiceException
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 java.util.List<BoxHandlerDef> importBoxHandlerDefs(java.util.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 java.util.List<BoxHandlerDef> createBoxHandlerDefs(java.util.List<BoxHandlerDef> list) throws ASFederatedDataServiceException
Creates multiple new BoxHandlerDef objects. Returns the created versions.- Specified by:
createBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateBoxHandlerDefs
public java.util.List<BoxHandlerDef> updateBoxHandlerDefs(java.util.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 java.util.List<BoxHandlerDef> getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.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 java.util.List<BoxHandlerDef> getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.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 ASFederatedDataServiceExceptionExecutes a query on BoxHandlerDefs- Specified by:
executeQueryOnBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public java.util.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 java.util.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
public int getBoxHandlerDefsCount() throws ASFederatedDataServiceExceptionReturns BoxHandlerDef objects count.- Specified by:
getBoxHandlerDefsCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
public java.util.List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns BoxHandlerDef objects segment.- Specified by:
getBoxHandlerDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
public java.util.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 java.util.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(java.util.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(java.lang.String[] languages, java.util.List<BoxHandlerDef> listBoxHandlerDefs) throws ASFederatedDataServiceException- Throws:
ASFederatedDataServiceException
-
fetchBoxHandlerDef
public void fetchBoxHandlerDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceCreate json object list dependencies for this BoxHandlerDef document.- Specified by:
fetchBoxHandlerDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
public java.util.List<GuardDef> getGuardDefs() throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceReturns all GuardDefs objects stored.- Specified by:
getGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
public java.util.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
public void deleteGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceDeletes a GuardDef object.- Specified by:
deleteGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
public void deleteGuardDef(java.lang.String id) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceDeletes a GuardDef object by id.- Specified by:
deleteGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
deleteGuardDefs
public void deleteGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Deletes multiple GuardDef objects.- Specified by:
deleteGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDef
public GuardDef getGuardDef(java.lang.String id) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceReturns the GuardDef object with the specified id.- Specified by:
getGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importGuardDef
public GuardDef importGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceImports a new GuardDef object. Returns the created version.- Specified by:
importGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
importGuardDefs
public java.util.List<GuardDef> importGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceImports multiple new GuardDef object. Returns the created versions.- Specified by:
importGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createGuardDef
public GuardDef createGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceCreates a new GuardDef object. Returns the created version.- Specified by:
createGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
createGuardDefs
public java.util.List<GuardDef> createGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Creates multiple new GuardDef objects. Returns the created versions.- Specified by:
createGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateGuardDefs
public java.util.List<GuardDef> updateGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Updates multiple new GuardDef objects. Returns the updated versions.- Specified by:
updateGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
updateGuardDef
public GuardDef updateGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceUpdates a GuardDef object. Returns the updated version.- Specified by:
updateGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public java.util.List<GuardDef> getGuardDefsByProperty(java.lang.String propertyName, java.lang.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 java.util.List<GuardDef> getGuardDefsByProperty(java.lang.String propertyName, java.lang.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 ASFederatedDataServiceExceptionExecutes a query on GuardDefs- Specified by:
executeQueryOnGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public java.util.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 java.util.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
public int getGuardDefsCount() throws ASFederatedDataServiceExceptionReturns GuardDef objects count.- Specified by:
getGuardDefsCountin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefs
public java.util.List<GuardDef> getGuardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns GuardDef objects segment.- Specified by:
getGuardDefsin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
public java.util.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 java.util.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
public net.anotheria.util.xml.XMLNode exportGuardDefsToXML(java.util.List<GuardDef> listGuardDefs)
Description copied from interface:IASFederatedDataServiceCreates an xml element with selected contained data.- Specified by:
exportGuardDefsToXMLin interfaceIASFederatedDataService
-
exportGuardDefsToXML
public net.anotheria.util.xml.XMLNode exportGuardDefsToXML(java.lang.String[] languages, java.util.List<GuardDef> listGuardDefs) throws ASFederatedDataServiceException- Throws:
ASFederatedDataServiceException
-
fetchGuardDef
public void fetchGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionDescription copied from interface:IASFederatedDataServiceCreate json object list dependencies for this GuardDef document.- Specified by:
fetchGuardDefin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeParsingForDocument
public void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASFederatedDataServiceException
Description copied from interface:IASFederatedDataServiceSave transferred document by its own type.- Specified by:
executeParsingForDocumentin interfaceIASFederatedDataService- Throws:
ASFederatedDataServiceException
-
executeQueryOnAllObjects
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceExceptionExecutes 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
public net.anotheria.util.xml.XMLNode exportToXML() throws ASFederatedDataServiceExceptionDescription 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(java.lang.String[] languages) throws ASFederatedDataServiceException- Throws:
ASFederatedDataServiceException
-
-