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>,java.io.Serializable
public class UpdateLookupEntry extends VoidOperation
AnOperationthat updates a lookup entry. TheVoidOperation.invoke()method has no return value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, java.util.Map<java.lang.String,java.lang.Object> indexDataChanges)Constructs anoperationthat updates a lookup entry given by its reference.UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, java.util.Map<java.lang.String,java.lang.Object> indexDataChanges, java.util.List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)Constructs anoperationthat updates a lookup entry given by its reference.UpdateLookupEntry(java.lang.String ddc, java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> props)Constructs anoperationthat updates a lookup entry given by its id.UpdateLookupEntry(java.lang.String ddc, java.lang.String id, java.util.Properties props)Constructs anoperationthat updates a lookup entry given by its id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.lexmark.saperion.administration.AclReferenceType>getAclReferences()java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType>getIndexDataChanges()com.lexmark.saperion.lookup.LookupEntryReferenceTypegetReference()java.lang.StringtoString()protected voidvoidInvoke()Invokes this void operation.-
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
-
-
-
-
Constructor Detail
-
UpdateLookupEntry
public UpdateLookupEntry(java.lang.String ddc, java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> props)Constructs anoperationthat 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
public UpdateLookupEntry(java.lang.String ddc, java.lang.String id, java.util.Properties props)Constructs anoperationthat 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, java.util.Map<java.lang.String,java.lang.Object> indexDataChanges, java.util.List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)Constructs anoperationthat 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, java.util.Map<java.lang.String,java.lang.Object> indexDataChanges)Constructs anoperationthat 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 Detail
-
voidInvoke
protected void voidInvoke() throws java.lang.ExceptionDescription copied from class:VoidOperationInvokes this void operation.- Specified by:
voidInvokein classVoidOperation- Throws:
java.lang.Exception- exception when invoking this operation
-
getReference
public com.lexmark.saperion.lookup.LookupEntryReferenceType getReference()
-
getIndexDataChanges
public java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> getIndexDataChanges()
-
getAclReferences
public java.util.List<com.lexmark.saperion.administration.AclReferenceType> getAclReferences()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classcom.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
-
-