Package com.saperion.rmi.common
Interface SaRMISystemCommand
- All Superinterfaces:
Remote
RMI remote interface for the Saperion system commands.
The system commands are provided by the RMI server.
The system commands are provided by the RMI server.
- Author:
- rbo
-
Method Summary
Modifier and TypeMethodDescriptiongetAllACLs
(String mandant) Reads all existing ACL names.com.saperion.jni.SaJNIFeatures
Reads the features from backend.getFieldDescriptions
(String ddcName, String mandant) Reads the field descriptions for a given DDC.Returns the hibernate entity map.int
getLicenseCount
(int type) Read the licence count for the given user.Reads all locks from the given DDC.Reads all locks from the given DDC.int
getMandantIdForDDC
(String mandant, String ddcName) Reads the mandant ID for the given DDC.getRealDBName
(String ddcName, String field, String mandant) real table name for a given DDC.getSetting
(String key, String mandant) Reads the system settings for the given key.boolean
This method returns whether this java core server is already initialized or still in the process of start up.String[]
loadDDCNames
(String mandant) Retrieves the avaiable DDC names.String[]
loadFolderDDCNames
(String mandant) Retrieves the avaiable folder DDC names.loadSettings
(String section) Loads the settings from saperion.void
setSetting
(SaConstants.IniKind iniKind, String section, String name, String value) Sets a value with the given name, section and ini kind to backend profile.boolean
setUsedLicense
(int type, int count) Set the count of used licenses.
-
Method Details
-
loadSettings
Properties loadSettings(String section) throws RemoteException, com.lexmark.saperion.exceptions.system.BackendSystemException Loads the settings from saperion.- Parameters:
section
- Section in the archief.ini- Returns:
- Properties stored in programm.ini in this section
- Throws:
RemoteException
- Error on the saperion systemcom.lexmark.saperion.exceptions.system.BackendSystemException
-
setSetting
void setSetting(SaConstants.IniKind iniKind, String section, String name, String value) throws RemoteException Sets a value with the given name, section and ini kind to backend profile.- Parameters:
iniKind
- IniKindsection
- Sectionname
- Namevalue
- Value- Throws:
RemoteException
- Error on the saperion system
-
getSetting
Reads the system settings for the given key.- Parameters:
key
- Dot-delimited keymandant
- saperion mandant- Returns:
SaSystemSetting
- Throws:
RemoteException
- Error on the saperion system
-
isInitialized
This method returns whether this java core server is already initialized or still in the process of start up.- Returns:
- whether this java core server is already initialized or still in the process of start up
- Throws:
RemoteException
-
loadDDCNames
Retrieves the avaiable DDC names.- Parameters:
mandant
- saperion mandant number- Returns:
- Array of DDC names
- Throws:
RemoteException
- Error on the saperion system
-
loadFolderDDCNames
Retrieves the avaiable folder DDC names.- Parameters:
mandant
- saperion mandant number- Returns:
- Array of folder DDC names
- Throws:
RemoteException
- Error on the saperion system
-
getFieldDescriptions
Reads the field descriptions for a given DDC.- Parameters:
ddcName
- DDC namemandant
- internal saperion number of the current mandant- Returns:
- Array of field description objects
- Throws:
RemoteException
- Error on the saperion system
-
getRealDBName
real table name for a given DDC.- Parameters:
ddcName
- DDC namefield
- ddc fieldmandant
- internal saperion number of the current mandant- Returns:
- Array of field description objects
- Throws:
RemoteException
- Error on the saperion system
-
getHibernateEntitymap
Returns the hibernate entity map.- Returns:
- hibernate entity map
- Throws:
RemoteException
- Error on the saperion system
-
getLocks
Reads all locks from the given DDC.- Parameters:
ddcName
- DDC name- Returns:
- Locks as list
- Throws:
RemoteException
- Remote exception
-
getLocks
Reads all locks from the given DDC.- Parameters:
ddcName
- DDC namemandant
- internal saperion name of the current mandant- Returns:
- Locks as list
- Throws:
RemoteException
- Remote exception
-
getAllACLs
Reads all existing ACL names.- Parameters:
mandant
- internal saperion name of the current mandant- Returns:
- List of ACL names
- Throws:
RemoteException
- Remote exception
-
getSystemInfo
- Returns:
- System info
- Throws:
RemoteException
- Remote exception
-
getMandantIdForDDC
Reads the mandant ID for the given DDC.- Parameters:
mandant
- MandantddcName
- DDC- Returns:
- Mandant ID
- Throws:
RemoteException
- Remote exception
-
getFeatures
Reads the features from backend.- Returns:
- Features
- Throws:
RemoteException
- Remote exception
-
getLicenseCount
Read the licence count for the given user.- Parameters:
type
- Client type- Returns:
- License count
- Throws:
RemoteException
- Error on the saperion system
-
setUsedLicense
Set the count of used licenses.- Parameters:
type
- Client typecount
- Number of licenses- Returns:
- True, if it was possible
- Throws:
RemoteException
- Error on the saperion system
-