
net.anotheria.anosite.gen.asgenericdata.service.IASGenericDataService Maven / Gradle / Ivy
/**
********************************************************************************
*** IASGenericDataService.java ***
*** Generator: net.anotheria.asg.generator.model.ServiceGenerator ***
*** generated by AnoSiteGenerator (ASG), Version: 4.2.2 ***
*** Copyright (C) 2005 - 2025 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.asgenericdata.service;
import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.asgenericdata.data.GenericBoxType;
import net.anotheria.anosite.gen.asgenericdata.data.GenericBoxHandlerDef;
import net.anotheria.anosite.gen.asgenericdata.data.GenericGuardDef;
import java.util.Set;
import org.codehaus.jettison.json.JSONObject;
import org.codehaus.jettison.json.JSONArray;
import net.anotheria.anosite.gen.shared.util.DocumentName;
import net.anotheria.util.xml.XMLNode;
import net.anotheria.util.slicer.Segment;
import net.anotheria.anodoc.query2.DocumentQuery;
import net.anotheria.anodoc.query2.QueryResult;
import net.anotheria.anodoc.query2.QueryProperty;
import net.anotheria.asg.service.ASGService;
public interface IASGenericDataService extends ASGService{
// Generated by: class net.anotheria.asg.generator.model.ServiceGenerator.generateInterface
/**
* Returns all GenericBoxTypes objects stored.
*/
List getGenericBoxTypes() throws ASGenericDataServiceException;
/**
* Returns all GenericBoxTypes objects sorted by given sortType.
*/
List getGenericBoxTypes(SortType sortType) throws ASGenericDataServiceException;
/**
* Deletes a GenericBoxType object by id.
*/
void deleteGenericBoxType(String id) throws ASGenericDataServiceException;
/**
* Deletes a GenericBoxType object.
*/
void deleteGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException;
/**
* Deletes multiple GenericBoxType object.
*/
void deleteGenericBoxTypes(List list) throws ASGenericDataServiceException;
/**
* Returns the GenericBoxType object with the specified id.
*/
GenericBoxType getGenericBoxType(String id) throws ASGenericDataServiceException;
/**
* Imports a new GenericBoxType object.
* Returns the created version.
*/
GenericBoxType importGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException;
/**
* Imports multiple new GenericBoxType object.
* Returns the created versions.
*/
List importGenericBoxTypes(List list) throws ASGenericDataServiceException;
/**
* Creates a new GenericBoxType object.
* Returns the created version.
*/
GenericBoxType createGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException;
/**
* Creates multiple new GenericBoxType objects.
* Returns the created versions.
*/
List createGenericBoxTypes(List list) throws ASGenericDataServiceException;
/**
* Updates a GenericBoxType object.
* Returns the updated version.
*/
GenericBoxType updateGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException;
/**
* Updates multiple GenericBoxType objects.
* Returns the updated versions.
*/
List updateGenericBoxTypes(List list) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxType objects, where property with given name equals object.
*/
List getGenericBoxTypesByProperty(String propertyName, Object value) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxType objects, where property with given name equals object, sorted.
*/
List getGenericBoxTypesByProperty(String propertyName, Object value, SortType sortType) throws ASGenericDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnGenericBoxTypes(DocumentQuery query) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxType objects, where property matches.
*/
List getGenericBoxTypesByProperty(QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxType objects, where property matches, sorted.
*/
List getGenericBoxTypesByProperty(SortType sortType, QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxTypes count.
*/
int getGenericBoxTypesCount() throws ASGenericDataServiceException;
/**
* Returns GenericBoxTypes objects segment.
*/
List getGenericBoxTypes(Segment aSegment) throws ASGenericDataServiceException;
/**
* Returns GenericBoxType objects segment, where property matches.
*/
List getGenericBoxTypesByProperty(Segment aSegment, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Returns GenericBoxType objects segment, where property matches, sorted.
*/
List getGenericBoxTypesByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportGenericBoxTypesToXML(List listGenericBoxTypes) throws ASGenericDataServiceException;
/**
* Create json object list dependencies for this GenericBoxType document.
*/
void fetchGenericBoxType(String id, Set addedDocuments, JSONArray data) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDefs objects stored.
*/
List getGenericBoxHandlerDefs() throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDefs objects sorted by given sortType.
*/
List getGenericBoxHandlerDefs(SortType sortType) throws ASGenericDataServiceException;
/**
* Deletes a GenericBoxHandlerDef object by id.
*/
void deleteGenericBoxHandlerDef(String id) throws ASGenericDataServiceException;
/**
* Deletes a GenericBoxHandlerDef object.
*/
void deleteGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException;
/**
* Deletes multiple GenericBoxHandlerDef object.
*/
void deleteGenericBoxHandlerDefs(List list) throws ASGenericDataServiceException;
/**
* Returns the GenericBoxHandlerDef object with the specified id.
*/
GenericBoxHandlerDef getGenericBoxHandlerDef(String id) throws ASGenericDataServiceException;
/**
* Imports a new GenericBoxHandlerDef object.
* Returns the created version.
*/
GenericBoxHandlerDef importGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException;
/**
* Imports multiple new GenericBoxHandlerDef object.
* Returns the created versions.
*/
List importGenericBoxHandlerDefs(List list) throws ASGenericDataServiceException;
/**
* Creates a new GenericBoxHandlerDef object.
* Returns the created version.
*/
GenericBoxHandlerDef createGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException;
/**
* Creates multiple new GenericBoxHandlerDef objects.
* Returns the created versions.
*/
List createGenericBoxHandlerDefs(List list) throws ASGenericDataServiceException;
/**
* Updates a GenericBoxHandlerDef object.
* Returns the updated version.
*/
GenericBoxHandlerDef updateGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException;
/**
* Updates multiple GenericBoxHandlerDef objects.
* Returns the updated versions.
*/
List updateGenericBoxHandlerDefs(List list) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDef objects, where property with given name equals object.
*/
List getGenericBoxHandlerDefsByProperty(String propertyName, Object value) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDef objects, where property with given name equals object, sorted.
*/
List getGenericBoxHandlerDefsByProperty(String propertyName, Object value, SortType sortType) throws ASGenericDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnGenericBoxHandlerDefs(DocumentQuery query) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDef objects, where property matches.
*/
List getGenericBoxHandlerDefsByProperty(QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDef objects, where property matches, sorted.
*/
List getGenericBoxHandlerDefsByProperty(SortType sortType, QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericBoxHandlerDefs count.
*/
int getGenericBoxHandlerDefsCount() throws ASGenericDataServiceException;
/**
* Returns GenericBoxHandlerDefs objects segment.
*/
List getGenericBoxHandlerDefs(Segment aSegment) throws ASGenericDataServiceException;
/**
* Returns GenericBoxHandlerDef objects segment, where property matches.
*/
List getGenericBoxHandlerDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Returns GenericBoxHandlerDef objects segment, where property matches, sorted.
*/
List getGenericBoxHandlerDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportGenericBoxHandlerDefsToXML(List listGenericBoxHandlerDefs) throws ASGenericDataServiceException;
/**
* Create json object list dependencies for this GenericBoxHandlerDef document.
*/
void fetchGenericBoxHandlerDef(String id, Set addedDocuments, JSONArray data) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDefs objects stored.
*/
List getGenericGuardDefs() throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDefs objects sorted by given sortType.
*/
List getGenericGuardDefs(SortType sortType) throws ASGenericDataServiceException;
/**
* Deletes a GenericGuardDef object by id.
*/
void deleteGenericGuardDef(String id) throws ASGenericDataServiceException;
/**
* Deletes a GenericGuardDef object.
*/
void deleteGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException;
/**
* Deletes multiple GenericGuardDef object.
*/
void deleteGenericGuardDefs(List list) throws ASGenericDataServiceException;
/**
* Returns the GenericGuardDef object with the specified id.
*/
GenericGuardDef getGenericGuardDef(String id) throws ASGenericDataServiceException;
/**
* Imports a new GenericGuardDef object.
* Returns the created version.
*/
GenericGuardDef importGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException;
/**
* Imports multiple new GenericGuardDef object.
* Returns the created versions.
*/
List importGenericGuardDefs(List list) throws ASGenericDataServiceException;
/**
* Creates a new GenericGuardDef object.
* Returns the created version.
*/
GenericGuardDef createGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException;
/**
* Creates multiple new GenericGuardDef objects.
* Returns the created versions.
*/
List createGenericGuardDefs(List list) throws ASGenericDataServiceException;
/**
* Updates a GenericGuardDef object.
* Returns the updated version.
*/
GenericGuardDef updateGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException;
/**
* Updates multiple GenericGuardDef objects.
* Returns the updated versions.
*/
List updateGenericGuardDefs(List list) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDef objects, where property with given name equals object.
*/
List getGenericGuardDefsByProperty(String propertyName, Object value) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDef objects, where property with given name equals object, sorted.
*/
List getGenericGuardDefsByProperty(String propertyName, Object value, SortType sortType) throws ASGenericDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnGenericGuardDefs(DocumentQuery query) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDef objects, where property matches.
*/
List getGenericGuardDefsByProperty(QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDef objects, where property matches, sorted.
*/
List getGenericGuardDefsByProperty(SortType sortType, QueryProperty... property) throws ASGenericDataServiceException;
/**
* Returns all GenericGuardDefs count.
*/
int getGenericGuardDefsCount() throws ASGenericDataServiceException;
/**
* Returns GenericGuardDefs objects segment.
*/
List getGenericGuardDefs(Segment aSegment) throws ASGenericDataServiceException;
/**
* Returns GenericGuardDef objects segment, where property matches.
*/
List getGenericGuardDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Returns GenericGuardDef objects segment, where property matches, sorted.
*/
List getGenericGuardDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASGenericDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportGenericGuardDefsToXML(List listGenericGuardDefs) throws ASGenericDataServiceException;
/**
* Create json object list dependencies for this GenericGuardDef document.
*/
void fetchGenericGuardDef(String id, Set addedDocuments, JSONArray data) throws ASGenericDataServiceException;
/**
* Save transferred document by its own type.
*/
void executeParsingForDocument (final DocumentName documentName, final JSONObject data) throws ASGenericDataServiceException;
/**
* Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.
*/
QueryResult executeQueryOnAllObjects(DocumentQuery query) throws ASGenericDataServiceException;
/**
* creates an xml element with all contained data.
*/
XMLNode exportToXML() throws ASGenericDataServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy