Package com.saperion.operations.lookup
Class UpdateLookupEntry
java.lang.Object
com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
com.saperion.operations.LegacyOperation<com.lexmark.saperion.remote.common.operations.Void>
com.saperion.operations.VoidOperation
com.saperion.operations.lookup.UpdateLookupEntry
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,
,SaBasicException, LegacyConnection> Serializable
An
Operation
that updates a lookup entry.
The VoidOperation.invoke()
method has no return value.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateLookupEntry
(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String, Object> indexDataChanges) Constructs anoperation
that updates a lookup entry given by its reference.UpdateLookupEntry
(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String, Object> indexDataChanges, List<com.lexmark.saperion.administration.AclReferenceType> aclReferences) Constructs anoperation
that updates a lookup entry given by its reference.Constructs anoperation
that updates a lookup entry given by its id.UpdateLookupEntry
(String ddc, String id, Properties props) Constructs anoperation
that updates a lookup entry given by its id. -
Method Summary
Methods inherited from class com.saperion.operations.VoidOperation
afterInvoke, getResult, invoke
Methods inherited from class com.saperion.operations.LegacyOperation
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
toArrayList, toCaseInsensitiveMap, toHashMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.lexmark.saperion.remote.common.operations.Operation
audit, dispatchEvent, isAuditable, isEventDispatcher
-
Constructor Details
-
UpdateLookupEntry
Constructs anoperation
that updates a lookup entry given by its id. For the property types accepted seeCreateLookupEntry(String, Map)
- Parameters:
ddc
- the name of the lookup-ddc to update the entry in.id
- ID (SYSROWID) of the entry to updateprops
- properties to update
-
UpdateLookupEntry
Constructs anoperation
that updates a lookup entry given by its id. For the property types accepted seeCreateLookupEntry(String, Map)
- Parameters:
ddc
- the name of the lookup-ddc to update the entry in.id
- ID of the entry to updateprops
- properties to update
-
UpdateLookupEntry
public UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String, Object> indexDataChanges, List<com.lexmark.saperion.administration.AclReferenceType> aclReferences) Constructs anoperation
that updates a lookup entry given by its reference. For the property types accepted seeCreateLookupEntry(String, Map)
- Parameters:
reference
- a reference to the lookup entry to updateindexDataChanges
- the properties to changeaclReferences
- the new access control lists, or null if the access should not be changed
-
UpdateLookupEntry
public UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String, Object> indexDataChanges) Constructs anoperation
that updates a lookup entry given by its reference. It does not change the access to the lookup entry. For the property types accepted seeCreateLookupEntry(String, Map)
- Parameters:
reference
- a reference to the lookup entry to updateindexDataChanges
- the properties to change
-
-
Method Details
-
voidInvoke
Description copied from class:VoidOperation
Invokes this void operation.- Specified by:
voidInvoke
in classVoidOperation
- Throws:
Exception
- exception when invoking this operation
-
getReference
public com.lexmark.saperion.lookup.LookupEntryReferenceType getReference() -
getIndexDataChanges
-
getAclReferences
-
toString
- Overrides:
toString
in classcom.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,
SaBasicException, LegacyConnection>
-