Interface IASUserDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASUserDataServiceImpl
public interface IASUserDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateRoleDef(RoleDef roledef) Creates a new RoleDef object.createRoleDefs(List<RoleDef> list) Creates multiple new RoleDef objects.createUserDef(UserDef userdef) Creates a new UserDef object.createUserDefs(List<UserDef> list) Creates multiple new UserDef objects.voiddeleteRoleDef(String id) Deletes a RoleDef object by id.voiddeleteRoleDef(RoleDef roledef) Deletes a RoleDef object.voiddeleteRoleDefs(List<RoleDef> list) Deletes multiple RoleDef object.voiddeleteUserDef(String id) Deletes a UserDef object by id.voiddeleteUserDef(UserDef userdef) Deletes a UserDef object.voiddeleteUserDefs(List<UserDef> list) Deletes multiple UserDef 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.QueryResultexecuteQueryOnRoleDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnUserDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportRoleDefsToXML(List<RoleDef> listRoleDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportUserDefsToXML(List<UserDef> listUserDefs) Creates an xml element with selected contained data.voidfetchRoleDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this RoleDef document.voidfetchUserDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this UserDef document.getRoleDef(String id) Returns the RoleDef object with the specified id.Returns all RoleDefs objects stored.getRoleDefs(net.anotheria.util.slicer.Segment aSegment) Returns RoleDefs objects segment.getRoleDefs(net.anotheria.util.sorter.SortType sortType) Returns all RoleDefs objects sorted by given sortType.getRoleDefsByProperty(String propertyName, Object value) Returns all RoleDef objects, where property with given name equals object.getRoleDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all RoleDef objects, where property with given name equals object, sorted.getRoleDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all RoleDef objects, where property matches.getRoleDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns RoleDef objects segment, where property matches.getRoleDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns RoleDef objects segment, where property matches, sorted.getRoleDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all RoleDef objects, where property matches, sorted.intReturns all RoleDefs count.getUserDef(String id) Returns the UserDef object with the specified id.Returns all UserDefs objects stored.getUserDefs(net.anotheria.util.slicer.Segment aSegment) Returns UserDefs objects segment.getUserDefs(net.anotheria.util.sorter.SortType sortType) Returns all UserDefs objects sorted by given sortType.getUserDefsByProperty(String propertyName, Object value) Returns all UserDef objects, where property with given name equals object.getUserDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all UserDef objects, where property with given name equals object, sorted.getUserDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserDef objects, where property matches.getUserDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns UserDef objects segment, where property matches.getUserDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns UserDef objects segment, where property matches, sorted.getUserDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserDef objects, where property matches, sorted.intReturns all UserDefs count.importRoleDef(RoleDef roledef) Imports a new RoleDef object.importRoleDefs(List<RoleDef> list) Imports multiple new RoleDef object.importUserDef(UserDef userdef) Imports a new UserDef object.importUserDefs(List<UserDef> list) Imports multiple new UserDef object.updateRoleDef(RoleDef roledef) Updates a RoleDef object.updateRoleDefs(List<RoleDef> list) Updates multiple RoleDef objects.updateUserDef(UserDef userdef) Updates a UserDef object.updateUserDefs(List<UserDef> list) Updates multiple UserDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getUserDefs
Returns all UserDefs objects stored.- Throws:
ASUserDataServiceException
-
getUserDefs
List<UserDef> getUserDefs(net.anotheria.util.sorter.SortType sortType) throws ASUserDataServiceException Returns all UserDefs objects sorted by given sortType.- Throws:
ASUserDataServiceException
-
deleteUserDef
Deletes a UserDef object by id.- Throws:
ASUserDataServiceException
-
deleteUserDef
Deletes a UserDef object.- Throws:
ASUserDataServiceException
-
deleteUserDefs
Deletes multiple UserDef object.- Throws:
ASUserDataServiceException
-
getUserDef
Returns the UserDef object with the specified id.- Throws:
ASUserDataServiceException
-
importUserDef
Imports a new UserDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
importUserDefs
Imports multiple new UserDef object. Returns the created versions.- Throws:
ASUserDataServiceException
-
createUserDef
Creates a new UserDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
createUserDefs
Creates multiple new UserDef objects. Returns the created versions.- Throws:
ASUserDataServiceException
-
updateUserDef
Updates a UserDef object. Returns the updated version.- Throws:
ASUserDataServiceException
-
updateUserDefs
Updates multiple UserDef objects. Returns the updated versions.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(String propertyName, Object value) throws ASUserDataServiceException Returns all UserDef objects, where property with given name equals object.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASUserDataServiceException Returns all UserDef objects, where property with given name equals object, sorted.- Throws:
ASUserDataServiceException
-
executeQueryOnUserDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnUserDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASUserDataServiceException Executes a query.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASUserDataServiceException Returns all UserDef objects, where property matches.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASUserDataServiceException Returns all UserDef objects, where property matches, sorted.- Throws:
ASUserDataServiceException
-
getUserDefsCount
Returns all UserDefs count.- Throws:
ASUserDataServiceException
-
getUserDefs
List<UserDef> getUserDefs(net.anotheria.util.slicer.Segment aSegment) throws ASUserDataServiceException Returns UserDefs objects segment.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASUserDataServiceException Returns UserDef objects segment, where property matches.- Throws:
ASUserDataServiceException
-
getUserDefsByProperty
List<UserDef> getUserDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASUserDataServiceException Returns UserDef objects segment, where property matches, sorted.- Throws:
ASUserDataServiceException
-
exportUserDefsToXML
net.anotheria.util.xml.XMLNode exportUserDefsToXML(List<UserDef> listUserDefs) throws ASUserDataServiceException Creates an xml element with selected contained data.- Throws:
ASUserDataServiceException
-
fetchUserDef
void fetchUserDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASUserDataServiceException Create json object list dependencies for this UserDef document.- Throws:
ASUserDataServiceException
-
getRoleDefs
Returns all RoleDefs objects stored.- Throws:
ASUserDataServiceException
-
getRoleDefs
List<RoleDef> getRoleDefs(net.anotheria.util.sorter.SortType sortType) throws ASUserDataServiceException Returns all RoleDefs objects sorted by given sortType.- Throws:
ASUserDataServiceException
-
deleteRoleDef
Deletes a RoleDef object by id.- Throws:
ASUserDataServiceException
-
deleteRoleDef
Deletes a RoleDef object.- Throws:
ASUserDataServiceException
-
deleteRoleDefs
Deletes multiple RoleDef object.- Throws:
ASUserDataServiceException
-
getRoleDef
Returns the RoleDef object with the specified id.- Throws:
ASUserDataServiceException
-
importRoleDef
Imports a new RoleDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
importRoleDefs
Imports multiple new RoleDef object. Returns the created versions.- Throws:
ASUserDataServiceException
-
createRoleDef
Creates a new RoleDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
createRoleDefs
Creates multiple new RoleDef objects. Returns the created versions.- Throws:
ASUserDataServiceException
-
updateRoleDef
Updates a RoleDef object. Returns the updated version.- Throws:
ASUserDataServiceException
-
updateRoleDefs
Updates multiple RoleDef objects. Returns the updated versions.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(String propertyName, Object value) throws ASUserDataServiceException Returns all RoleDef objects, where property with given name equals object.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASUserDataServiceException Returns all RoleDef objects, where property with given name equals object, sorted.- Throws:
ASUserDataServiceException
-
executeQueryOnRoleDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnRoleDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASUserDataServiceException Executes a query.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASUserDataServiceException Returns all RoleDef objects, where property matches.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASUserDataServiceException Returns all RoleDef objects, where property matches, sorted.- Throws:
ASUserDataServiceException
-
getRoleDefsCount
Returns all RoleDefs count.- Throws:
ASUserDataServiceException
-
getRoleDefs
List<RoleDef> getRoleDefs(net.anotheria.util.slicer.Segment aSegment) throws ASUserDataServiceException Returns RoleDefs objects segment.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASUserDataServiceException Returns RoleDef objects segment, where property matches.- Throws:
ASUserDataServiceException
-
getRoleDefsByProperty
List<RoleDef> getRoleDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASUserDataServiceException Returns RoleDef objects segment, where property matches, sorted.- Throws:
ASUserDataServiceException
-
exportRoleDefsToXML
net.anotheria.util.xml.XMLNode exportRoleDefsToXML(List<RoleDef> listRoleDefs) throws ASUserDataServiceException Creates an xml element with selected contained data.- Throws:
ASUserDataServiceException
-
fetchRoleDef
void fetchRoleDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASUserDataServiceException Create json object list dependencies for this RoleDef document.- Throws:
ASUserDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASUserDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASUserDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASUserDataServiceException
-