public class SaWsLookupService extends AbstractService
configured
Constructor and Description |
---|
SaWsLookupService()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
createEntry(int token,
String definition,
List<SaWsProperty> metadatas)
Creates a new lookup entry on the backend system with the given metadata
and content.
|
void |
deleteEntry(int token,
String definition,
String sysrowid)
Deletes a lookup entry from the backend system.
|
void |
updateEntry(int token,
String definition,
String sysrowid,
List<SaWsProperty> metadatas)
Updates a lookup entry in the backend system with the given metadata.
|
addToRequest, getConnection, getSession, isConfigured
public String createEntry(int token, String definition, List<SaWsProperty> metadatas) throws SaWsRepositoryException, SaWsAuthenticationException, SaWsDBException, SaWsException
token
- to identify the session.definition
- The name of the database definitionmetadatas
- A properties object containing the metadataSaWsAuthenticationException
- if an authentication error occurs.SaWsDBException
- if a database error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsException
- if a repository error occurs.SaClassicConnector.createLookupEntry(String,
Properties)
public void updateEntry(int token, String definition, String sysrowid, List<SaWsProperty> metadatas) throws SaWsRepositoryException, SaWsAuthenticationException, SaWsDBException, SaWsException
token
- to identify the session.definition
- The name of the database definitionsysrowid
- The ID of the lookup entry which should be udpatedmetadatas
- A properties object containing the metadataSaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsDBException
- if a database error occurs.SaWsException
SaClassicConnector.updateLookupEntry(String,
String, Properties)
public void deleteEntry(int token, String definition, String sysrowid) throws SaWsRepositoryException, SaWsAuthenticationException, SaWsDBException, SaWsException
token
- to identify the session.sysrowid
- sysrowid of the lookup entry in the databaseSaWsAuthenticationException
- if an authentication error occurs.SaWsDBException
- if a database error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsException
SaClassicConnector.deleteLookupEntry(String,
String)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.