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

net.anotheria.anosite.gen.ascustomaction.service.IASCustomActionService Maven / Gradle / Ivy

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

import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.ascustomaction.data.CustomActionDef;
import net.anotheria.anosite.gen.ascustomaction.data.ActionMappingDef;
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 IASCustomActionService extends ASGService{

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

	/**
	 * Returns all CustomActionDefs objects stored.
	 */
	List getCustomActionDefs() throws ASCustomActionServiceException;

	/**
	 * Returns all CustomActionDefs objects sorted by given sortType.
	 */
	List getCustomActionDefs(SortType sortType) throws ASCustomActionServiceException;

	/**
	 * Deletes a CustomActionDef object by id.
	 */
	void deleteCustomActionDef(String id) throws ASCustomActionServiceException;

	/**
	 * Deletes a CustomActionDef object.
	 */
	void deleteCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException;

	/**
	 * Deletes multiple CustomActionDef object.
	 */
	void deleteCustomActionDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Returns the CustomActionDef object with the specified id.
	 */
	CustomActionDef getCustomActionDef(String id) throws ASCustomActionServiceException;

	/**
	 * Imports a new CustomActionDef object.
	 * Returns the created version.
	 */
	CustomActionDef importCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException;

	/**
	 * Imports multiple new  CustomActionDef object.
	 * Returns the created versions.
	 */
	List importCustomActionDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Creates a new CustomActionDef object.
	 * Returns the created version.
	 */
	CustomActionDef createCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException;

	/**
	 * Creates multiple new CustomActionDef objects.
	 * Returns the created versions.
	 */
	List createCustomActionDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Updates a CustomActionDef object.
	 * Returns the updated version.
	 */
	CustomActionDef updateCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException;

	/**
	 * Updates multiple CustomActionDef objects.
	 * Returns the updated versions.
	 */
	List updateCustomActionDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Returns all CustomActionDef objects, where property with given name equals object.
	 */
	List getCustomActionDefsByProperty(String propertyName, Object value) throws ASCustomActionServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnCustomActionDefs(DocumentQuery query) throws ASCustomActionServiceException;

	/**
	 * Returns all CustomActionDef objects, where property matches.
	 */
	List getCustomActionDefsByProperty(QueryProperty... property) throws ASCustomActionServiceException;

	/**
	 * Returns all CustomActionDef objects, where property matches, sorted.
	 */
	List getCustomActionDefsByProperty(SortType sortType, QueryProperty... property) throws ASCustomActionServiceException;

	/**
	 * Returns all CustomActionDefs count.
	 */
	int getCustomActionDefsCount() throws ASCustomActionServiceException;

	/**
	 * Returns CustomActionDefs objects segment.
	 */
	List getCustomActionDefs(Segment aSegment) throws ASCustomActionServiceException;

	/**
	 * Returns CustomActionDef objects segment, where property matches.
	 */
	List getCustomActionDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASCustomActionServiceException;

	/**
	 * Returns CustomActionDef objects segment, where property matches, sorted.
	 */
	List getCustomActionDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASCustomActionServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportCustomActionDefsToXML(List listCustomActionDefs)  throws ASCustomActionServiceException;

	/**
	 * Create json object list dependencies for this CustomActionDef document.
	 */
	void fetchCustomActionDef(String id, Set addedDocuments, JSONArray data) throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDefs objects stored.
	 */
	List getActionMappingDefs() throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDefs objects sorted by given sortType.
	 */
	List getActionMappingDefs(SortType sortType) throws ASCustomActionServiceException;

	/**
	 * Deletes a ActionMappingDef object by id.
	 */
	void deleteActionMappingDef(String id) throws ASCustomActionServiceException;

	/**
	 * Deletes a ActionMappingDef object.
	 */
	void deleteActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException;

	/**
	 * Deletes multiple ActionMappingDef object.
	 */
	void deleteActionMappingDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Returns the ActionMappingDef object with the specified id.
	 */
	ActionMappingDef getActionMappingDef(String id) throws ASCustomActionServiceException;

	/**
	 * Imports a new ActionMappingDef object.
	 * Returns the created version.
	 */
	ActionMappingDef importActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException;

	/**
	 * Imports multiple new  ActionMappingDef object.
	 * Returns the created versions.
	 */
	List importActionMappingDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Creates a new ActionMappingDef object.
	 * Returns the created version.
	 */
	ActionMappingDef createActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException;

	/**
	 * Creates multiple new ActionMappingDef objects.
	 * Returns the created versions.
	 */
	List createActionMappingDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Updates a ActionMappingDef object.
	 * Returns the updated version.
	 */
	ActionMappingDef updateActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException;

	/**
	 * Updates multiple ActionMappingDef objects.
	 * Returns the updated versions.
	 */
	List updateActionMappingDefs(List list) throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDef objects, where property with given name equals object.
	 */
	List getActionMappingDefsByProperty(String propertyName, Object value) throws ASCustomActionServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnActionMappingDefs(DocumentQuery query) throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDef objects, where property matches.
	 */
	List getActionMappingDefsByProperty(QueryProperty... property) throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDef objects, where property matches, sorted.
	 */
	List getActionMappingDefsByProperty(SortType sortType, QueryProperty... property) throws ASCustomActionServiceException;

	/**
	 * Returns all ActionMappingDefs count.
	 */
	int getActionMappingDefsCount() throws ASCustomActionServiceException;

	/**
	 * Returns ActionMappingDefs objects segment.
	 */
	List getActionMappingDefs(Segment aSegment) throws ASCustomActionServiceException;

	/**
	 * Returns ActionMappingDef objects segment, where property matches.
	 */
	List getActionMappingDefsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASCustomActionServiceException;

	/**
	 * Returns ActionMappingDef objects segment, where property matches, sorted.
	 */
	List getActionMappingDefsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASCustomActionServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportActionMappingDefsToXML(List listActionMappingDefs)  throws ASCustomActionServiceException;

	/**
	 * Create json object list dependencies for this ActionMappingDef document.
	 */
	void fetchActionMappingDef(String id, Set addedDocuments, JSONArray data) throws ASCustomActionServiceException;

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy