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

net.anotheria.anosite.gen.anoaccessconfiguration.service.IAnoAccessConfigurationService Maven / Gradle / Ivy

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

import java.util.List;
import net.anotheria.util.sorter.SortType;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.AccessOperation;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.Role;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.Permission;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.Constraint;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.ContextInitializer;
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 IAnoAccessConfigurationService extends ASGService{

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

	/**
	 * Returns all AccessOperations objects stored.
	 */
	List getAccessOperations() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all AccessOperations objects sorted by given sortType.
	 */
	List getAccessOperations(SortType sortType) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a AccessOperation object by id.
	 */
	void deleteAccessOperation(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a AccessOperation object.
	 */
	void deleteAccessOperation(AccessOperation accessoperation) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes multiple AccessOperation object.
	 */
	void deleteAccessOperations(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns the AccessOperation object with the specified id.
	 */
	AccessOperation getAccessOperation(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports a new AccessOperation object.
	 * Returns the created version.
	 */
	AccessOperation importAccessOperation(AccessOperation accessoperation) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports multiple new  AccessOperation object.
	 * Returns the created versions.
	 */
	List importAccessOperations(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates a new AccessOperation object.
	 * Returns the created version.
	 */
	AccessOperation createAccessOperation(AccessOperation accessoperation) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates multiple new AccessOperation objects.
	 * Returns the created versions.
	 */
	List createAccessOperations(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates a AccessOperation object.
	 * Returns the updated version.
	 */
	AccessOperation updateAccessOperation(AccessOperation accessoperation) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates multiple AccessOperation objects.
	 * Returns the updated versions.
	 */
	List updateAccessOperations(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all AccessOperation objects, where property with given name equals object.
	 */
	List getAccessOperationsByProperty(String propertyName, Object value) throws AnoAccessConfigurationServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnAccessOperations(DocumentQuery query) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all AccessOperation objects, where property matches.
	 */
	List getAccessOperationsByProperty(QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all AccessOperation objects, where property matches, sorted.
	 */
	List getAccessOperationsByProperty(SortType sortType, QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all AccessOperations count.
	 */
	int getAccessOperationsCount() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns AccessOperations objects segment.
	 */
	List getAccessOperations(Segment aSegment) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns AccessOperation objects segment, where property matches.
	 */
	List getAccessOperationsByProperty(Segment aSegment, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns AccessOperation objects segment, where property matches, sorted.
	 */
	List getAccessOperationsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportAccessOperationsToXML(List listAccessOperations)  throws AnoAccessConfigurationServiceException;

	/**
	 * Create json object list dependencies for this AccessOperation document.
	 */
	void fetchAccessOperation(String id, Set addedDocuments, JSONArray data) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Roles objects stored.
	 */
	List getRoles() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Roles objects sorted by given sortType.
	 */
	List getRoles(SortType sortType) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Role object by id.
	 */
	void deleteRole(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Role object.
	 */
	void deleteRole(Role role) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes multiple Role object.
	 */
	void deleteRoles(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns the Role object with the specified id.
	 */
	Role getRole(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports a new Role object.
	 * Returns the created version.
	 */
	Role importRole(Role role) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports multiple new  Role object.
	 * Returns the created versions.
	 */
	List importRoles(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates a new Role object.
	 * Returns the created version.
	 */
	Role createRole(Role role) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates multiple new Role objects.
	 * Returns the created versions.
	 */
	List createRoles(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates a Role object.
	 * Returns the updated version.
	 */
	Role updateRole(Role role) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates multiple Role objects.
	 * Returns the updated versions.
	 */
	List updateRoles(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Role objects, where property with given name equals object.
	 */
	List getRolesByProperty(String propertyName, Object value) throws AnoAccessConfigurationServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnRoles(DocumentQuery query) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Role objects, where property matches.
	 */
	List getRolesByProperty(QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Role objects, where property matches, sorted.
	 */
	List getRolesByProperty(SortType sortType, QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Roles count.
	 */
	int getRolesCount() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Roles objects segment.
	 */
	List getRoles(Segment aSegment) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Role objects segment, where property matches.
	 */
	List getRolesByProperty(Segment aSegment, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Role objects segment, where property matches, sorted.
	 */
	List getRolesByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportRolesToXML(List listRoles)  throws AnoAccessConfigurationServiceException;

	/**
	 * Create json object list dependencies for this Role document.
	 */
	void fetchRole(String id, Set addedDocuments, JSONArray data) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permissions objects stored.
	 */
	List getPermissions() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permissions objects sorted by given sortType.
	 */
	List getPermissions(SortType sortType) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Permission object by id.
	 */
	void deletePermission(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Permission object.
	 */
	void deletePermission(Permission permission) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes multiple Permission object.
	 */
	void deletePermissions(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns the Permission object with the specified id.
	 */
	Permission getPermission(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports a new Permission object.
	 * Returns the created version.
	 */
	Permission importPermission(Permission permission) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports multiple new  Permission object.
	 * Returns the created versions.
	 */
	List importPermissions(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates a new Permission object.
	 * Returns the created version.
	 */
	Permission createPermission(Permission permission) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates multiple new Permission objects.
	 * Returns the created versions.
	 */
	List createPermissions(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates a Permission object.
	 * Returns the updated version.
	 */
	Permission updatePermission(Permission permission) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates multiple Permission objects.
	 * Returns the updated versions.
	 */
	List updatePermissions(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permission objects, where property with given name equals object.
	 */
	List getPermissionsByProperty(String propertyName, Object value) throws AnoAccessConfigurationServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnPermissions(DocumentQuery query) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permission objects, where property matches.
	 */
	List getPermissionsByProperty(QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permission objects, where property matches, sorted.
	 */
	List getPermissionsByProperty(SortType sortType, QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Permissions count.
	 */
	int getPermissionsCount() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Permissions objects segment.
	 */
	List getPermissions(Segment aSegment) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Permission objects segment, where property matches.
	 */
	List getPermissionsByProperty(Segment aSegment, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Permission objects segment, where property matches, sorted.
	 */
	List getPermissionsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportPermissionsToXML(List listPermissions)  throws AnoAccessConfigurationServiceException;

	/**
	 * Create json object list dependencies for this Permission document.
	 */
	void fetchPermission(String id, Set addedDocuments, JSONArray data) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraints objects stored.
	 */
	List getConstraints() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraints objects sorted by given sortType.
	 */
	List getConstraints(SortType sortType) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Constraint object by id.
	 */
	void deleteConstraint(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a Constraint object.
	 */
	void deleteConstraint(Constraint constraint) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes multiple Constraint object.
	 */
	void deleteConstraints(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns the Constraint object with the specified id.
	 */
	Constraint getConstraint(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports a new Constraint object.
	 * Returns the created version.
	 */
	Constraint importConstraint(Constraint constraint) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports multiple new  Constraint object.
	 * Returns the created versions.
	 */
	List importConstraints(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates a new Constraint object.
	 * Returns the created version.
	 */
	Constraint createConstraint(Constraint constraint) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates multiple new Constraint objects.
	 * Returns the created versions.
	 */
	List createConstraints(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates a Constraint object.
	 * Returns the updated version.
	 */
	Constraint updateConstraint(Constraint constraint) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates multiple Constraint objects.
	 * Returns the updated versions.
	 */
	List updateConstraints(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraint objects, where property with given name equals object.
	 */
	List getConstraintsByProperty(String propertyName, Object value) throws AnoAccessConfigurationServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnConstraints(DocumentQuery query) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraint objects, where property matches.
	 */
	List getConstraintsByProperty(QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraint objects, where property matches, sorted.
	 */
	List getConstraintsByProperty(SortType sortType, QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all Constraints count.
	 */
	int getConstraintsCount() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Constraints objects segment.
	 */
	List getConstraints(Segment aSegment) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Constraint objects segment, where property matches.
	 */
	List getConstraintsByProperty(Segment aSegment, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns Constraint objects segment, where property matches, sorted.
	 */
	List getConstraintsByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportConstraintsToXML(List listConstraints)  throws AnoAccessConfigurationServiceException;

	/**
	 * Create json object list dependencies for this Constraint document.
	 */
	void fetchConstraint(String id, Set addedDocuments, JSONArray data) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializers objects stored.
	 */
	List getContextInitializers() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializers objects sorted by given sortType.
	 */
	List getContextInitializers(SortType sortType) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a ContextInitializer object by id.
	 */
	void deleteContextInitializer(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes a ContextInitializer object.
	 */
	void deleteContextInitializer(ContextInitializer contextinitializer) throws AnoAccessConfigurationServiceException;

	/**
	 * Deletes multiple ContextInitializer object.
	 */
	void deleteContextInitializers(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns the ContextInitializer object with the specified id.
	 */
	ContextInitializer getContextInitializer(String id) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports a new ContextInitializer object.
	 * Returns the created version.
	 */
	ContextInitializer importContextInitializer(ContextInitializer contextinitializer) throws AnoAccessConfigurationServiceException;

	/**
	 * Imports multiple new  ContextInitializer object.
	 * Returns the created versions.
	 */
	List importContextInitializers(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates a new ContextInitializer object.
	 * Returns the created version.
	 */
	ContextInitializer createContextInitializer(ContextInitializer contextinitializer) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates multiple new ContextInitializer objects.
	 * Returns the created versions.
	 */
	List createContextInitializers(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates a ContextInitializer object.
	 * Returns the updated version.
	 */
	ContextInitializer updateContextInitializer(ContextInitializer contextinitializer) throws AnoAccessConfigurationServiceException;

	/**
	 * Updates multiple ContextInitializer objects.
	 * Returns the updated versions.
	 */
	List updateContextInitializers(List list) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializer objects, where property with given name equals object.
	 */
	List getContextInitializersByProperty(String propertyName, Object value) throws AnoAccessConfigurationServiceException;

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

	/**
	 * Executes a query.
	 */
	QueryResult executeQueryOnContextInitializers(DocumentQuery query) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializer objects, where property matches.
	 */
	List getContextInitializersByProperty(QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializer objects, where property matches, sorted.
	 */
	List getContextInitializersByProperty(SortType sortType, QueryProperty... property) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns all ContextInitializers count.
	 */
	int getContextInitializersCount() throws AnoAccessConfigurationServiceException;

	/**
	 * Returns ContextInitializers objects segment.
	 */
	List getContextInitializers(Segment aSegment) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns ContextInitializer objects segment, where property matches.
	 */
	List getContextInitializersByProperty(Segment aSegment, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Returns ContextInitializer objects segment, where property matches, sorted.
	 */
	List getContextInitializersByProperty(Segment aSegment, SortType aSortType, QueryProperty... aProperty) throws AnoAccessConfigurationServiceException;

	/**
	 * Creates an xml element with selected contained data.
	 */
	XMLNode exportContextInitializersToXML(List listContextInitializers)  throws AnoAccessConfigurationServiceException;

	/**
	 * Create json object list dependencies for this ContextInitializer document.
	 */
	void fetchContextInitializer(String id, Set addedDocuments, JSONArray data) throws AnoAccessConfigurationServiceException;

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy