Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
********************************************************************************
*** IASWebDataService.java ***
*** Generator: net.anotheria.asg.generator.model.ServiceGenerator ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 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.aswebdata.service;
import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.aswebdata.data.Pagex;
import net.anotheria.anosite.gen.aswebdata.data.Box;
import net.anotheria.anosite.gen.aswebdata.data.Attribute;
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 IASWebDataService extends ASGService{
// Generated by: class net.anotheria.asg.generator.model.ServiceGenerator.generateInterface
/**
* Returns all Pagexs objects stored.
*/
public List getPagexs() throws ASWebDataServiceException;
/**
* Returns all Pagexs objects sorted by given sortType.
*/
public List getPagexs(SortType sortType) throws ASWebDataServiceException;
/**
* Deletes a Pagex object by id.
*/
public void deletePagex(String id) throws ASWebDataServiceException;
/**
* Deletes a Pagex object.
*/
public void deletePagex(Pagex pagex) throws ASWebDataServiceException;
/**
* Deletes multiple Pagex object.
*/
public void deletePagexs(List list) throws ASWebDataServiceException;
/**
* Returns the Pagex object with the specified id.
*/
public Pagex getPagex(String id) throws ASWebDataServiceException;
/**
* Imports a new Pagex object.
* Returns the created version.
*/
public Pagex importPagex(Pagex pagex) throws ASWebDataServiceException;
/**
* Imports multiple new Pagex object.
* Returns the created versions.
*/
public List importPagexs(List list) throws ASWebDataServiceException;
/**
* Creates a new Pagex object.
* Returns the created version.
*/
public Pagex createPagex(Pagex pagex) throws ASWebDataServiceException;
/**
* Creates multiple new Pagex objects.
* Returns the created versions.
*/
public List createPagexs(List list) throws ASWebDataServiceException;
/**
* Updates a Pagex object.
* Returns the updated version.
*/
public Pagex updatePagex(Pagex pagex) throws ASWebDataServiceException;
/**
* Updates mutiple Pagex objects.
* Returns the updated versions.
*/
public List updatePagexs(List list) throws ASWebDataServiceException;
/**
* Returns all Pagex objects, where property with given name equals object.
*/
public List getPagexsByProperty(String propertyName, Object value) throws ASWebDataServiceException;
/**
* Returns all Pagex objects, where property with given name equals object, sorted
*/
public List getPagexsByProperty(String propertyName, Object value, SortType sortType) throws ASWebDataServiceException;
/**
* Executes a query
*/
public QueryResult executeQueryOnPagexs(DocumentQuery query) throws ASWebDataServiceException;
/**
* Returns all Pagex objects, where property matches.
*/
public List getPagexsByProperty(QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Pagex objects, where property matches, sorted
*/
public List getPagexsByProperty(SortType sortType, QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Pagexs count.
*/
public int getPagexsCount() throws ASWebDataServiceException;
/**
* Returns Pagexs objects segment.
*/
public List getPagexs(Segment aSegment) throws ASWebDataServiceException;
/**
* Returns Pagex objects segment, where property matches.
*/
public List getPagexsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* Returns Pagex objects segment, where property matches, sorted.
*/
public List getPagexsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage
*/
public void copyMultilingualAttributesInAllPagexs(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data
*/
public XMLNode exportPagexsToXML(List listPagexs) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data but only selected languages in multilingual attributes
*/
public XMLNode exportPagexsToXML(String[] languages,List listPagexs) throws ASWebDataServiceException;
/**
* Create json object list dependencies for this Pagex document
*/
public void fetchPagex(final String id, Set addedDocuments, JSONArray data) throws ASWebDataServiceException;
/**
* Returns all Boxs objects stored.
*/
public List getBoxs() throws ASWebDataServiceException;
/**
* Returns all Boxs objects sorted by given sortType.
*/
public List getBoxs(SortType sortType) throws ASWebDataServiceException;
/**
* Deletes a Box object by id.
*/
public void deleteBox(String id) throws ASWebDataServiceException;
/**
* Deletes a Box object.
*/
public void deleteBox(Box box) throws ASWebDataServiceException;
/**
* Deletes multiple Box object.
*/
public void deleteBoxs(List list) throws ASWebDataServiceException;
/**
* Returns the Box object with the specified id.
*/
public Box getBox(String id) throws ASWebDataServiceException;
/**
* Imports a new Box object.
* Returns the created version.
*/
public Box importBox(Box box) throws ASWebDataServiceException;
/**
* Imports multiple new Box object.
* Returns the created versions.
*/
public List importBoxs(List list) throws ASWebDataServiceException;
/**
* Creates a new Box object.
* Returns the created version.
*/
public Box createBox(Box box) throws ASWebDataServiceException;
/**
* Creates multiple new Box objects.
* Returns the created versions.
*/
public List createBoxs(List list) throws ASWebDataServiceException;
/**
* Updates a Box object.
* Returns the updated version.
*/
public Box updateBox(Box box) throws ASWebDataServiceException;
/**
* Updates mutiple Box objects.
* Returns the updated versions.
*/
public List updateBoxs(List list) throws ASWebDataServiceException;
/**
* Returns all Box objects, where property with given name equals object.
*/
public List getBoxsByProperty(String propertyName, Object value) throws ASWebDataServiceException;
/**
* Returns all Box objects, where property with given name equals object, sorted
*/
public List getBoxsByProperty(String propertyName, Object value, SortType sortType) throws ASWebDataServiceException;
/**
* Executes a query
*/
public QueryResult executeQueryOnBoxs(DocumentQuery query) throws ASWebDataServiceException;
/**
* Returns all Box objects, where property matches.
*/
public List getBoxsByProperty(QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Box objects, where property matches, sorted
*/
public List getBoxsByProperty(SortType sortType, QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Boxs count.
*/
public int getBoxsCount() throws ASWebDataServiceException;
/**
* Returns Boxs objects segment.
*/
public List getBoxs(Segment aSegment) throws ASWebDataServiceException;
/**
* Returns Box objects segment, where property matches.
*/
public List getBoxsByProperty(Segment aSegment, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* Returns Box objects segment, where property matches, sorted.
*/
public List getBoxsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage
*/
public void copyMultilingualAttributesInAllBoxs(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data
*/
public XMLNode exportBoxsToXML(List listBoxs) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data but only selected languages in multilingual attributes
*/
public XMLNode exportBoxsToXML(String[] languages,List listBoxs) throws ASWebDataServiceException;
/**
* Create json object list dependencies for this Box document
*/
public void fetchBox(final String id, Set addedDocuments, JSONArray data) throws ASWebDataServiceException;
/**
* Returns all Attributes objects stored.
*/
public List getAttributes() throws ASWebDataServiceException;
/**
* Returns all Attributes objects sorted by given sortType.
*/
public List getAttributes(SortType sortType) throws ASWebDataServiceException;
/**
* Deletes a Attribute object by id.
*/
public void deleteAttribute(String id) throws ASWebDataServiceException;
/**
* Deletes a Attribute object.
*/
public void deleteAttribute(Attribute attribute) throws ASWebDataServiceException;
/**
* Deletes multiple Attribute object.
*/
public void deleteAttributes(List list) throws ASWebDataServiceException;
/**
* Returns the Attribute object with the specified id.
*/
public Attribute getAttribute(String id) throws ASWebDataServiceException;
/**
* Imports a new Attribute object.
* Returns the created version.
*/
public Attribute importAttribute(Attribute attribute) throws ASWebDataServiceException;
/**
* Imports multiple new Attribute object.
* Returns the created versions.
*/
public List importAttributes(List list) throws ASWebDataServiceException;
/**
* Creates a new Attribute object.
* Returns the created version.
*/
public Attribute createAttribute(Attribute attribute) throws ASWebDataServiceException;
/**
* Creates multiple new Attribute objects.
* Returns the created versions.
*/
public List createAttributes(List list) throws ASWebDataServiceException;
/**
* Updates a Attribute object.
* Returns the updated version.
*/
public Attribute updateAttribute(Attribute attribute) throws ASWebDataServiceException;
/**
* Updates mutiple Attribute objects.
* Returns the updated versions.
*/
public List updateAttributes(List list) throws ASWebDataServiceException;
/**
* Returns all Attribute objects, where property with given name equals object.
*/
public List getAttributesByProperty(String propertyName, Object value) throws ASWebDataServiceException;
/**
* Returns all Attribute objects, where property with given name equals object, sorted
*/
public List getAttributesByProperty(String propertyName, Object value, SortType sortType) throws ASWebDataServiceException;
/**
* Executes a query
*/
public QueryResult executeQueryOnAttributes(DocumentQuery query) throws ASWebDataServiceException;
/**
* Returns all Attribute objects, where property matches.
*/
public List getAttributesByProperty(QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Attribute objects, where property matches, sorted
*/
public List getAttributesByProperty(SortType sortType, QueryProperty... property) throws ASWebDataServiceException;
/**
* Returns all Attributes count.
*/
public int getAttributesCount() throws ASWebDataServiceException;
/**
* Returns Attributes objects segment.
*/
public List getAttributes(Segment aSegment) throws ASWebDataServiceException;
/**
* Returns Attribute objects segment, where property matches.
*/
public List getAttributesByProperty(Segment aSegment, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* Returns Attribute objects segment, where property matches, sorted.
*/
public List getAttributesByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data
*/
public XMLNode exportAttributesToXML(List listAttributes) throws ASWebDataServiceException;
/**
* creates an xml element with selected contained data but only selected languages in multilingual attributes
*/
public XMLNode exportAttributesToXML(String[] languages,List listAttributes) throws ASWebDataServiceException;
/**
* Create json object list dependencies for this Attribute document
*/
public void fetchAttribute(final String id, Set addedDocuments, JSONArray data) throws ASWebDataServiceException;
/**
* Save transferred document by its own type
*/
public void executeParsingForDocument (final DocumentName documentName, final JSONObject data) throws ASWebDataServiceException;
/**
* Copies all multilingual fields from sourceLanguage to targetLanguage in all data objects (documents, vo) which are part of this module and managed by this service
*/
public void copyMultilingualAttributesInAllObjects(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException;
/**
* Executes a query on all data objects (documents, vo) which are part of this module and managed by this service
*/
public QueryResult executeQueryOnAllObjects(DocumentQuery query) throws ASWebDataServiceException;
/**
* creates an xml element with all contained data.
*/
public XMLNode exportToXML() throws ASWebDataServiceException;
/**
* creates an xml element with all contained data but only selected languages in multilingual attributes
*/
public XMLNode exportToXML(String[] languages) throws ASWebDataServiceException;
}