|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIndexManagementWSResource
org.gcube.indexmanagement.fulltextindexmanagement.FullTextIndexManagementResource
public class FullTextIndexManagementResource
A class containing stateful information regarding one particular FullText index, along with methods needed to initiate and manage such an index.
Field Summary | |
---|---|
static java.lang.String |
RP_CONTENT_TYPE
|
static java.lang.String |
RP_INDEX_FORMAT
|
Constructor Summary | |
---|---|
FullTextIndexManagementResource()
|
Method Summary | |
---|---|
void |
changeIndexType(java.lang.String indexTypeID)
Changes the IndexType to the local IndexType with the specified ID |
void |
deleteCollection(java.lang.String collectionID)
Deletes a collection id to the collectionID resource property. |
java.lang.String |
getContentType()
Getter method for the ContentType Resource Property |
java.lang.String |
getIndexFormat()
Getter method for the IndexFormat Resource Property |
DeltaListManagementHandler |
getIndexManagerHandler()
Gets this resources delta list handler instance. |
java.lang.String |
getIndexType(java.lang.String indexTypeID)
Returns the IndexType identified by the specified IndexTypeID |
boolean |
isDeltaValid(DeltaFileInfoType info)
|
void |
onLoad(java.io.ObjectInputStream ois,
boolean firstLoad)
|
void |
onResourceRemoval()
|
void |
onStore(java.io.ObjectOutputStream oos)
|
void |
setContentType(java.lang.String contentType)
Setter method for the ContentType Resource Property |
void |
setIndexFormat(java.lang.String indexFormat)
Setter method for the IndexFormat 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_CONTENT_TYPE
public static final java.lang.String RP_INDEX_FORMAT
Constructor Detail |
---|
public FullTextIndexManagementResource()
Method Detail |
---|
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 getIndexFormat()
String
the requested IndexFormatpublic java.lang.String getContentType()
String
the requested ContentType identifierpublic java.lang.String getIndexType(java.lang.String indexTypeID) throws IndexException
indexTypeID
- String
the ID of the IndexType to return
String
XML representation of the requested IndexType
IndexException
public void setContentType(java.lang.String contentType)
indexID
- String
the new ContentTypepublic void changeIndexType(java.lang.String indexTypeID) throws IndexException
indexTypeID
- String
the id of the indexType to change to
IndexException
public void setIndexFormat(java.lang.String indexFormat)
indexFormat
- String
the new IndexFormatpublic void deleteCollection(java.lang.String collectionID)
collectionID
- String
-the ID to be addedpublic void onResourceRemoval()
public DeltaListManagementHandler getIndexManagerHandler()
DeltaListManagementHandler
the requested DeltaListManagementHandlerorg.gcube.indexmanagement.storagehandling.DeltaListManager
public boolean isDeltaValid(DeltaFileInfoType info) throws IndexException
IndexException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |