|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIndexManagementWSResource
org.gcube.indexmanagement.geoindexmanagement.GeoIndexManagementResource
public class GeoIndexManagementResource
A class containing stateful information regarding one particular Geographical index, along with methods needed to initiate and manage such an index.
Field Summary | |
---|---|
static java.lang.String |
RP_GEOGRAPHICAL_SYSTEM
|
static java.lang.String |
RP_NUMBER_OF_DECIMALS
|
static java.lang.String |
RP_UNIT_OF_MEASUREMENT
|
Constructor Summary | |
---|---|
GeoIndexManagementResource()
|
Method Summary | |
---|---|
void |
addCollectionID(java.lang.String collectionID)
Adds a collection id to the collectionID resource property |
java.lang.String |
getGeographicalSystem()
Getter method for the GeographicalSystem Resource Property |
DeltaListManagementHandler |
getIndexManagerHandler()
Gets this resources delta list handler instance. |
java.lang.Integer |
getNumberOfDecimals()
Getter method for the NumberOfDecimals Resource Property |
java.lang.String |
getUnitOfMeasurement()
Getter method for the UnitOfMeasurement Resource Property |
void |
initialise(java.lang.Object... args)
This method is used to initialize the resource instance, and must be called before using the resource instance. |
boolean |
isDeltaValid(DeltaFileInfoType arg0)
|
void |
onLoad(java.io.ObjectInputStream ois,
boolean firstLoad)
|
void |
onResourceRemoval()
|
void |
onStore(java.io.ObjectOutputStream oos)
|
void |
setGeographicalSystem(java.lang.String geographicalSystem)
Setter method for the GeographicalSystem Resource Property |
void |
setNumberOfDecimals(java.lang.Integer numberOfDecimals)
Setter method for the NumberOfDecimals Resource Property |
void |
setUnitOfMeasurement(java.lang.String unitOfMeasurement)
Setter method for the UnitOfMeasurement Resource Property |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RP_GEOGRAPHICAL_SYSTEM
public static final java.lang.String RP_UNIT_OF_MEASUREMENT
public static final java.lang.String RP_NUMBER_OF_DECIMALS
Constructor Detail |
---|
public GeoIndexManagementResource()
Method Detail |
---|
public void initialise(java.lang.Object... args) throws java.lang.Exception
args[0]
- key GCUBEWSResourceKey
- the key of the resourceargs[1]
- indexID String
- the ID of the index to createargs[2]
- indexTypeID String
- the ID of the IndexType of the indexargs[3]
- collectionID String[]
- a list of IDs of the collections to be included in the indexargs[4]
- geographicalSystem String
- the geographical system used for the Index (WGS_1984, none...)args[5]
- unitOfMeasurement String
- the unit of measurement used in the Index (DD, DecimalDegrees, cm, CentiMeters...)args[6]
- numberOfDecimals Integer
- the maximum number of decimals in the coordinates of objects (usually 4 for decimal degrees).
java.lang.Exception
org.diligentproject.indexservice.fulltextindexlookup.impl.FullTextIndexLookupResourceHome
public void onStore(java.io.ObjectOutputStream oos) throws java.lang.Exception
java.lang.Exception
public void onLoad(java.io.ObjectInputStream ois, boolean firstLoad) throws java.lang.Exception
java.lang.Exception
public java.lang.String getGeographicalSystem()
String
the requested GeographicalSystem identifierpublic java.lang.String getUnitOfMeasurement()
String
the requested UnitOfMeasurementpublic java.lang.Integer getNumberOfDecimals()
Integer
the requested NumberOfDecimals valuepublic void addCollectionID(java.lang.String collectionID)
collectionID
- String
-the ID to be addedpublic void setGeographicalSystem(java.lang.String geographicalSystem)
indexID
- String
the new GeographicalSystem identifierpublic void setUnitOfMeasurement(java.lang.String unitOfMeasurement)
indexID
- String
the new UnitOfMeasurementpublic void setNumberOfDecimals(java.lang.Integer numberOfDecimals)
numberOfDecimals
- Integer
the new NumberOfDecimalspublic DeltaListManagementHandler getIndexManagerHandler()
DeltaListManagementHandler
the requested DeltaListManagementHandlerorg.diligentproject.indexservice.storagehandling.DeltaListManager
public void onResourceRemoval()
public boolean isDeltaValid(DeltaFileInfoType arg0) throws IndexException
IndexException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |