|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGCUBEWSResource
org.gcube.textextraction.TextExtractionJobControllerResource
public class TextExtractionJobControllerResource
A class containing stateful information regarding an OpenSearch adaptor.
Field Summary | |
---|---|
static java.lang.String |
RP_BATCHSIZE
|
static java.lang.String |
RP_DTS_INPUT_COLLECTION_ID
|
static java.lang.String |
RP_FTP_HOST
|
static java.lang.String |
RP_FTP_LOCATION_DIRECTORY
|
static java.lang.String |
RP_JOBS
|
static java.lang.String |
RP_NUMBER_OF_COMPLETED_JOBS
|
static java.lang.String |
RP_QUERY_TO_SUBMIT
|
static java.lang.String |
RP_REPOSITORY_ID
The list of standard resource properties defined by every OpenSearch WS resource |
static java.lang.String |
RP_REPOSITORY_NUMBER_OF_RECORDS
|
static java.lang.String |
RP_SERVLET_URI
|
static java.lang.String |
RP_STATUS
|
Constructor Summary | |
---|---|
TextExtractionJobControllerResource()
Empty constructor. |
Method Summary | |
---|---|
CancelResponse |
cancel(Cancel cancel)
Performs a query on the OpenSearch provider that is connected to this resource. |
int |
getBatchSize()
|
java.lang.String |
getDTSInputCollectionID()
Getter method for the DescriptionDocument Resource Property |
java.lang.String |
getFTPHost()
|
java.lang.String |
getFTPLocationDirectory()
Getter method for the DescriptionDocument Resource Property |
JobInfoType[] |
getJobs()
Getter method for the CollectionID list Resource Property |
int |
getNumberOfCompletedJobs()
Getter method for the DescriptionDocument Resource Property |
java.lang.String[] |
getPropertyNames()
Retrieves the property names |
java.lang.String |
getQueryToSubmit()
Getter method for the DescriptionDocument Resource Property |
java.lang.String |
getRepositoryID()
Getter method for the AdaptorID Resource Property |
int |
getRepositoryNumberOfRecords()
Getter method for the DescriptionDocument Resource Property |
GCUBEServiceContext |
getServiceContext()
|
java.lang.String |
getServletURI()
Getter method for the DescriptionDocument Resource Property |
java.lang.String |
getStatus()
Getter method for the DescriptionDocument Resource Property |
boolean |
isInitializing()
Returns the current initialization state of the resource |
void |
onResourceRemoval()
|
void |
setBatchSize(int bs)
|
void |
setDTSInputCollectionID(java.lang.String dtsInputCollectionID)
Setter method for the DescriptionDocument Resource Property |
void |
setFTPHost(java.lang.String ftpHostAddress)
|
void |
setFTPLocationDirectory(java.lang.String ftpLocationDirectory)
Setter method for the DescriptionDocument Resource Property |
void |
setIsInitializing(boolean isInitializing)
Specifies the current state of the resource (initializing or not) |
void |
setJobs(JobInfoType[] jobs)
|
void |
setNumberOfCompletedJobs(int numberOfCompletedJobs)
Setter method for the DescriptionDocument Resource Property |
void |
setQueryToSubmit(java.lang.String queryToSubmit)
Setter method for the DescriptionDocument Resource Property |
void |
setRepositoryID(java.lang.String repositoryID)
Setter method for the AdaptorID Resource Property |
void |
setRepositoryNumberOfRecords(int repositoryNumberOfRecords)
Setter method for the DescriptionDocument Resource Property |
void |
setServletURI(java.lang.String servletURI)
Setter method for the DescriptionDocument Resource Property |
void |
setStatus(java.lang.String status)
Setter method for the DescriptionDocument Resource Property |
StartResponse |
start(Start start)
Performs a query on the OpenSearch provider that is connected to this resource. |
void |
store()
|
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_REPOSITORY_ID
public static final java.lang.String RP_JOBS
public static final java.lang.String RP_QUERY_TO_SUBMIT
public static final java.lang.String RP_DTS_INPUT_COLLECTION_ID
public static final java.lang.String RP_STATUS
public static final java.lang.String RP_SERVLET_URI
public static final java.lang.String RP_FTP_LOCATION_DIRECTORY
public static final java.lang.String RP_REPOSITORY_NUMBER_OF_RECORDS
public static final java.lang.String RP_NUMBER_OF_COMPLETED_JOBS
public static final java.lang.String RP_FTP_HOST
public static final java.lang.String RP_BATCHSIZE
Constructor Detail |
---|
public TextExtractionJobControllerResource()
Method Detail |
---|
public java.lang.String[] getPropertyNames()
public boolean isInitializing()
public void setIsInitializing(boolean isInitializing)
isInitializing
- the initialization state to setpublic void store()
public java.lang.String getRepositoryID()
String
the requested adaptorIDpublic void setRepositoryID(java.lang.String repositoryID)
collectorJobID
- String
the new AdaptorIDpublic JobInfoType[] getJobs()
String[]
the requested CollectionIDspublic void setJobs(JobInfoType[] jobs)
jobs
- public java.lang.String getDTSInputCollectionID()
String
the requested DescriptionDocumentURIpublic void setDTSInputCollectionID(java.lang.String dtsInputCollectionID) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic java.lang.String getFTPLocationDirectory()
String
the requested DescriptionDocumentURIpublic java.lang.String getFTPHost()
public int getBatchSize()
public void setFTPLocationDirectory(java.lang.String ftpLocationDirectory) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic void setBatchSize(int bs) throws java.lang.Exception
java.lang.Exception
public void setFTPHost(java.lang.String ftpHostAddress) throws java.lang.Exception
java.lang.Exception
public int getRepositoryNumberOfRecords()
String
the requested DescriptionDocumentURIpublic void setRepositoryNumberOfRecords(int repositoryNumberOfRecords) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic int getNumberOfCompletedJobs()
String
the requested DescriptionDocumentURIpublic void setNumberOfCompletedJobs(int numberOfCompletedJobs) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic java.lang.String getQueryToSubmit()
String
the requested DescriptionDocumentURIpublic void setQueryToSubmit(java.lang.String queryToSubmit) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic java.lang.String getServletURI()
String
the requested DescriptionDocumentURIpublic void setServletURI(java.lang.String servletURI) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic java.lang.String getStatus()
String
the requested DescriptionDocumentURIpublic void setStatus(java.lang.String status) throws java.lang.Exception
descriptionDocumentURI
- String
the new DescriptionDocumentURI
java.lang.Exception
- In case of errorpublic StartResponse start(Start start) throws java.rmi.RemoteException
queryString
- String
- the query to be performed (using custom
syntax @see )
URI
- representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
- In case of error
EnvironmentValidationException
public CancelResponse cancel(Cancel cancel) throws java.rmi.RemoteException
queryString
- String
- the query to be performed (using custom
syntax @see )
URI
- representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
- In case of errorpublic GCUBEServiceContext getServiceContext()
public void onResourceRemoval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |