All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anosite.gen.aswizarddata.service.IASWizardDataService Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** IASWizardDataService.java                                                ***
 *** Generator: net.anotheria.asg.generator.model.ServiceGenerator            ***
 *** generated by AnoSiteGenerator (ASG), Version: 3.2.2                      ***
 *** Copyright (C) 2005 - 2023 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.aswizarddata.service;

import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.aswizarddata.data.WizardDef;
import net.anotheria.anosite.gen.aswizarddata.data.WizardHandlerDef;
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 IASWizardDataService extends ASGService{

// Generated by: class net.anotheria.asg.generator.model.ServiceGenerator.generateInterface

	/**
	 * Returns all WizardDefs objects stored.
	 */
	List getWizardDefs() throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDefs objects sorted by given sortType.
	 */
	List getWizardDefs(SortType sortType) throws ASWizardDataServiceException;

	/**
	 * Deletes a WizardDef object by id.
	 */
	void deleteWizardDef(String id) throws ASWizardDataServiceException;

	/**
	 * Deletes a WizardDef object.
	 */
	void deleteWizardDef(WizardDef wizarddef) throws ASWizardDataServiceException;

	/**
	 * Deletes multiple WizardDef object.
	 */
	void deleteWizardDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Returns the WizardDef object with the specified id.
	 */
	WizardDef getWizardDef(String id) throws ASWizardDataServiceException;

	/**
	 * Imports a new WizardDef object.
	 * Returns the created version.
	 */
	WizardDef importWizardDef(WizardDef wizarddef) throws ASWizardDataServiceException;

	/**
	 * Imports multiple new  WizardDef object.
	 * Returns the created versions.
	 */
	List importWizardDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Creates a new WizardDef object.
	 * Returns the created version.
	 */
	WizardDef createWizardDef(WizardDef wizarddef) throws ASWizardDataServiceException;

	/**
	 * Creates multiple new WizardDef objects.
	 * Returns the created versions.
	 */
	List createWizardDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Updates a WizardDef object.
	 * Returns the updated version.
	 */
	WizardDef updateWizardDef(WizardDef wizarddef) throws ASWizardDataServiceException;

	/**
	 * Updates multiple WizardDef objects.
	 * Returns the updated versions.
	 */
	List updateWizardDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDef objects, where property with given name equals object.
	 */
	List getWizardDefsByProperty(String propertyName, Object value) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDef objects, where property with given name equals object, sorted.
	 */
	List getWizardDefsByProperty(String propertyName, Object value, SortType sortType) throws ASWizardDataServiceException;

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnWizardDefs(DocumentQuery query) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDef objects, where property matches.
	 */
	List getWizardDefsByProperty(QueryProperty... property) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDef objects, where property matches, sorted.
	 */
	List getWizardDefsByProperty(SortType sortType, QueryProperty... property) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardDefs count.
	 */
	int getWizardDefsCount() throws ASWizardDataServiceException;

	/**
	 * Returns WizardDefs objects segment.
	 */
	List getWizardDefs(Segment aSegment) throws ASWizardDataServiceException;

	/**
	 * Returns WizardDef objects segment, where property matches.
	 */
	List getWizardDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASWizardDataServiceException;

	/**
	 * Returns WizardDef objects segment, where property matches, sorted.
	 */
	List getWizardDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASWizardDataServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportWizardDefsToXML(List listWizardDefs)  throws ASWizardDataServiceException;

	/**
	 * Create json object list dependencies for this WizardDef document.
	 */
	void fetchWizardDef(String id, Set addedDocuments, JSONArray data) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDefs objects stored.
	 */
	List getWizardHandlerDefs() throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDefs objects sorted by given sortType.
	 */
	List getWizardHandlerDefs(SortType sortType) throws ASWizardDataServiceException;

	/**
	 * Deletes a WizardHandlerDef object by id.
	 */
	void deleteWizardHandlerDef(String id) throws ASWizardDataServiceException;

	/**
	 * Deletes a WizardHandlerDef object.
	 */
	void deleteWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException;

	/**
	 * Deletes multiple WizardHandlerDef object.
	 */
	void deleteWizardHandlerDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Returns the WizardHandlerDef object with the specified id.
	 */
	WizardHandlerDef getWizardHandlerDef(String id) throws ASWizardDataServiceException;

	/**
	 * Imports a new WizardHandlerDef object.
	 * Returns the created version.
	 */
	WizardHandlerDef importWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException;

	/**
	 * Imports multiple new  WizardHandlerDef object.
	 * Returns the created versions.
	 */
	List importWizardHandlerDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Creates a new WizardHandlerDef object.
	 * Returns the created version.
	 */
	WizardHandlerDef createWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException;

	/**
	 * Creates multiple new WizardHandlerDef objects.
	 * Returns the created versions.
	 */
	List createWizardHandlerDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Updates a WizardHandlerDef object.
	 * Returns the updated version.
	 */
	WizardHandlerDef updateWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException;

	/**
	 * Updates multiple WizardHandlerDef objects.
	 * Returns the updated versions.
	 */
	List updateWizardHandlerDefs(List list) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDef objects, where property with given name equals object.
	 */
	List getWizardHandlerDefsByProperty(String propertyName, Object value) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDef objects, where property with given name equals object, sorted.
	 */
	List getWizardHandlerDefsByProperty(String propertyName, Object value, SortType sortType) throws ASWizardDataServiceException;

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnWizardHandlerDefs(DocumentQuery query) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDef objects, where property matches.
	 */
	List getWizardHandlerDefsByProperty(QueryProperty... property) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDef objects, where property matches, sorted.
	 */
	List getWizardHandlerDefsByProperty(SortType sortType, QueryProperty... property) throws ASWizardDataServiceException;

	/**
	 * Returns all WizardHandlerDefs count.
	 */
	int getWizardHandlerDefsCount() throws ASWizardDataServiceException;

	/**
	 * Returns WizardHandlerDefs objects segment.
	 */
	List getWizardHandlerDefs(Segment aSegment) throws ASWizardDataServiceException;

	/**
	 * Returns WizardHandlerDef objects segment, where property matches.
	 */
	List getWizardHandlerDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASWizardDataServiceException;

	/**
	 * Returns WizardHandlerDef objects segment, where property matches, sorted.
	 */
	List getWizardHandlerDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASWizardDataServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportWizardHandlerDefsToXML(List listWizardHandlerDefs)  throws ASWizardDataServiceException;

	/**
	 * Create json object list dependencies for this WizardHandlerDef document.
	 */
	void fetchWizardHandlerDef(String id, Set addedDocuments, JSONArray data) throws ASWizardDataServiceException;

	/**
	 * Save transferred document by its own type.
	 */
	void executeParsingForDocument (final DocumentName documentName, final JSONObject data) throws ASWizardDataServiceException;
	/**
	 * 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 ASWizardDataServiceException;
	/**
	 * creates an xml element with all contained data.
	 */
	XMLNode exportToXML() throws ASWizardDataServiceException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy