Class AnoAccessApplicationDataServiceImpl
java.lang.Object
net.anotheria.asg.service.AbstractASGService
net.anotheria.anosite.gen.shared.service.BasicService
net.anotheria.anosite.gen.shared.service.BasicCMSService
net.anotheria.anosite.gen.anoaccessapplicationdata.service.AnoAccessApplicationDataServiceImpl
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,IAnoAccessApplicationDataService,net.anotheria.asg.service.ASGService,net.anotheria.asg.util.listener.IModuleListener
public class AnoAccessApplicationDataServiceImpl
extends BasicCMSService
implements IAnoAccessApplicationDataService, net.anotheria.asg.util.listener.IModuleListener
-
Field Summary
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
MY_OWNER_ID, serviceFields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log -
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 servicenet.anotheria.anodoc.query2.QueryResultexecuteQueryOnUserDatas(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on UserDatasnet.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodenet.anotheria.util.xml.XMLNodeexportUserDatasToXML(List<UserData> list) 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(List<String> ids) Returns the UserData objects with the specified ids.getUserDatas(List<String> ids, net.anotheria.util.sorter.SortType sortType) Returns the UserData objects with the specified ids, sorted by given sorttype.getUserDatas(net.anotheria.util.slicer.Segment aSegment) Returns UserData 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... property) Returns UserData objects segment, where property matched.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 matched, sorted.getUserDatasByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserData objects, where property matches, sortedintReturns UserData objects count.importUserData(UserData userdata) Imports a new UserData object.importUserDatas(List<UserData> list) Imports multiple new UserData object.voidmoduleLoaded(net.anotheria.anodoc.data.Module module) updateUserData(UserData userdata) Updates a UserData object.updateUserDatas(List<UserData> list) Updates multiple UserData objects.Methods inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
addModuleListener, getModule, updateModuleMethods 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, getImagesServiceMethods inherited from class net.anotheria.asg.service.AbstractASGService
addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
moduleLoaded
public void moduleLoaded(net.anotheria.anodoc.data.Module module) - Specified by:
moduleLoadedin interfacenet.anotheria.asg.util.listener.IModuleListener
-
getUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceReturns all UserDatas objects stored.- Specified by:
getUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceReturns all UserDatas objects sorted by given sortType.- Specified by:
getUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserDatas
Returns the UserData objects with the specified ids. -
getUserDatas
Returns the UserData objects with the specified ids, sorted by given sorttype. -
deleteUserData
Description copied from interface:IAnoAccessApplicationDataServiceDeletes a UserData object.- Specified by:
deleteUserDatain interfaceIAnoAccessApplicationDataService
-
deleteUserData
Description copied from interface:IAnoAccessApplicationDataServiceDeletes a UserData object by id.- Specified by:
deleteUserDatain interfaceIAnoAccessApplicationDataService
-
deleteUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceDeletes multiple UserData object.- Specified by:
deleteUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserData
Description copied from interface:IAnoAccessApplicationDataServiceReturns the UserData object with the specified id.- Specified by:
getUserDatain interfaceIAnoAccessApplicationDataService
-
importUserData
Description copied from interface:IAnoAccessApplicationDataServiceImports a new UserData object. Returns the created version.- Specified by:
importUserDatain interfaceIAnoAccessApplicationDataService
-
importUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceImports multiple new UserData object. Returns the created versions.- Specified by:
importUserDatasin interfaceIAnoAccessApplicationDataService
-
createUserData
Description copied from interface:IAnoAccessApplicationDataServiceCreates a new UserData object. Returns the created version.- Specified by:
createUserDatain interfaceIAnoAccessApplicationDataService
-
createUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceCreates multiple new UserData objects. Returns the created versions.- Specified by:
createUserDatasin interfaceIAnoAccessApplicationDataService
-
updateUserData
Description copied from interface:IAnoAccessApplicationDataServiceUpdates a UserData object. Returns the updated version.- Specified by:
updateUserDatain interfaceIAnoAccessApplicationDataService
-
updateUserDatas
Description copied from interface:IAnoAccessApplicationDataServiceUpdates multiple UserData objects. Returns the updated versions.- Specified by:
updateUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
Description copied from interface:IAnoAccessApplicationDataServiceReturns all UserData objects, where property with given name equals object.- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
public List<UserData> getUserDatasByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Description copied from interface:IAnoAccessApplicationDataServiceReturns all UserData objects, where property with given name equals object, sorted.- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
executeQueryOnUserDatas
public net.anotheria.anodoc.query2.QueryResult executeQueryOnUserDatas(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on UserDatas- Specified by:
executeQueryOnUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
Returns all UserData objects, where property matches.- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
public List<UserData> getUserDatasByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all UserData objects, where property matches, sorted- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
getUserDatasCount
public int getUserDatasCount()Returns UserData objects count.- Specified by:
getUserDatasCountin interfaceIAnoAccessApplicationDataService
-
getUserDatas
Returns UserData objects segment.- Specified by:
getUserDatasin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
public List<UserData> getUserDatasByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property) Returns UserData objects segment, where property matched.- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
getUserDatasByProperty
public 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 matched, sorted.- Specified by:
getUserDatasByPropertyin interfaceIAnoAccessApplicationDataService
-
fetchUserData
public void fetchUserData(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws AnoAccessApplicationDataServiceException Description copied from interface:IAnoAccessApplicationDataServiceCreate json object list dependencies for this UserData document.- Specified by:
fetchUserDatain interfaceIAnoAccessApplicationDataService- Throws:
AnoAccessApplicationDataServiceException
-
executeQueryOnAllObjects
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(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- Specified by:
executeQueryOnAllObjectsin interfaceIAnoAccessApplicationDataService
-
exportUserDatasToXML
public net.anotheria.util.xml.XMLNode exportUserDatasToXML() -
exportUserDatasToXML
Description copied from interface:IAnoAccessApplicationDataServiceCreates an xml element with selected contained data.- Specified by:
exportUserDatasToXMLin interfaceIAnoAccessApplicationDataService
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML()Description copied from interface:IAnoAccessApplicationDataServicecreates an xml element with all contained data.- Specified by:
exportToXMLin interfaceIAnoAccessApplicationDataService
-