Package com.saperion.operations.lookup
Class CreateLookupEntry
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
-
- com.saperion.operations.LegacyOperation<java.lang.String>
-
- com.saperion.operations.lookup.CreateLookupEntry
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<java.lang.String,SaBasicException,LegacyConnection>,java.io.Serializable
@Deprecated public class CreateLookupEntry extends LegacyOperation<java.lang.String>
Deprecated.useCreateLookupEntryOperationinsteadAnOperationthat creates a lookup entry. Theinvoke()method will return a string containing the SYSROWID of the created entry.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateLookupEntry(java.lang.String ddc, java.util.Map<java.lang.String,java.lang.Object> props)Deprecated.Constructs a newoperationthat creates an entry in the given lookup-ddc with the given properties.CreateLookupEntry(java.lang.String ddc, java.util.Properties props)Deprecated.Constructs a newoperationthat creates an entry in the given lookup-ddc with the given properties.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType>convertObjectProperties(java.util.Map<java.lang.String,java.lang.Object> props)Deprecated.java.lang.StringgetDDC()Deprecated.java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType>getProperties()Deprecated.java.lang.Stringinvoke()Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class com.saperion.operations.LegacyOperation
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
-
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
-
-
-
-
Constructor Detail
-
CreateLookupEntry
public CreateLookupEntry(java.lang.String ddc, java.util.Map<java.lang.String,java.lang.Object> props)Deprecated.Constructs a newoperationthat 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:- text, unicode-text, etc :
String - integer-field : byte, short, int, long and any implementation of
Number(this includes the wrapper classes of the given primitive types) - float-field, currency : float, double and any implementation of
Number(this includes the wrapper classes of the given primitive types) - date, time, date-time :
CalendarandDate. Keep in mind thatDate,TimeandTimestampare subclasses ofDateand thus are accepted - boolean-field : boolean and
Boolean - multi value fields: arrays and implementations of
Listof the types accepted for the field - any field:
SaPropertyValueImpl
- Parameters:
ddc- the name of the lookup-ddc to add the entry in.props- properties of the new entry.
- text, unicode-text, etc :
-
CreateLookupEntry
public CreateLookupEntry(java.lang.String ddc, java.util.Properties props)Deprecated.Constructs a newoperationthat creates an entry in the given lookup-ddc with the given properties. For the types accepted in the properties seeCreateLookupEntry(String, java.util.Map)- Parameters:
ddc- the name of the lookup-ddc to add the entry in.props- properties of the new entry.
-
-
Method Detail
-
convertObjectProperties
public static java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> convertObjectProperties(java.util.Map<java.lang.String,java.lang.Object> props)
Deprecated.
-
invoke
public java.lang.String invoke() throws SaSystemExceptionDeprecated.- Throws:
SaSystemException
-
getDDC
public java.lang.String getDDC()
Deprecated.
-
getProperties
public java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> getProperties()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classcom.lexmark.saperion.remote.common.operations.AbstractOperation<java.lang.String,SaBasicException,LegacyConnection>
-
-