org.gvsig.tools.operations
Interface OperationManager

All Known Implementing Classes:
DefaultOperationManager

public interface OperationManager


Method Summary
 Operation getOperation(Class aClass, int code)
           
 Operation getOperation(Class aClass, String name)
           
 Operation getOperation(Object obj, int code)
           
 Operation getOperation(Object obj, String name)
           
 int getOperationCode(Class aClass, String name)
           
 boolean hasOperation(Class aClass, int code)
           
 boolean hasOperation(Class aClass, String name)
           
 boolean hasOperation(Object obj, int code)
           
 boolean hasOperation(Object obj, String name)
           
 Object invokeOperation(Object obj, int code, OperationContext context)
           
 Object invokeOperation(Object obj, String name, OperationContext context)
           
 int registerOperation(Operation operation, Class aClass)
           
 int registerOperation(Operation operation, Object obj)
           
 

Method Detail

getOperationCode

int getOperationCode(Class aClass,
                     String name)
                     throws OperationNotSupportedException
Throws:
OperationNotSupportedException

getOperation

Operation getOperation(Object obj,
                       String name)
                       throws OperationNotSupportedException
Throws:
OperationNotSupportedException

getOperation

Operation getOperation(Object obj,
                       int code)
                       throws OperationNotSupportedException
Throws:
OperationNotSupportedException

getOperation

Operation getOperation(Class aClass,
                       String name)
                       throws OperationNotSupportedException
Throws:
OperationNotSupportedException

getOperation

Operation getOperation(Class aClass,
                       int code)
                       throws OperationNotSupportedException
Throws:
OperationNotSupportedException

invokeOperation

Object invokeOperation(Object obj,
                       String name,
                       OperationContext context)
                       throws OperationException
Throws:
OperationException

invokeOperation

Object invokeOperation(Object obj,
                       int code,
                       OperationContext context)
                       throws OperationException
Throws:
OperationException

hasOperation

boolean hasOperation(Object obj,
                     String name)

hasOperation

boolean hasOperation(Object obj,
                     int code)

hasOperation

boolean hasOperation(Class aClass,
                     String name)

hasOperation

boolean hasOperation(Class aClass,
                     int code)

registerOperation

int registerOperation(Operation operation,
                      Object obj)

registerOperation

int registerOperation(Operation operation,
                      Class aClass)


Copyright © 2004-2011 gvSIG. All Rights Reserved.