Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@133112 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b19903340d
commit
a5f78df1eb
|
@ -1,6 +1,8 @@
|
||||||
package org.gcube.informationsystem.resourceregistry;
|
package org.gcube.informationsystem.resourceregistry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
|
*/
|
||||||
public class Constants {
|
public class Constants {
|
||||||
|
|
||||||
public static final String SERVICE_CLASS = "InformationSystem";
|
public static final String SERVICE_CLASS = "InformationSystem";
|
||||||
|
|
|
@ -9,8 +9,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.context.Conte
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface ContextManagement {
|
public interface ContextManagement {
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.FacetN
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.ResourceNotFoundException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.ResourceNotFoundException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface EntityManagement {
|
public interface EntityManagement {
|
||||||
|
|
|
@ -6,7 +6,7 @@ package org.gcube.informationsystem.resourceregistry.api;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface Query {
|
public interface Query {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.schema.Schema
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service Endpoint Interface
|
* Service Endpoint Interface
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
* For JSON schema see
|
* For JSON schema see
|
||||||
* http://orientdb.com/docs/last/OrientDB-REST.html#class
|
* http://orientdb.com/docs/last/OrientDB-REST.html#class
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class InternalException extends ResourceRegistryException {
|
public class InternalException extends ResourceRegistryException {
|
||||||
|
|
|
@ -2,7 +2,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class InvalidQueryException extends ResourceRegistryException {
|
public class InvalidQueryException extends ResourceRegistryException {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface NotAllowedException {
|
public interface NotAllowedException {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface ObjectNotFound {
|
public interface ObjectNotFound {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ResourceRegistryException extends Exception {
|
public class ResourceRegistryException extends Exception {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class ContextCreationException extends ContextException {
|
public class ContextCreationException extends ContextException {
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ContextException extends ResourceRegistryException {
|
public class ContextException extends ResourceRegistryException {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ContextMoveException extends ContextException {
|
public class ContextMoveException extends ContextException {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.context;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ContextNotFoundException extends ContextException implements ObjectNotFound {
|
public class ContextNotFoundException extends ContextException implements ObjectNotFound {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.entity;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class EntityException extends ResourceRegistryException {
|
public class EntityException extends ResourceRegistryException {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.entity;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class FacetNotFoundException extends EntityException implements ObjectNotFound {
|
public class FacetNotFoundException extends EntityException implements ObjectNotFound {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFoun
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ResourceNotFoundException extends ContextException implements ObjectNotFound {
|
public class ResourceNotFoundException extends ContextException implements ObjectNotFound {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.schema;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SchemaException extends ResourceRegistryException {
|
public class SchemaException extends ResourceRegistryException {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.schema;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.ObjectNotFound;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SchemaNotFoundException extends SchemaException implements ObjectNotFound {
|
public class SchemaNotFoundException extends SchemaException implements ObjectNotFound {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.rest;
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class AccessPath {
|
public class AccessPath {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.rest;
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class ContextPath {
|
public class ContextPath {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.rest;
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class EntityPath {
|
public class EntityPath {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.api.rest;
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class SchemaPath {
|
public class SchemaPath {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue