Interface IAnoAccessApplicationDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
AnoAccessApplicationDataServiceFixtureImpl,AnoAccessApplicationDataServiceImpl
public interface IAnoAccessApplicationDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateUserData(UserData userdata) Creates a new UserData object.createUserDatas(List<UserData> list) Creates multiple new UserData objects.voiddeleteUserData(String id) Deletes a UserData object by id.voiddeleteUserData(UserData userdata) Deletes a UserData object.voiddeleteUserDatas(List<UserData> list) Deletes multiple UserData object.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 service.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnUserDatas(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportUserDatasToXML(List<UserData> listUserDatas) Creates an xml element with selected contained data.voidfetchUserData(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this UserData document.getUserData(String id) Returns the UserData object with the specified id.Returns all UserDatas objects stored.getUserDatas(net.anotheria.util.slicer.Segment aSegment) Returns UserDatas objects segment.getUserDatas(net.anotheria.util.sorter.SortType sortType) Returns all UserDatas objects sorted by given sortType.getUserDatasByProperty(String propertyName, Object value) Returns all UserData objects, where property with given name equals object.getUserDatasByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all UserData objects, where property with given name equals object, sorted.getUserDatasByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserData objects, where property matches.getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns UserData objects segment, where property matches.getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns UserData objects segment, where property matches, sorted.getUserDatasByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserData objects, where property matches, sorted.intReturns all UserDatas count.importUserData(UserData userdata) Imports a new UserData object.importUserDatas(List<UserData> list) Imports multiple new UserData object.updateUserData(UserData userdata) Updates a UserData object.updateUserDatas(List<UserData> list) Updates multiple UserData objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getUserDatas
Returns all UserDatas objects stored. -
getUserDatas
List<UserData> getUserDatas(net.anotheria.util.sorter.SortType sortType) throws AnoAccessApplicationDataServiceException Returns all UserDatas objects sorted by given sortType. -
deleteUserData
Deletes a UserData object by id. -
deleteUserData
Deletes a UserData object. -
deleteUserDatas
Deletes multiple UserData object. -
getUserData
Returns the UserData object with the specified id. -
importUserData
Imports a new UserData object. Returns the created version. -
importUserDatas
Imports multiple new UserData object. Returns the created versions. -
createUserData
Creates a new UserData object. Returns the created version. -
createUserDatas
Creates multiple new UserData objects. Returns the created versions. -
updateUserData
Updates a UserData object. Returns the updated version. -
updateUserDatas
Updates multiple UserData objects. Returns the updated versions. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(String propertyName, Object value) throws AnoAccessApplicationDataServiceException Returns all UserData objects, where property with given name equals object. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws AnoAccessApplicationDataServiceException Returns all UserData objects, where property with given name equals object, sorted. -
executeQueryOnUserDatas
net.anotheria.anodoc.query2.QueryResult executeQueryOnUserDatas(net.anotheria.anodoc.query2.DocumentQuery query) throws AnoAccessApplicationDataServiceException Executes a query. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws AnoAccessApplicationDataServiceException Returns all UserData objects, where property matches. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws AnoAccessApplicationDataServiceException Returns all UserData objects, where property matches, sorted. -
getUserDatasCount
Returns all UserDatas count. -
getUserDatas
List<UserData> getUserDatas(net.anotheria.util.slicer.Segment aSegment) throws AnoAccessApplicationDataServiceException Returns UserDatas objects segment. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws AnoAccessApplicationDataServiceException Returns UserData objects segment, where property matches. -
getUserDatasByProperty
List<UserData> getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws AnoAccessApplicationDataServiceException Returns UserData objects segment, where property matches, sorted. -
exportUserDatasToXML
net.anotheria.util.xml.XMLNode exportUserDatasToXML(List<UserData> listUserDatas) throws AnoAccessApplicationDataServiceException Creates an xml element with selected contained data. -
fetchUserData
void fetchUserData(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws AnoAccessApplicationDataServiceException Create json object list dependencies for this UserData document. -
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws AnoAccessApplicationDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service. -
exportToXML
creates an xml element with all contained data.
-