|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
RMI Interface describing the methods implemented in the Simbad class and its subclasses (SimbadQuery and SimbadUpdate) on the server side
| Method Summary | |
java.lang.Object |
alink(long oid)
Recherche de tous les objets associes a un objet (lien associatif) |
java.lang.Object |
autPosRef(java.lang.String author,
int pos)
Recuperation de la reference bibliographique a partir d'un auteur et de sa position |
java.lang.Object |
bibcode(java.lang.String bibcode)
Interrogation par reference bibliographique |
Reference |
bibcodeRef(java.lang.String bibcode)
Recuperation de la reference bibliographique associee a un bibcode |
java.lang.Object |
cat(java.lang.String catName)
Interrogation par catalogue |
void |
close()
Fermeture de la connexion a la base de donnees |
AstrobjectList |
coord(java.lang.String coord,
java.lang.Double radius)
Interrogation par coordonnees (centre et rayon) |
java.lang.Object |
coordParam(java.lang.String coord,
double radius,
java.lang.String data,
float limitInf,
float limitSup)
Interrogation par coordonnees (centre, rayon) et critere |
java.lang.Object |
criteriaQuery(java.lang.String criteriaList)
Interrogation par criteres |
java.util.ArrayList |
getMetadata()
Recuperation des metadonnees (tables et colonnes) pour les interrogations par requete SQL libre |
java.lang.String |
getParameterFile()
Acces a l'URL du fichier de parametres principal |
java.lang.Object |
hlink(long oid)
Recherche des fils d'un objet (lien hierarchique) |
java.lang.Object |
ident(java.lang.String ident,
int type)
Interrogation par identificateur |
java.lang.Object |
oid(long oid)
Interrogation par oid |
AstrobjectList |
oidList(java.util.ArrayList oidlist)
Retourne les objets astronomiques correspondants aux oids contenus dans une liste |
boolean |
open()
Etablissement de la connexion avec l'utilisateur par defaut |
boolean |
open(java.lang.String user,
java.lang.String passwd)
Etablissement de la connexion avec l'utilisateur specifie |
java.lang.Object |
sqlQuery(java.lang.String sqlQuery,
java.lang.String strSelect)
Interrogation de la base par une requete SQL formulee par l'utilisateur |
java.lang.Object |
titleRef(java.util.ArrayList titleWords,
java.lang.String op)
Recuperation de la reference bibliographique a partir des mots du titre |
int |
updateALink(byte type,
java.lang.String identFather,
java.lang.String identSon)
MOD-BB 04/12/03 modification du type du paraùètre "type" char->byte (A cause d'axis !) |
int |
updateHLink(byte type,
java.lang.String identFather,
java.lang.String identSon)
MOD-BB 04/12/03 modification du type du parametre "type" char->byte (A cause d'axis !) |
| Method Detail |
public boolean open()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI problem
public boolean open(java.lang.String user,
java.lang.String passwd)
throws java.rmi.RemoteException
user - utilisateur de la basepasswd - mot de passe d'acces a la base
java.rmi.RemoteException - if RMI problem
public java.lang.String getParameterFile()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI problem
public void close()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI problem
public java.util.ArrayList getMetadata()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI problem
public java.lang.Object oid(long oid)
throws java.rmi.RemoteException,
SimbadException
oid - oid de l'objet astronomique
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object ident(java.lang.String ident,
int type)
throws java.rmi.RemoteException,
SimbadException
ident - identificateur de l'objet astronomiquetype - type d'interrogation (0 : ident complet, 1 : expr reguliere, 2 : like)
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object cat(java.lang.String catName)
throws java.rmi.RemoteException,
SimbadException
catName - nom du catalogue
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public AstrobjectList oidList(java.util.ArrayList oidlist)
throws java.rmi.RemoteException
oidlist - liste d'oid
java.rmi.RemoteException - if RMI problem
public AstrobjectList coord(java.lang.String coord,
java.lang.Double radius)
throws java.rmi.RemoteException,
SimbadException
coord - coordonnees du centre sous forme de chaine de caracteresradius - rayon en degres
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object coordParam(java.lang.String coord,
double radius,
java.lang.String data,
float limitInf,
float limitSup)
throws java.rmi.RemoteException,
SimbadException
coord - coordonnees du centre sous forme de chaine de caracteresradius - rayon en degresdata - criterelimitInf - valeur minimale du criterelimitSup - valeur maximale du critere
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object bibcode(java.lang.String bibcode)
throws java.rmi.RemoteException,
SimbadException
bibcode - reference bibliographique dans laquelle apparaissent les objets astronomiques recherches
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public Reference bibcodeRef(java.lang.String bibcode)
throws java.rmi.RemoteException,
SimbadException
bibcode - bibcode dont on veut la reference bibliographique entiere
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object autPosRef(java.lang.String author,
int pos)
throws java.rmi.RemoteException,
SimbadException
author - auteur d'une reference bibliographiquepos - position dans laquelle l'auteur apparaît dans la reference bibliographique
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object titleRef(java.util.ArrayList titleWords,
java.lang.String op)
throws java.rmi.RemoteException,
SimbadException
titleWords - liste des mots du titreop - operateur de liaison : ou / et / "" (si pas de liaison)
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object hlink(long oid)
throws java.rmi.RemoteException,
SimbadException
oid - oid de l'objet dont on recherche les fils
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object alink(long oid)
throws java.rmi.RemoteException,
SimbadException
oid - oid de l'objet dont on recherche les objets associes
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object sqlQuery(java.lang.String sqlQuery,
java.lang.String strSelect)
throws java.rmi.RemoteException,
SimbadException
sqlQuery - requete SQLstrSelect - champs figurants de la partie "select" de la requête
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public java.lang.Object criteriaQuery(java.lang.String criteriaList)
throws java.rmi.RemoteException,
SimbadException
criteriaList - liste de criteres (criteres de la forme critere=valeur
separes par un point virgule)
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public int updateHLink(byte type,
java.lang.String identFather,
java.lang.String identSon)
throws java.rmi.RemoteException,
SimbadException
type - type de mise à jour (A : add, D : delete, U : update)identFather - identificateur du 1er objetidentSon - identificateur du 2e objet
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
public int updateALink(byte type,
java.lang.String identFather,
java.lang.String identSon)
throws java.rmi.RemoteException,
SimbadException
type - type de mise à jour (A : add, D : delete, U : update)identFather - identificateur de l'objet pereidentSon - identificateur de l'objet fils
java.rmi.RemoteException - if RMI problem
SimbadException - if Simbad error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||