cds.simbad
Class SimbadUpdate
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
cds.simbad.Simbad
cds.simbad.SimbadQuery
cds.simbad.SimbadUpdate
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, SimbadInterface
- public class SimbadUpdate
- extends SimbadQuery
- implements SimbadInterface
Titre : SimbadUpdate.java
Description : Implementation de l'interface SimbadInterface
Copyright : Copyright (c) 2002
Société :
- Version:
- 1.0
- Author:
- Sylvaine Jaehn (Stage UTBM)
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.UnicastRemoteObject |
|
Fields inherited from class java.rmi.server.RemoteServer |
|
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
SimbadUpdate(java.lang.String database)
Constructor |
Method Summary |
int |
updateALink(byte type,
java.lang.String ident1,
java.lang.String ident2)
Gestion des liens associatifs |
int |
updateHLink(byte type,
java.lang.String identFather,
java.lang.String identSon)
Gestion des liens hierarchiques |
Methods inherited from class cds.simbad.SimbadQuery |
alink, autPosRef, bibcode, bibcodeRef, bibcodeRef, cat, cooboxParse, coord, coordParam, criteriaQuery, getMetadata, hlink, ident, oid, oidList, sqlQuery, titleRef |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cds.simbad.SimbadInterface |
alink, autPosRef, bibcode, bibcodeRef, cat, close, coord, coordParam, criteriaQuery, getMetadata, getParameterFile, hlink, ident, oid, oidList, open, open, sqlQuery, titleRef |
SimbadUpdate
public SimbadUpdate(java.lang.String database)
throws java.rmi.RemoteException
- Constructor
- Parameters:
database
- name of a database Parameters main file
- Throws:
java.rmi.RemoteException
- if RMI problem
updateHLink
public int updateHLink(byte type,
java.lang.String identFather,
java.lang.String identSon)
throws java.rmi.RemoteException,
SimbadException
- Gestion des liens hierarchiques
- Specified by:
updateHLink
in interface SimbadInterface
- Parameters:
type
- type de mise à jour (A : add, D : delete, U : update)identFather
- identificateur de l'objet pereidentSon
- identificateur de l'objet fils
- Returns:
- -1 si echec, un nombre positif ou declanche une exception
- Throws:
java.rmi.RemoteException
- if RMI problem
SimbadException
- if SIMBAD error somewhere
updateALink
public int updateALink(byte type,
java.lang.String ident1,
java.lang.String ident2)
throws java.rmi.RemoteException,
SimbadException
- Gestion des liens associatifs
- Specified by:
updateALink
in interface SimbadInterface
- Parameters:
type
- type de mise à jour (A : add, D : delete, U : update)ident1
- identificateur du 1er objetident2
- identificateur du 2e objet
- Returns:
- -1 si echec, un nombre positif ou declanche une exception
- Throws:
java.rmi.RemoteException
- if RMI problem
SimbadException
- if SIMBAD error somewhere