net.anotheria.anosite.gen.ascustomdata.service.IASCustomDataService Maven / Gradle / Ivy
The newest version!
/**
********************************************************************************
*** IASCustomDataService.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.ascustomdata.service;
import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.ascustomdata.data.CustomBoxType;
import net.anotheria.anosite.gen.ascustomdata.data.CustomBoxHandlerDef;
import net.anotheria.anosite.gen.ascustomdata.data.CustomGuardDef;
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 IASCustomDataService extends ASGService{
// Generated by: class net.anotheria.asg.generator.model.ServiceGenerator.generateInterface
/**
* Returns all CustomBoxTypes objects stored.
*/
List getCustomBoxTypes() throws ASCustomDataServiceException;
/**
* Returns all CustomBoxTypes objects sorted by given sortType.
*/
List getCustomBoxTypes(SortType sortType) throws ASCustomDataServiceException;
/**
* Deletes a CustomBoxType object by id.
*/
void deleteCustomBoxType(String id) throws ASCustomDataServiceException;
/**
* Deletes a CustomBoxType object.
*/
void deleteCustomBoxType(CustomBoxType customboxtype) throws ASCustomDataServiceException;
/**
* Deletes multiple CustomBoxType object.
*/
void deleteCustomBoxTypes(List list) throws ASCustomDataServiceException;
/**
* Returns the CustomBoxType object with the specified id.
*/
CustomBoxType getCustomBoxType(String id) throws ASCustomDataServiceException;
/**
* Imports a new CustomBoxType object.
* Returns the created version.
*/
CustomBoxType importCustomBoxType(CustomBoxType customboxtype) throws ASCustomDataServiceException;
/**
* Imports multiple new CustomBoxType object.
* Returns the created versions.
*/
List importCustomBoxTypes(List list) throws ASCustomDataServiceException;
/**
* Creates a new CustomBoxType object.
* Returns the created version.
*/
CustomBoxType createCustomBoxType(CustomBoxType customboxtype) throws ASCustomDataServiceException;
/**
* Creates multiple new CustomBoxType objects.
* Returns the created versions.
*/
List createCustomBoxTypes(List list) throws ASCustomDataServiceException;
/**
* Updates a CustomBoxType object.
* Returns the updated version.
*/
CustomBoxType updateCustomBoxType(CustomBoxType customboxtype) throws ASCustomDataServiceException;
/**
* Updates multiple CustomBoxType objects.
* Returns the updated versions.
*/
List updateCustomBoxTypes(List list) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxType objects, where property with given name equals object.
*/
List getCustomBoxTypesByProperty(String propertyName, Object value) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxType objects, where property with given name equals object, sorted.
*/
List getCustomBoxTypesByProperty(String propertyName, Object value, SortType sortType) throws ASCustomDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnCustomBoxTypes(DocumentQuery query) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxType objects, where property matches.
*/
List getCustomBoxTypesByProperty(QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxType objects, where property matches, sorted.
*/
List getCustomBoxTypesByProperty(SortType sortType, QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxTypes count.
*/
int getCustomBoxTypesCount() throws ASCustomDataServiceException;
/**
* Returns CustomBoxTypes objects segment.
*/
List getCustomBoxTypes(Segment aSegment) throws ASCustomDataServiceException;
/**
* Returns CustomBoxType objects segment, where property matches.
*/
List getCustomBoxTypesByProperty(Segment aSegment, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Returns CustomBoxType objects segment, where property matches, sorted.
*/
List getCustomBoxTypesByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportCustomBoxTypesToXML(List listCustomBoxTypes) throws ASCustomDataServiceException;
/**
* Create json object list dependencies for this CustomBoxType document.
*/
void fetchCustomBoxType(String id, Set addedDocuments, JSONArray data) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDefs objects stored.
*/
List getCustomBoxHandlerDefs() throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDefs objects sorted by given sortType.
*/
List getCustomBoxHandlerDefs(SortType sortType) throws ASCustomDataServiceException;
/**
* Deletes a CustomBoxHandlerDef object by id.
*/
void deleteCustomBoxHandlerDef(String id) throws ASCustomDataServiceException;
/**
* Deletes a CustomBoxHandlerDef object.
*/
void deleteCustomBoxHandlerDef(CustomBoxHandlerDef customboxhandlerdef) throws ASCustomDataServiceException;
/**
* Deletes multiple CustomBoxHandlerDef object.
*/
void deleteCustomBoxHandlerDefs(List list) throws ASCustomDataServiceException;
/**
* Returns the CustomBoxHandlerDef object with the specified id.
*/
CustomBoxHandlerDef getCustomBoxHandlerDef(String id) throws ASCustomDataServiceException;
/**
* Imports a new CustomBoxHandlerDef object.
* Returns the created version.
*/
CustomBoxHandlerDef importCustomBoxHandlerDef(CustomBoxHandlerDef customboxhandlerdef) throws ASCustomDataServiceException;
/**
* Imports multiple new CustomBoxHandlerDef object.
* Returns the created versions.
*/
List importCustomBoxHandlerDefs(List list) throws ASCustomDataServiceException;
/**
* Creates a new CustomBoxHandlerDef object.
* Returns the created version.
*/
CustomBoxHandlerDef createCustomBoxHandlerDef(CustomBoxHandlerDef customboxhandlerdef) throws ASCustomDataServiceException;
/**
* Creates multiple new CustomBoxHandlerDef objects.
* Returns the created versions.
*/
List createCustomBoxHandlerDefs(List list) throws ASCustomDataServiceException;
/**
* Updates a CustomBoxHandlerDef object.
* Returns the updated version.
*/
CustomBoxHandlerDef updateCustomBoxHandlerDef(CustomBoxHandlerDef customboxhandlerdef) throws ASCustomDataServiceException;
/**
* Updates multiple CustomBoxHandlerDef objects.
* Returns the updated versions.
*/
List updateCustomBoxHandlerDefs(List list) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDef objects, where property with given name equals object.
*/
List getCustomBoxHandlerDefsByProperty(String propertyName, Object value) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDef objects, where property with given name equals object, sorted.
*/
List getCustomBoxHandlerDefsByProperty(String propertyName, Object value, SortType sortType) throws ASCustomDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnCustomBoxHandlerDefs(DocumentQuery query) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDef objects, where property matches.
*/
List getCustomBoxHandlerDefsByProperty(QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDef objects, where property matches, sorted.
*/
List getCustomBoxHandlerDefsByProperty(SortType sortType, QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomBoxHandlerDefs count.
*/
int getCustomBoxHandlerDefsCount() throws ASCustomDataServiceException;
/**
* Returns CustomBoxHandlerDefs objects segment.
*/
List getCustomBoxHandlerDefs(Segment aSegment) throws ASCustomDataServiceException;
/**
* Returns CustomBoxHandlerDef objects segment, where property matches.
*/
List getCustomBoxHandlerDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Returns CustomBoxHandlerDef objects segment, where property matches, sorted.
*/
List getCustomBoxHandlerDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportCustomBoxHandlerDefsToXML(List listCustomBoxHandlerDefs) throws ASCustomDataServiceException;
/**
* Create json object list dependencies for this CustomBoxHandlerDef document.
*/
void fetchCustomBoxHandlerDef(String id, Set addedDocuments, JSONArray data) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDefs objects stored.
*/
List getCustomGuardDefs() throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDefs objects sorted by given sortType.
*/
List getCustomGuardDefs(SortType sortType) throws ASCustomDataServiceException;
/**
* Deletes a CustomGuardDef object by id.
*/
void deleteCustomGuardDef(String id) throws ASCustomDataServiceException;
/**
* Deletes a CustomGuardDef object.
*/
void deleteCustomGuardDef(CustomGuardDef customguarddef) throws ASCustomDataServiceException;
/**
* Deletes multiple CustomGuardDef object.
*/
void deleteCustomGuardDefs(List list) throws ASCustomDataServiceException;
/**
* Returns the CustomGuardDef object with the specified id.
*/
CustomGuardDef getCustomGuardDef(String id) throws ASCustomDataServiceException;
/**
* Imports a new CustomGuardDef object.
* Returns the created version.
*/
CustomGuardDef importCustomGuardDef(CustomGuardDef customguarddef) throws ASCustomDataServiceException;
/**
* Imports multiple new CustomGuardDef object.
* Returns the created versions.
*/
List importCustomGuardDefs(List list) throws ASCustomDataServiceException;
/**
* Creates a new CustomGuardDef object.
* Returns the created version.
*/
CustomGuardDef createCustomGuardDef(CustomGuardDef customguarddef) throws ASCustomDataServiceException;
/**
* Creates multiple new CustomGuardDef objects.
* Returns the created versions.
*/
List createCustomGuardDefs(List list) throws ASCustomDataServiceException;
/**
* Updates a CustomGuardDef object.
* Returns the updated version.
*/
CustomGuardDef updateCustomGuardDef(CustomGuardDef customguarddef) throws ASCustomDataServiceException;
/**
* Updates multiple CustomGuardDef objects.
* Returns the updated versions.
*/
List updateCustomGuardDefs(List list) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDef objects, where property with given name equals object.
*/
List getCustomGuardDefsByProperty(String propertyName, Object value) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDef objects, where property with given name equals object, sorted.
*/
List getCustomGuardDefsByProperty(String propertyName, Object value, SortType sortType) throws ASCustomDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnCustomGuardDefs(DocumentQuery query) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDef objects, where property matches.
*/
List getCustomGuardDefsByProperty(QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDef objects, where property matches, sorted.
*/
List getCustomGuardDefsByProperty(SortType sortType, QueryProperty... property) throws ASCustomDataServiceException;
/**
* Returns all CustomGuardDefs count.
*/
int getCustomGuardDefsCount() throws ASCustomDataServiceException;
/**
* Returns CustomGuardDefs objects segment.
*/
List getCustomGuardDefs(Segment aSegment) throws ASCustomDataServiceException;
/**
* Returns CustomGuardDef objects segment, where property matches.
*/
List getCustomGuardDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Returns CustomGuardDef objects segment, where property matches, sorted.
*/
List getCustomGuardDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASCustomDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportCustomGuardDefsToXML(List listCustomGuardDefs) throws ASCustomDataServiceException;
/**
* Create json object list dependencies for this CustomGuardDef document.
*/
void fetchCustomGuardDef(String id, Set addedDocuments, JSONArray data) throws ASCustomDataServiceException;
/**
* Save transferred document by its own type.
*/
void executeParsingForDocument (final DocumentName documentName, final JSONObject data) throws ASCustomDataServiceException;
/**
* 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 ASCustomDataServiceException;
/**
* creates an xml element with all contained data.
*/
XMLNode exportToXML() throws ASCustomDataServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy