CreateLookupEntryOperation
instead@Deprecated public class CreateLookupEntry extends LegacyOperation<String>
Operation
that creates a lookup entry. The invoke()
method will return a
string containing the SYSROWID of the created entry.Constructor and Description |
---|
CreateLookupEntry(String ddc,
Map<String,Object> props)
Deprecated.
Constructs a new
operation that creates an entry in the given
lookup-ddc with the given properties. |
CreateLookupEntry(String ddc,
Properties props)
Deprecated.
Constructs a new
operation that creates an entry in the given
lookup-ddc with the given properties. |
Modifier and Type | Method and Description |
---|---|
static Map<String,com.lexmark.saperion.PropertyType> |
convertObjectProperties(Map<String,Object> props)
Deprecated.
|
String |
getDDC()
Deprecated.
|
Map<String,com.lexmark.saperion.PropertyType> |
getProperties()
Deprecated.
|
String |
invoke()
Deprecated.
|
String |
toString()
Deprecated.
|
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
public CreateLookupEntry(String ddc, Map<String,Object> props)
operation
that creates an entry in the given
lookup-ddc with the given properties. For a given ddc-field the accepted java types depend on the type of the field:
String
Number
(this includes
the wrapper classes of the given primitive types)Number
(this includes
the wrapper classes of the given primitive types)Calendar
and Date
. Keep in mind that
Date
, Time
and Timestamp
are subclasses of
Date
and thus are acceptedBoolean
List
of the types accepted for the fieldSaPropertyValueImpl
ddc
- the name of the lookup-ddc to add the entry in.props
- properties of the new entry.public CreateLookupEntry(String ddc, Properties props)
operation
that creates an entry in the given
lookup-ddc with the given properties. For the types accepted in the properties see
CreateLookupEntry(String, java.util.Map)
ddc
- the name of the lookup-ddc to add the entry in.props
- properties of the new entry.public static Map<String,com.lexmark.saperion.PropertyType> convertObjectProperties(Map<String,Object> props)
public String invoke() throws SaSystemException
SaSystemException
public String getDDC()
public String toString()
toString
in class com.lexmark.saperion.remote.common.operations.AbstractOperation<String,SaBasicException,LegacyConnection>
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.