Package com.saperion.operations.lookup
Class CreateLookupEntry
java.lang.Object
com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
  
- All Implemented Interfaces:
- com.lexmark.saperion.remote.common.operations.Operation<String,,- SaBasicException, - LegacyConnection> - Serializable
Deprecated.
An 
Operation that creates a lookup entry. The invoke() method will return a
 string containing the SYSROWID of the created entry.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreateLookupEntry(String ddc, Map<String, Object> props) Deprecated.Constructs a newoperationthat creates an entry in the given lookup-ddc with the given properties.CreateLookupEntry(String ddc, Properties props) Deprecated.Constructs a newoperationthat creates an entry in the given lookup-ddc with the given properties.
- 
Method SummaryMethods inherited from class com.saperion.operations.LegacyOperationbeforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapExceptionMethods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperationafterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.lexmark.saperion.remote.common.operations.Operationaudit, dispatchEvent, isAuditable, isEventDispatcher
- 
Constructor Details- 
CreateLookupEntryDeprecated.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 : 
- 
CreateLookupEntryDeprecated.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 Details- 
convertObjectPropertiespublic static Map<String,com.lexmark.saperion.PropertyType> convertObjectProperties(Map<String, Object> props) Deprecated.
- 
invokeDeprecated.- Throws:
- SaSystemException
 
- 
getDDCDeprecated.
- 
getPropertiesDeprecated.
- 
toStringDeprecated.- Overrides:
- toStringin class- com.lexmark.saperion.remote.common.operations.AbstractOperation<String,- SaBasicException, - LegacyConnection> 
 
 
- 
CreateLookupEntryOperationinstead