|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompassGpsInterfaceDevice
An extension to the CompassGps interface
which should be used by devices. Provides abstraction from the actual
Compass instances management.
| Method Summary | |
|---|---|
void |
executeForIndex(CompassCallback callback)
Executes the given callback for index operations. |
void |
executeForMirror(CompassCallback callback)
Executes the given callback for mirror operations. |
Compass |
getIndexCompass()
Returns the Compass instance used for indexing. |
Compass |
getMirrorCompass()
Returns the Compass instance used for mirroring. |
boolean |
hasMappingForEntityForIndex(Class clazz)
Returns true if there is mapping for the given class when
performing the index operation. |
boolean |
hasMappingForEntityForIndex(String name)
Returns true if there is mapping for the given name (alias
or class name) when performing the index operation. |
boolean |
hasMappingForEntityForMirror(Class clazz)
Returns true if there is mapping for the given class when
performing the mirror operation. |
boolean |
hasMappingForEntityForMirror(String name)
Returns true if there is mapping for the given name (alias
or class name) when performing the mirror operation. |
| Methods inherited from interface org.compass.gps.CompassGps |
|---|
addGpsDevice, index, isPerformingIndexOperation, isRunning, setGpsDevices, start, stop |
| Method Detail |
|---|
boolean hasMappingForEntityForMirror(Class clazz)
throws CompassException
true if there is mapping for the given class when
performing the mirror operation.
CompassException
boolean hasMappingForEntityForMirror(String name)
throws CompassException
true if there is mapping for the given name (alias
or class name) when performing the mirror operation.
CompassException
boolean hasMappingForEntityForIndex(Class clazz)
throws CompassException
true if there is mapping for the given class when
performing the index operation.
CompassException
boolean hasMappingForEntityForIndex(String name)
throws CompassException
true if there is mapping for the given name (alias
or class name) when performing the index operation.
CompassException
void executeForIndex(CompassCallback callback)
throws CompassException
CompassException
void executeForMirror(CompassCallback callback)
throws CompassException
CompassExceptionCompass getIndexCompass()
Compass instance used for indexing. Note that
no operations that will affect the index should be made using it, use
executeForIndex(CompassCallback) operation instead.
Compass getMirrorCompass()
Compass instance used for mirroring. Note that
no operations that will affect the index should be made using it, use
executeForMirror(CompassCallback) operation instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||