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

net.anotheria.anosite.gen.asaction.service.IASActionService Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** IASActionService.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.asaction.service;

import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.asaction.data.ActionDef;
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 IASActionService extends ASGService{

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

	/**
	 * Returns all ActionDefs objects stored.
	 */
	List getActionDefs() throws ASActionServiceException;

	/**
	 * Returns all ActionDefs objects sorted by given sortType.
	 */
	List getActionDefs(SortType sortType) throws ASActionServiceException;

	/**
	 * Deletes a ActionDef object by id.
	 */
	void deleteActionDef(String id) throws ASActionServiceException;

	/**
	 * Deletes a ActionDef object.
	 */
	void deleteActionDef(ActionDef actiondef) throws ASActionServiceException;

	/**
	 * Deletes multiple ActionDef object.
	 */
	void deleteActionDefs(List list) throws ASActionServiceException;

	/**
	 * Returns the ActionDef object with the specified id.
	 */
	ActionDef getActionDef(String id) throws ASActionServiceException;

	/**
	 * Imports a new ActionDef object.
	 * Returns the created version.
	 */
	ActionDef importActionDef(ActionDef actiondef) throws ASActionServiceException;

	/**
	 * Imports multiple new  ActionDef object.
	 * Returns the created versions.
	 */
	List importActionDefs(List list) throws ASActionServiceException;

	/**
	 * Creates a new ActionDef object.
	 * Returns the created version.
	 */
	ActionDef createActionDef(ActionDef actiondef) throws ASActionServiceException;

	/**
	 * Creates multiple new ActionDef objects.
	 * Returns the created versions.
	 */
	List createActionDefs(List list) throws ASActionServiceException;

	/**
	 * Updates a ActionDef object.
	 * Returns the updated version.
	 */
	ActionDef updateActionDef(ActionDef actiondef) throws ASActionServiceException;

	/**
	 * Updates multiple ActionDef objects.
	 * Returns the updated versions.
	 */
	List updateActionDefs(List list) throws ASActionServiceException;

	/**
	 * Returns all ActionDef objects, where property with given name equals object.
	 */
	List getActionDefsByProperty(String propertyName, Object value) throws ASActionServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnActionDefs(DocumentQuery query) throws ASActionServiceException;

	/**
	 * Returns all ActionDef objects, where property matches.
	 */
	List getActionDefsByProperty(QueryProperty... property) throws ASActionServiceException;

	/**
	 * Returns all ActionDef objects, where property matches, sorted.
	 */
	List getActionDefsByProperty(SortType sortType, QueryProperty... property) throws ASActionServiceException;

	/**
	 * Returns all ActionDefs count.
	 */
	int getActionDefsCount() throws ASActionServiceException;

	/**
	 * Returns ActionDefs objects segment.
	 */
	List getActionDefs(Segment aSegment) throws ASActionServiceException;

	/**
	 * Returns ActionDef objects segment, where property matches.
	 */
	List getActionDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASActionServiceException;

	/**
	 * Returns ActionDef objects segment, where property matches, sorted.
	 */
	List getActionDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASActionServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportActionDefsToXML(List listActionDefs)  throws ASActionServiceException;

	/**
	 * Create json object list dependencies for this ActionDef document.
	 */
	void fetchActionDef(String id, Set addedDocuments, JSONArray data) throws ASActionServiceException;

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy