public class SaRMISystemConnector extends Object
Constructor and Description |
---|
SaRMISystemConnector(SaRMIServerInfo serverInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllACLs(String mandant)
Reads all existing ACL names.
|
String |
getBrokerName() |
int |
getBrokerPort() |
SaFeature |
getFeatures() |
SaFieldDescription[] |
getFieldDescriptions(String ddcName,
String mandant) |
Map<String,SaFieldDescription[]> |
getFieldsDescriptionList()
ddc fields descriptions.
|
Map<String,String> |
getHibernateEntitymap()
The XML Hibernate configuration.
|
int |
getLicenseCount(int type)
Read the licence count for the given user.
|
int |
getMandantIdForDDC(String mandant,
String ddcName)
Reads the mandant ID.
|
String |
getRealDBName(String ddcName,
String field,
String mandant) |
Registry |
getRegistry() |
SaRMISystemCommand |
getSaSystemCommand()
Returns the system application instance.
|
SaRMIServerInfo |
getServerInfo() |
RMIClientSocketFactory |
getSocketFactory() |
SaSystemSetting |
getSystemSetting(String key,
String mandant)
Retrieves system settings based on a given key.
|
String[] |
loadDDCNames(String mandant) |
Properties |
loadSettings() |
Properties |
loadSettings(String section) |
void |
setStopped()
Set the info to stopped.
|
boolean |
setUsedLicense(int type,
int count)
Set the count of used licenses.
|
public SaRMISystemConnector(SaRMIServerInfo serverInfo) throws SaSystemException, com.lexmark.saperion.exceptions.system.BackendSystemException
serverInfo
- Server InfoSaSystemException
- SaRMICommandExceptioncom.lexmark.saperion.exceptions.system.BackendSystemException
public Map<String,SaFieldDescription[]> getFieldsDescriptionList()
public SaFieldDescription[] getFieldDescriptions(String ddcName, String mandant) throws RemoteException
ddcName
- DDC namemandant
- saperion mandant nameRemoteException
- Remote exceptionpublic String getRealDBName(String ddcName, String field, String mandant) throws RemoteException
ddcName
- DDC namefield
- field name.mandant
- saperion mandant nameRemoteException
- Remote exceptionpublic String[] loadDDCNames(String mandant) throws RemoteException
mandant
- saperion mandant nameRemoteException
- Remote exceptionpublic final SaSystemSetting getSystemSetting(String key, String mandant) throws RemoteException
key
- the keymandant
- MandantSaSystemSetting
RemoteException
- Error on the saperion systempublic Properties loadSettings() throws RemoteException, com.lexmark.saperion.exceptions.system.BackendSystemException
RemoteException
- Remote exceptioncom.lexmark.saperion.exceptions.system.BackendSystemException
public Properties loadSettings(String section) throws RemoteException, com.lexmark.saperion.exceptions.system.BackendSystemException
section
- SectionRemoteException
- Exceptioncom.lexmark.saperion.exceptions.system.BackendSystemException
public Map<String,String> getHibernateEntitymap() throws RemoteException
RemoteException
- The RemoteExceptionpublic SaRMISystemCommand getSaSystemCommand()
public List<String> getAllACLs(String mandant) throws RemoteException
mandant
- saperion mandant nameRemoteException
- Remote exceptionpublic int getMandantIdForDDC(String mandant, String ddcName) throws RemoteException
mandant
- Mandant nameddcName
- DDC nameRemoteException
- Remote exceptionpublic String getBrokerName()
public int getBrokerPort()
public RMIClientSocketFactory getSocketFactory()
public Registry getRegistry()
public void setStopped()
public SaRMIServerInfo getServerInfo()
public SaFeature getFeatures()
public int getLicenseCount(int type) throws RemoteException
type
- Client typeRemoteException
- Error on the saperion systempublic boolean setUsedLicense(int type, int count) throws RemoteException
type
- Client typecount
- Number of licensesRemoteException
- Error on the saperion systemCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.