All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
net.anotheria.anosite.gen.assitedata.service.IASSiteDataService Maven / Gradle / Ivy
/**
********************************************************************************
*** IASSiteDataService.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.assitedata.service;
import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.assitedata.data.PageTemplate;
import net.anotheria.anosite.gen.assitedata.data.MediaLink;
import net.anotheria.anosite.gen.assitedata.data.Script;
import net.anotheria.anosite.gen.assitedata.data.Site;
import net.anotheria.anosite.gen.assitedata.data.NaviItem;
import net.anotheria.anosite.gen.assitedata.data.EntryPoint;
import net.anotheria.anosite.gen.assitedata.data.PageAlias;
import net.anotheria.anosite.gen.assitedata.data.RedirectUrl;
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 IASSiteDataService extends ASGService{
// Generated by: class net.anotheria.asg.generator.model.ServiceGenerator.generateInterface
/**
* Returns all PageTemplates objects stored.
*/
List getPageTemplates() throws ASSiteDataServiceException;
/**
* Returns all PageTemplates objects sorted by given sortType.
*/
List getPageTemplates(SortType sortType) throws ASSiteDataServiceException;
/**
* Deletes a PageTemplate object by id.
*/
void deletePageTemplate(String id) throws ASSiteDataServiceException;
/**
* Deletes a PageTemplate object.
*/
void deletePageTemplate(PageTemplate pagetemplate) throws ASSiteDataServiceException;
/**
* Deletes multiple PageTemplate object.
*/
void deletePageTemplates(List list) throws ASSiteDataServiceException;
/**
* Returns the PageTemplate object with the specified id.
*/
PageTemplate getPageTemplate(String id) throws ASSiteDataServiceException;
/**
* Imports a new PageTemplate object.
* Returns the created version.
*/
PageTemplate importPageTemplate(PageTemplate pagetemplate) throws ASSiteDataServiceException;
/**
* Imports multiple new PageTemplate object.
* Returns the created versions.
*/
List importPageTemplates(List list) throws ASSiteDataServiceException;
/**
* Creates a new PageTemplate object.
* Returns the created version.
*/
PageTemplate createPageTemplate(PageTemplate pagetemplate) throws ASSiteDataServiceException;
/**
* Creates multiple new PageTemplate objects.
* Returns the created versions.
*/
List createPageTemplates(List list) throws ASSiteDataServiceException;
/**
* Updates a PageTemplate object.
* Returns the updated version.
*/
PageTemplate updatePageTemplate(PageTemplate pagetemplate) throws ASSiteDataServiceException;
/**
* Updates multiple PageTemplate objects.
* Returns the updated versions.
*/
List updatePageTemplates(List list) throws ASSiteDataServiceException;
/**
* Returns all PageTemplate objects, where property with given name equals object.
*/
List getPageTemplatesByProperty(String propertyName, Object value) throws ASSiteDataServiceException;
/**
* Returns all PageTemplate objects, where property with given name equals object, sorted.
*/
List getPageTemplatesByProperty(String propertyName, Object value, SortType sortType) throws ASSiteDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnPageTemplates(DocumentQuery query) throws ASSiteDataServiceException;
/**
* Returns all PageTemplate objects, where property matches.
*/
List getPageTemplatesByProperty(QueryProperty... property) throws ASSiteDataServiceException;
/**
* Returns all PageTemplate objects, where property matches, sorted.
*/
List getPageTemplatesByProperty(SortType sortType, QueryProperty... property) throws ASSiteDataServiceException;
/**
* Returns all PageTemplates count.
*/
int getPageTemplatesCount() throws ASSiteDataServiceException;
/**
* Returns PageTemplates objects segment.
*/
List getPageTemplates(Segment aSegment) throws ASSiteDataServiceException;
/**
* Returns PageTemplate objects segment, where property matches.
*/
List getPageTemplatesByProperty(Segment aSegment, QueryProperty... aProperty) throws ASSiteDataServiceException;
/**
* Returns PageTemplate objects segment, where property matches, sorted.
*/
List getPageTemplatesByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASSiteDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportPageTemplatesToXML(List listPageTemplates) throws ASSiteDataServiceException;
/**
* Create json object list dependencies for this PageTemplate document.
*/
void fetchPageTemplate(String id, Set addedDocuments, JSONArray data) throws ASSiteDataServiceException;
/**
* Returns all MediaLinks objects stored.
*/
List getMediaLinks() throws ASSiteDataServiceException;
/**
* Returns all MediaLinks objects sorted by given sortType.
*/
List getMediaLinks(SortType sortType) throws ASSiteDataServiceException;
/**
* Deletes a MediaLink object by id.
*/
void deleteMediaLink(String id) throws ASSiteDataServiceException;
/**
* Deletes a MediaLink object.
*/
void deleteMediaLink(MediaLink medialink) throws ASSiteDataServiceException;
/**
* Deletes multiple MediaLink object.
*/
void deleteMediaLinks(List list) throws ASSiteDataServiceException;
/**
* Returns the MediaLink object with the specified id.
*/
MediaLink getMediaLink(String id) throws ASSiteDataServiceException;
/**
* Imports a new MediaLink object.
* Returns the created version.
*/
MediaLink importMediaLink(MediaLink medialink) throws ASSiteDataServiceException;
/**
* Imports multiple new MediaLink object.
* Returns the created versions.
*/
List importMediaLinks(List list) throws ASSiteDataServiceException;
/**
* Creates a new MediaLink object.
* Returns the created version.
*/
MediaLink createMediaLink(MediaLink medialink) throws ASSiteDataServiceException;
/**
* Creates multiple new MediaLink objects.
* Returns the created versions.
*/
List createMediaLinks(List list) throws ASSiteDataServiceException;
/**
* Updates a MediaLink object.
* Returns the updated version.
*/
MediaLink updateMediaLink(MediaLink medialink) throws ASSiteDataServiceException;
/**
* Updates multiple MediaLink objects.
* Returns the updated versions.
*/
List updateMediaLinks(List list) throws ASSiteDataServiceException;
/**
* Returns all MediaLink objects, where property with given name equals object.
*/
List getMediaLinksByProperty(String propertyName, Object value) throws ASSiteDataServiceException;
/**
* Returns all MediaLink objects, where property with given name equals object, sorted.
*/
List getMediaLinksByProperty(String propertyName, Object value, SortType sortType) throws ASSiteDataServiceException;
/**
* Executes a query.
*/
QueryResult executeQueryOnMediaLinks(DocumentQuery query) throws ASSiteDataServiceException;
/**
* Returns all MediaLink objects, where property matches.
*/
List getMediaLinksByProperty(QueryProperty... property) throws ASSiteDataServiceException;
/**
* Returns all MediaLink objects, where property matches, sorted.
*/
List getMediaLinksByProperty(SortType sortType, QueryProperty... property) throws ASSiteDataServiceException;
/**
* Returns all MediaLinks count.
*/
int getMediaLinksCount() throws ASSiteDataServiceException;
/**
* Returns MediaLinks objects segment.
*/
List getMediaLinks(Segment aSegment) throws ASSiteDataServiceException;
/**
* Returns MediaLink objects segment, where property matches.
*/
List getMediaLinksByProperty(Segment aSegment, QueryProperty... aProperty) throws ASSiteDataServiceException;
/**
* Returns MediaLink objects segment, where property matches, sorted.
*/
List getMediaLinksByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws ASSiteDataServiceException;
/**
* Creates an xml element with selected contained data.
*/
XMLNode exportMediaLinksToXML(List listMediaLinks) throws ASSiteDataServiceException;
/**
* Create json object list dependencies for this MediaLink document.
*/
void fetchMediaLink(String id, Set addedDocuments, JSONArray data) throws ASSiteDataServiceException;
/**
* Returns all Scripts objects stored.
*/
List