|
||||||||||
| 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. |
ResourceMapping |
getMappingForEntityForIndex(Class clazz)
Returns the mapping for the given class name when performing the index operation. |
ResourceMapping |
getMappingForEntityForIndex(String name)
Returns the mapping of the given name (alias or class name) when performing the index operation. |
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,
CascadeMapping.Cascade cascade)
Returns true if there is mapping for the given class when
performing the mirror operation. |
boolean |
hasMappingForEntityForMirror(String name,
CascadeMapping.Cascade cascade)
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, index, index, index, isPerformingIndexOperation, isRunning, setGpsDevices, start, stop |
| Method Detail |
|---|
boolean hasMappingForEntityForMirror(Class clazz,
CascadeMapping.Cascade cascade)
throws CompassException
true if there is mapping for the given class when
performing the mirror operation.
CompassException
boolean hasMappingForEntityForMirror(String name,
CascadeMapping.Cascade cascade)
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
ResourceMapping getMappingForEntityForIndex(String name)
throws CompassException
CompassException
ResourceMapping getMappingForEntityForIndex(Class clazz)
throws CompassException
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 | |||||||||