|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.sap.mw.jco.JCO.BasicRepository
|
+--com.sap.mw.jco.JCO.Repository
Implementation of the SAP system repository. The repository queries a remote SAP system(s) for function interfaces and/or structure definitions.
In order to retrieve the necessary information from the SAP system's data dictionary, the repository needs to call a number of RFMs for which the access rights have to be granted (Authorization Object: S_RFC, ACTVT: 16, FUGR).
| R/3 Release | Function Groups |
|---|---|
| since 3.1H | RFC1, SG00, SRFC, SUNI, SYST |
| since 4.0A | RFC1, SDIF, SG00, SRFC, SYST, SYSU, SUNI |
| since 4.6A | RFC1, SDIF, SG00, SRFC, SYST, SYSU |
| since 4.6D | RFC1, SDIFRUNTIME, SG00, SRFC, SYST, SYSU |
| Constructor Summary | |
JCO.Repository(java.lang.String name,
JCO.Client client)
Creates a new SAP system repository |
|
JCO.Repository(java.lang.String name,
java.lang.String pool_name)
Creates a new SAP system repository |
|
JCO.Repository(java.lang.String name,
java.lang.String[] pool_names)
Creates a new SAP system repository |
|
| Method Summary | |
IMetaData |
getFunctionInterface(java.lang.String function_name)
Returns the meta data for the specified function |
java.lang.String[] |
getPoolNames()
Returns the array of pool names |
IMetaData |
getStructureDefinition(java.lang.String structure_name)
Returns the meta data for the specified structure. |
IMetaData |
queryFunctionInterface(JCO.Client client,
java.lang.String name)
Queries the function meta data for the passed function name. |
IMetaData |
queryStructureDefinition(JCO.Client client,
java.lang.String name)
Queries the meta data for the structure with the specified name. |
IMetaData |
queryTableDefinition(JCO.Client client,
java.lang.String name)
Queries the meta data for the table with the specified the name. |
void |
setName(java.lang.String name)
Sets the repository name |
void |
setPoolNames(java.lang.String[] pool_names)
Sets the array of pool names |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sap.mw.jco.IRepository |
addFunctionInterfaceToCache, addStructureDefinitionToCache, getCachedFunctionInterfaces, getCachedStructureDefinitions, getFunctionTemplate, getName, getNextRepository, getTableDefinition, load, removeFunctionInterfaceFromCache, removeStructureDefinitionFromCache, save, setNextRepository |
| Constructor Detail |
public JCO.Repository(java.lang.String name,
java.lang.String pool_name)
name - the name of the repositorypool_name - the name of the pool
public JCO.Repository(java.lang.String name,
java.lang.String[] pool_names)
name - the name of the repositorypool_names - the array of pool names
public JCO.Repository(java.lang.String name,
JCO.Client client)
name - the name of the repositoryclient - the client to use| Method Detail |
public void setName(java.lang.String name)
name - the name of the repositorypublic java.lang.String[] getPoolNames()
public void setPoolNames(java.lang.String[] pool_names)
pool_names - the new array of pool namespublic IMetaData getFunctionInterface(java.lang.String function_name)
getFunctionInterface in interface IRepositorygetFunctionInterface in class JCO.BasicRepositoryfunction_name - the name of the function for which the meta data
is being returned.JCO.Exception - if an error occurred during the retrieval
of the function interface.public IMetaData getStructureDefinition(java.lang.String structure_name)
getStructureDefinition in interface IRepositorygetStructureDefinition in class JCO.BasicRepositorystructure_name - the name of the structure for which the meta data
is being returned.JCO.Exception - if an error occurred during the retrieval
of the data structure definition.
public final IMetaData queryFunctionInterface(JCO.Client client,
java.lang.String name)
client - the client connection to the remote SAP system.name - the name of the function for which the meta data should be returned.JCO.Exception - if either the function interface could not be found
or another error occurred during the query.
public final IMetaData queryStructureDefinition(JCO.Client client,
java.lang.String name)
client - the client connection to the remote SAP system.name - the name of the structure for which the meta data should be returned.JCO.Exception - if either the data structure definition could not
be found or another error occurred during the query.
public final IMetaData queryTableDefinition(JCO.Client client,
java.lang.String name)
client - the client connection to the remote SAP system.name - the table name for which the meta data should be returned.JCO.Exception - if either the table definition could not
be found or another error occurred during the query.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||