|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.pgvagent.core.soap.GenService
public class GenService
GenService handles communication with a PGV website using the PGV SOAP API.
| Field Summary | |
|---|---|
java.lang.String |
USER_AGENT
The PGV user agent string. |
| Constructor Summary | |
|---|---|
GenService(java.net.URL url)
Creates a GenService object for communication with the given PGV website. |
|
| Method Summary | |
|---|---|
AuthResult |
authenticate(java.lang.String user,
java.lang.String password,
java.lang.String gedcom)
Authenticates against the PGV website. |
protected org.apache.axis.client.Call |
createCall()
Creates a call for use in communicating with the PGV website. |
java.lang.String |
getGedcomRecord(java.lang.String sid,
java.lang.String pid)
Returns the record for the given GEDCOM ID. |
Person |
getPersonByID(java.lang.String sid,
java.lang.String pid)
Returns the record for the given person ID. |
ServiceInfoResult |
getServiceInfo()
Gets and returns the service info object. |
protected java.net.URL |
getServiceURL(java.net.URL url)
Returns the web services URL for the given PGV website URL |
java.net.URL |
getURL()
Returns the URL of the PGV website with which this GenService object communicates. |
SearchResult |
search(java.lang.String sid,
java.lang.String query,
int offset,
int limit)
Searches using the given search terms query, starting at the given offset and limited to the given number of results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String USER_AGENT
| Constructor Detail |
|---|
public GenService(java.net.URL url)
url - the URL of a PGV website| Method Detail |
|---|
public java.net.URL getURL()
protected java.net.URL getServiceURL(java.net.URL url)
url - a PGV website URL
public ServiceInfoResult getServiceInfo()
public AuthResult authenticate(java.lang.String user,
java.lang.String password,
java.lang.String gedcom)
user - a user namepassword - a passwordgedcom - the name of a GEDCOM file
public SearchResult search(java.lang.String sid,
java.lang.String query,
int offset,
int limit)
sid - the session IDquery - the queryoffset - the offsetlimit - the limit
public Person getPersonByID(java.lang.String sid,
java.lang.String pid)
sid - the session IDpid - the person ID
public java.lang.String getGedcomRecord(java.lang.String sid,
java.lang.String pid)
sid - the session IDpid - the record ID
protected org.apache.axis.client.Call createCall()
throws javax.xml.rpc.ServiceException
javax.xml.rpc.ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||