|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
nesstar.rdf.RDFObject
nesstar.api.Server
nesstar.api.ServerEx
nesstar.api.common.Server
public class Server
Code automatically generated from ARGO/UML
| Field Summary | |
|---|---|
static String |
CLASS_ID
|
| Fields inherited from class nesstar.rdf.RDFObject |
|---|
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP |
| Constructor Summary | |
|---|---|
Server(RDFDB db,
URL id)
Create an object with the indicated id in the indicated db |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all properties of this object |
RDFRef |
get_acuCatalog()
|
RDFRef |
get_homes()
|
String |
get_securePort()
|
RDFRef |
get_statEngine()
|
Catalog |
getAcuCatalog()
|
static Vector |
getAllInstances()
|
static Vector |
getAllInstances(RDFDB db)
|
static FeatureDescriptor |
getDescriptor(String featureName)
get the descriptor for a feature of the class, either method or attribute Note: the methods' feature are still not implemented |
static Collection |
getGetterMethods()
|
Bookmark |
GetHome(URL classURL)
|
RDFObject |
GetHome(URL classURL,
BasicExecutorLog log)
|
List |
getHomes()
|
static Server |
getInstance(RDFDB db,
URL id)
If an object of type Server with the indicated id exists in the db returns it otherwise create a new object in the db and returns it |
static Server |
getInstance(String rdf)
|
Bookmark |
GetOrphans(String classURL)
Return all the orphans of the indicated class present in the server. |
List |
GetOrphans(String classURL,
BasicExecutorLog log)
Return all the orphans of the indicated class present in the server. |
static Collection |
getPartsDescriptor()
|
Integer |
getSecurePort()
|
NSDStatEngine |
getStatEngine()
|
Bookmark |
Import(File file)
|
void |
Import(File file,
BasicExecutorLog log)
|
void |
initialised()
Notify that the object has been created and its properties setup for the first time. |
static void |
listenForNewObj(NewObjListener listener)
Register to be notified when new objects are added. |
static Server |
newInstance(RDFDB db)
Create a new object of this type with a locally unique id and returns it |
Bookmark |
PathsTo(RDFObject to)
Return a list of paths that lead from the server to the 'to' object. |
String |
PathsTo(RDFObject to,
BasicExecutorLog log)
Return a list of paths that lead from the server to the 'to' object. |
static Server |
retrieve(URL id)
If an object of type Server with the indicated id has already being retrieved from the network returns it otherwise retrieve it together with its class information (methods, properties, etc.) |
void |
set_acuCatalog(RDFRef acuCatalog)
|
void |
set_homes(RDFRef homes)
|
void |
set_securePort(String securePort)
|
void |
set_statEngine(RDFRef statEngine)
|
void |
setAcuCatalog(Catalog acuCatalog)
|
void |
setHomes(List homes)
|
void |
setSecurePort(Integer securePort)
|
void |
setStatEngine(NSDStatEngine statEngine)
|
Bookmark |
XSLTransform(String file,
String MIMEType,
String parameters,
String xslFile)
Does ... |
String |
XSLTransform(String file,
String MIMEType,
String parameters,
String xslFile,
BasicExecutorLog log)
Does ... |
| Methods inherited from class nesstar.api.ServerEx |
|---|
dbg, getAllCatalogs, getAllCatalogs, getAllServersAndCatalogs, oldGetCatalogs, reloadCatalogs |
| Methods inherited from class nesstar.api.Server |
|---|
get_catalogs, get_debug, get_port, get_revision, get_services, get_version, getCatalogs, getDebug, GetFile, GetFile, getPort, GetReport, GetReport, getRevision, getServices, getVersion, Login, Login, Reboot, Reboot, SaveFile, SaveFile, SaveWebFile, SaveWebFile, set_catalogs, set_debug, set_port, set_revision, set_services, set_version, setCatalogs, setDebug, setPort, setRevision, setServices, setVersion, Shutdown, Shutdown, Update, Update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String CLASS_ID
| Constructor Detail |
|---|
public Server(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be createdid - the id of the object to create
Exception| Method Detail |
|---|
public void set_statEngine(RDFRef statEngine)
statEngine -
public void setStatEngine(NSDStatEngine statEngine)
throws Exception
statEngine -
Exceptionpublic void set_acuCatalog(RDFRef acuCatalog)
acuCatalog -
public void setAcuCatalog(Catalog acuCatalog)
throws Exception
acuCatalog -
Exception
public void setHomes(List homes)
throws Exception
homes -
Exceptionpublic void set_homes(RDFRef homes)
homes - public void setSecurePort(Integer securePort)
securePort - public void set_securePort(String securePort)
securePort -
public static Vector getAllInstances(RDFDB db)
throws Exception
db - the db where the instances are to be found
Exception
public static Vector getAllInstances()
throws Exception
Exception
public static Server getInstance(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be found or createdid - the id of the object to retrieve or create
Exception
public static Server getInstance(String rdf)
throws Exception
rdf - some rdf code that contains a description of an object of this kind
Exception
public RDFRef get_statEngine()
throws Exception
Exceptionpublic NSDStatEngine getStatEngine()
public RDFRef get_acuCatalog()
throws Exception
Exceptionpublic Catalog getAcuCatalog()
public List getHomes()
throws Exception
Exception
public RDFRef get_homes()
throws Exception
Exceptionpublic Integer getSecurePort()
public String get_securePort()
throws Exception
Exception
public Bookmark GetHome(URL classURL)
throws Exception
classURL -
Exception
public RDFObject GetHome(URL classURL,
BasicExecutorLog log)
throws Exception
classURL - log - the Executor of this method;if null a default one is used
Exception
public Bookmark GetOrphans(String classURL)
throws Exception
Return all the orphans of the indicated class present in the server. An orphan is an object that has not parents (e.g. Catalogs that are not children of the Server or of another Catalog or Studies that are not children of a Catalog).
classURL - the full URL of the class of the orphan objects
Exception
public List GetOrphans(String classURL,
BasicExecutorLog log)
throws Exception
Return all the orphans of the indicated class present in the server. An orphan is an object that has not parents (e.g. Catalogs that are not children of the Server or of another Catalog or Studies that are not children of a Catalog).
classURL - the full URL of the class of the orphan objectslog - the Executor of this method;if null a default one is used
Exceptionpublic static FeatureDescriptor getDescriptor(String featureName)
featureName - public static Collection getPartsDescriptor()
public static Collection getGetterMethods()
public static Server newInstance(RDFDB db)
throws Exception
db - the db where the object is to be found or created
Exceptionpublic static void listenForNewObj(NewObjListener listener)
listener - the listenerpublic void initialised()
initialised in class Server
public static Server retrieve(URL id)
throws Exception
id - the id of the object to retrieve
Exceptionpublic void clear()
RDFObject
clear in class Server
public Bookmark Import(File file)
throws Exception
file -
Exception
public void Import(File file,
BasicExecutorLog log)
throws Exception
file - log - the Executor of this method;if null a default one is used
Exception
public Bookmark XSLTransform(String file,
String MIMEType,
String parameters,
String xslFile)
throws Exception
Does ...
file - URL of the file to be transformed (can be absolute or
relative)
parameters - the parameters used by the xsl file, if any
xslFile - the xsl file describing the transformation
MIMEType -
Exception
public String XSLTransform(String file,
String MIMEType,
String parameters,
String xslFile,
BasicExecutorLog log)
throws Exception
Does ...
file - URL of the file to be transformed (can be absolute or
relative)
parameters - the parameters used by the xsl file, if any
xslFile - the xsl file describing the transformation
MIMEType - log - the Executor of this method;if null a default one is used
Exception
public Bookmark PathsTo(RDFObject to)
throws Exception
Return a list of paths that lead from the server to the 'to' object. A path is a sequence of property traversals. For example catalogs[1].children[2].children[3] is a path that leads from the root down to the first catalog and then to the third child of the second catalog's subcatalog.
to -
Exception
public String PathsTo(RDFObject to,
BasicExecutorLog log)
throws Exception
Return a list of paths that lead from the server to the 'to' object. A path is a sequence of property traversals. For example catalogs[1].children[2].children[3] is a path that leads from the root down to the first catalog and then to the third child of the second catalog's subcatalog.
to - log - the Executor of this method;if null a default one is used
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||