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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserDatacreateUserData(UserData userdata)Creates a new UserData object.List<UserData>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.XMLNodeexportToXML()creates 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.UserDatagetUserData(String id)Returns the UserData object with the specified id.List<UserData>getUserDatas()Returns all UserDatas objects stored.List<UserData>getUserDatas(net.anotheria.util.slicer.Segment aSegment)Returns UserDatas objects segment.List<UserData>getUserDatas(net.anotheria.util.sorter.SortType sortType)Returns all UserDatas objects sorted by given sortType.List<UserData>getUserDatasByProperty(String propertyName, Object value)Returns all UserData objects, where property with given name equals object.List<UserData>getUserDatasByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all UserData objects, where property with given name equals object, sorted.List<UserData>getUserDatasByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all UserData objects, where property matches.List<UserData>getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns UserData objects segment, where property matches.List<UserData>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.List<UserData>getUserDatasByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all UserData objects, where property matches, sorted.intgetUserDatasCount()Returns all UserDatas count.UserDataimportUserData(UserData userdata)Imports a new UserData object.List<UserData>importUserDatas(List<UserData> list)Imports multiple new UserData object.UserDataupdateUserData(UserData userdata)Updates a UserData object.List<UserData>updateUserDatas(List<UserData> list)Updates multiple UserData objects.
-
-
-
Method Detail
-
getUserDatas
List<UserData> getUserDatas() throws AnoAccessApplicationDataServiceException
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
void deleteUserData(String id) throws AnoAccessApplicationDataServiceException
Deletes a UserData object by id.
-
deleteUserData
void deleteUserData(UserData userdata) throws AnoAccessApplicationDataServiceException
Deletes a UserData object.
-
deleteUserDatas
void deleteUserDatas(List<UserData> list) throws AnoAccessApplicationDataServiceException
Deletes multiple UserData object.
-
getUserData
UserData getUserData(String id) throws AnoAccessApplicationDataServiceException
Returns the UserData object with the specified id.
-
importUserData
UserData importUserData(UserData userdata) throws AnoAccessApplicationDataServiceException
Imports a new UserData object. Returns the created version.
-
importUserDatas
List<UserData> importUserDatas(List<UserData> list) throws AnoAccessApplicationDataServiceException
Imports multiple new UserData object. Returns the created versions.
-
createUserData
UserData createUserData(UserData userdata) throws AnoAccessApplicationDataServiceException
Creates a new UserData object. Returns the created version.
-
createUserDatas
List<UserData> createUserDatas(List<UserData> list) throws AnoAccessApplicationDataServiceException
Creates multiple new UserData objects. Returns the created versions.
-
updateUserData
UserData updateUserData(UserData userdata) throws AnoAccessApplicationDataServiceException
Updates a UserData object. Returns the updated version.
-
updateUserDatas
List<UserData> updateUserDatas(List<UserData> list) throws AnoAccessApplicationDataServiceException
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 AnoAccessApplicationDataServiceExceptionExecutes 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
int getUserDatasCount() throws AnoAccessApplicationDataServiceExceptionReturns 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.
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws AnoAccessApplicationDataServiceException
Save transferred document by its own type.
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws AnoAccessApplicationDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws AnoAccessApplicationDataServiceExceptioncreates an xml element with all contained data.
-
-