Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.server.metaproject
Interface Policy

All Known Implementing Classes:
  PolicyImpl

    public interface Policy

Method Summary
`Set<Operation>` | `getAllowedOperations(User user, ProjectInstance project)`
`ServerInstance` | `getFirstServerInstance()`
`Set<Operation>` | `getKnownOperations()`
`ProjectInstance` | `getProjectInstanceByName(String projectName)`
`ServerInstance` | `getServerInstanceByName(String serverName)`
`User` | `getUserByName(String user)`
`boolean` | `isOperationAuthorized(User user, Operation op, PolicyControlledObject project)`

Method Detail

### isOperationAuthorized

    boolean isOperationAuthorized(User user,
                                  Operation op,
                                  PolicyControlledObject project)

### getAllowedOperations

    Set<Operation> getAllowedOperations(User user,
                                        ProjectInstance project)

### getKnownOperations

    Set<Operation> getKnownOperations()

### getUserByName

    User getUserByName(String user)

### getProjectInstanceByName

    ProjectInstance getProjectInstanceByName(String projectName)

### getServerInstanceByName

    ServerInstance getServerInstanceByName(String serverName)

### getFirstServerInstance

    ServerInstance getFirstServerInstance()

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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