org.gcube.informationsystem.publisher.scope
Class DefaultScopeValidator<R>

java.lang.Object
  extended by org.gcube.informationsystem.publisher.scope.DefaultScopeValidator<R>
All Implemented Interfaces:
Validator<org.gcube.common.resources.gcore.Resource>

public class DefaultScopeValidator<R>
extends Object
implements Validator<org.gcube.common.resources.gcore.Resource>


Constructor Summary
DefaultScopeValidator()
           
 
Method Summary
<R extends org.gcube.common.resources.gcore.Resource>
void
checkScopeCompatibility(R resource, List<String> scopesList)
           
 Class type()
           
<R extends org.gcube.common.resources.gcore.Resource>
void
validate(R resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScopeValidator

public DefaultScopeValidator()
Method Detail

validate

public <R extends org.gcube.common.resources.gcore.Resource> void validate(R resource)
Specified by:
validate in interface Validator<org.gcube.common.resources.gcore.Resource>

type

public Class type()
Specified by:
type in interface Validator<org.gcube.common.resources.gcore.Resource>

checkScopeCompatibility

public <R extends org.gcube.common.resources.gcore.Resource> void checkScopeCompatibility(R resource,
                                                                                          List<String> scopesList)
Specified by:
checkScopeCompatibility in interface Validator<org.gcube.common.resources.gcore.Resource>


Copyright © 2014. All Rights Reserved.