Previous Topic: Endpoint Object Update

Next Topic: Update Operation Testing

Updating an Object

Implementing the modify operation involves extending AbstractAttributeStyleProcessor (or a class deriving from it) and implementing the following method:

implementing AttributeStyle

    public void doModify(ObjectInfo objInfo, 
                         ModificationItem[] items)
            throws NamingException

Note: For more information, see com/ca/jcs/processor/OpProcessor.html#doModify(com.ca.jcs.ObjectInfo,%20javax.naming.directory.ModificationItem[]) and the SDK Sample connector for a complete sample implementation.

And for method-style involves implementing:

Implementing OpBindingsProcessor

    void doUpdate(OpBindingType opBinding,
                  ObjectInfo info, 
                  Map parameterValues) 
            throws NamingException;

Note: See the add operation for descriptions of the missing parameters. For further information about these parameters, see the JCS Javadoc.


Copyright © 2009 CA. All rights reserved.