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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleDefcreateRoleDef(RoleDef roledef)Creates a new RoleDef object.List<RoleDef>createRoleDefs(List<RoleDef> list)Creates multiple new RoleDef objects.UserDefcreateUserDef(UserDef userdef)Creates a new UserDef object.List<UserDef>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.XMLNodeexportToXML()creates 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.RoleDefgetRoleDef(String id)Returns the RoleDef object with the specified id.List<RoleDef>getRoleDefs()Returns all RoleDefs objects stored.List<RoleDef>getRoleDefs(net.anotheria.util.slicer.Segment aSegment)Returns RoleDefs objects segment.List<RoleDef>getRoleDefs(net.anotheria.util.sorter.SortType sortType)Returns all RoleDefs objects sorted by given sortType.List<RoleDef>getRoleDefsByProperty(String propertyName, Object value)Returns all RoleDef objects, where property with given name equals object.List<RoleDef>getRoleDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all RoleDef objects, where property with given name equals object, sorted.List<RoleDef>getRoleDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all RoleDef objects, where property matches.List<RoleDef>getRoleDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns RoleDef objects segment, where property matches.List<RoleDef>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.List<RoleDef>getRoleDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all RoleDef objects, where property matches, sorted.intgetRoleDefsCount()Returns all RoleDefs count.UserDefgetUserDef(String id)Returns the UserDef object with the specified id.List<UserDef>getUserDefs()Returns all UserDefs objects stored.List<UserDef>getUserDefs(net.anotheria.util.slicer.Segment aSegment)Returns UserDefs objects segment.List<UserDef>getUserDefs(net.anotheria.util.sorter.SortType sortType)Returns all UserDefs objects sorted by given sortType.List<UserDef>getUserDefsByProperty(String propertyName, Object value)Returns all UserDef objects, where property with given name equals object.List<UserDef>getUserDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all UserDef objects, where property with given name equals object, sorted.List<UserDef>getUserDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all UserDef objects, where property matches.List<UserDef>getUserDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns UserDef objects segment, where property matches.List<UserDef>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.List<UserDef>getUserDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all UserDef objects, where property matches, sorted.intgetUserDefsCount()Returns all UserDefs count.RoleDefimportRoleDef(RoleDef roledef)Imports a new RoleDef object.List<RoleDef>importRoleDefs(List<RoleDef> list)Imports multiple new RoleDef object.UserDefimportUserDef(UserDef userdef)Imports a new UserDef object.List<UserDef>importUserDefs(List<UserDef> list)Imports multiple new UserDef object.RoleDefupdateRoleDef(RoleDef roledef)Updates a RoleDef object.List<RoleDef>updateRoleDefs(List<RoleDef> list)Updates multiple RoleDef objects.UserDefupdateUserDef(UserDef userdef)Updates a UserDef object.List<UserDef>updateUserDefs(List<UserDef> list)Updates multiple UserDef objects.
-
-
-
Method Detail
-
getUserDefs
List<UserDef> getUserDefs() throws ASUserDataServiceException
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
void deleteUserDef(String id) throws ASUserDataServiceException
Deletes a UserDef object by id.- Throws:
ASUserDataServiceException
-
deleteUserDef
void deleteUserDef(UserDef userdef) throws ASUserDataServiceException
Deletes a UserDef object.- Throws:
ASUserDataServiceException
-
deleteUserDefs
void deleteUserDefs(List<UserDef> list) throws ASUserDataServiceException
Deletes multiple UserDef object.- Throws:
ASUserDataServiceException
-
getUserDef
UserDef getUserDef(String id) throws ASUserDataServiceException
Returns the UserDef object with the specified id.- Throws:
ASUserDataServiceException
-
importUserDef
UserDef importUserDef(UserDef userdef) throws ASUserDataServiceException
Imports a new UserDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
importUserDefs
List<UserDef> importUserDefs(List<UserDef> list) throws ASUserDataServiceException
Imports multiple new UserDef object. Returns the created versions.- Throws:
ASUserDataServiceException
-
createUserDef
UserDef createUserDef(UserDef userdef) throws ASUserDataServiceException
Creates a new UserDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
createUserDefs
List<UserDef> createUserDefs(List<UserDef> list) throws ASUserDataServiceException
Creates multiple new UserDef objects. Returns the created versions.- Throws:
ASUserDataServiceException
-
updateUserDef
UserDef updateUserDef(UserDef userdef) throws ASUserDataServiceException
Updates a UserDef object. Returns the updated version.- Throws:
ASUserDataServiceException
-
updateUserDefs
List<UserDef> updateUserDefs(List<UserDef> list) throws ASUserDataServiceException
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 ASUserDataServiceExceptionExecutes 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
int getUserDefsCount() throws ASUserDataServiceExceptionReturns 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
List<RoleDef> getRoleDefs() throws ASUserDataServiceException
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
void deleteRoleDef(String id) throws ASUserDataServiceException
Deletes a RoleDef object by id.- Throws:
ASUserDataServiceException
-
deleteRoleDef
void deleteRoleDef(RoleDef roledef) throws ASUserDataServiceException
Deletes a RoleDef object.- Throws:
ASUserDataServiceException
-
deleteRoleDefs
void deleteRoleDefs(List<RoleDef> list) throws ASUserDataServiceException
Deletes multiple RoleDef object.- Throws:
ASUserDataServiceException
-
getRoleDef
RoleDef getRoleDef(String id) throws ASUserDataServiceException
Returns the RoleDef object with the specified id.- Throws:
ASUserDataServiceException
-
importRoleDef
RoleDef importRoleDef(RoleDef roledef) throws ASUserDataServiceException
Imports a new RoleDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
importRoleDefs
List<RoleDef> importRoleDefs(List<RoleDef> list) throws ASUserDataServiceException
Imports multiple new RoleDef object. Returns the created versions.- Throws:
ASUserDataServiceException
-
createRoleDef
RoleDef createRoleDef(RoleDef roledef) throws ASUserDataServiceException
Creates a new RoleDef object. Returns the created version.- Throws:
ASUserDataServiceException
-
createRoleDefs
List<RoleDef> createRoleDefs(List<RoleDef> list) throws ASUserDataServiceException
Creates multiple new RoleDef objects. Returns the created versions.- Throws:
ASUserDataServiceException
-
updateRoleDef
RoleDef updateRoleDef(RoleDef roledef) throws ASUserDataServiceException
Updates a RoleDef object. Returns the updated version.- Throws:
ASUserDataServiceException
-
updateRoleDefs
List<RoleDef> updateRoleDefs(List<RoleDef> list) throws ASUserDataServiceException
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 ASUserDataServiceExceptionExecutes 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
int getRoleDefsCount() throws ASUserDataServiceExceptionReturns 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
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASUserDataServiceException
Save transferred document by its own type.- Throws:
ASUserDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASUserDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASUserDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASUserDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASUserDataServiceException
-
-