Protege 3.3.1

edu.stanford.smi.protege.server.metaproject.impl
Class PolicyImpl

java.lang.Object
  extended by edu.stanford.smi.protege.server.metaproject.impl.PolicyImpl
All Implemented Interfaces:
Policy

public class PolicyImpl
extends Object
implements Policy


Constructor Summary
PolicyImpl(MetaProjectImpl mp)
           
 
Method Summary
 Set<Operation> getAllowedOperations(UserInstance user, MetaProjectInstance project)
           
 Set<Operation> getKnownOperations()
           
 boolean isOperationAuthorized(UserInstance user, Operation op, MetaProjectInstance project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyImpl

public PolicyImpl(MetaProjectImpl mp)
Method Detail

isOperationAuthorized

public boolean isOperationAuthorized(UserInstance user,
                                     Operation op,
                                     MetaProjectInstance project)
Specified by:
isOperationAuthorized in interface Policy

getAllowedOperations

public Set<Operation> getAllowedOperations(UserInstance user,
                                           MetaProjectInstance project)
Specified by:
getAllowedOperations in interface Policy

getKnownOperations

public Set<Operation> getKnownOperations()
Specified by:
getKnownOperations in interface Policy

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.