com.ca.jcs.assoc
Interface AssocDirectAttributeOpProcessor

All Superinterfaces:
Activatable, AssocAttributeOpProcessor, AttributeStyleOpProcessor, OpProcessor
All Known Implementing Classes:
AbstractAttributeStyleOpProcessorAssocDirect, DefaultAssocAttributeOpProcessor, DefaultAssocDirectAttributeOpProcessor, JDBCAttributeStyleOpProcessor, JNDIAttributeStyleOpProcessor, NestedAssocDirectAttributeOpProcessor, ORAAttributeStyleOpProcessor, SDKAttributeStyleOpProcessor, SDKWSAttributeStyleOpProcessor, StubDirectAssocAttributeStyleOpProcessor

public interface AssocDirectAttributeOpProcessor
extends AssocAttributeOpProcessor

Interface to be implemented by classes derived from AttributeStyleOpProcessor which need to deal with "direct" associations, where the associative link between two objects is stored directly on one of the objects. This implies the runtime cost incurred is cheap in one direction and a much slower lookup of a computed virtual attribute in the other direction.

See Also:
Association

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ca.jcs.processor.OpProcessor
OpProcessor.MethodName
 
Method Summary
 NamingEnumeration<SearchResult> doAssocSearchForReferencesTo(ObjectInfo targetObjInfo, Association assoc, boolean targetDefinedAssoc, MetaConnector connector)
           
 void doAssocUpdateReferencesTo(ObjectInfo targetObjInfo, Name newConnDn, MetaConnector connector)
           
 void updateAttrAssocs(ObjectInfo objInfo, int modOp, Association assoc, Attribute attr)
           
 
Methods inherited from interface com.ca.jcs.assoc.AssocAttributeOpProcessor
addAttrAssocs, doDeleteAssocs, doLookupAssocs, doModifyAssocs, doModifyRnAssocs, doMoveAssocs, doSearchAssocs, removeAttrAssocs
 
Methods inherited from interface com.ca.jcs.processor.AttributeStyleOpProcessor
activate, deactivate, doLookupExpensiveStub, getMetaData, setMetaData
 
Methods inherited from interface com.ca.jcs.processor.OpProcessor
doAdd, doDelete, doLookUp, doModify, doModifyRn, doMove, doSearch
 

Method Detail

doAssocSearchForReferencesTo

@OpBindingMethod(operation=ASSOC_SEARCH_FOR_REFERENCES_TO)
NamingEnumeration<SearchResult> doAssocSearchForReferencesTo(ObjectInfo targetObjInfo,
                                                                                                                    Association assoc,
                                                                                                                    boolean targetDefinedAssoc,
                                                                                                                    MetaConnector connector)
                                                             throws NamingException
Throws:
NamingException

doAssocUpdateReferencesTo

@OpBindingMethod(operation=ASSOC_UPDATE_REFERENCES_TO)
void doAssocUpdateReferencesTo(ObjectInfo targetObjInfo,
                                                                                  Name newConnDn,
                                                                                  MetaConnector connector)
                               throws NamingException
Throws:
NamingException

updateAttrAssocs

@OpBindingMethod(operation=MODIFY_UPDATE_ATTRS_ASSOCS)
void updateAttrAssocs(ObjectInfo objInfo,
                                                                         int modOp,
                                                                         Association assoc,
                                                                         Attribute attr)
                      throws NamingException
Throws:
NamingException


Created 2011-07-14 13:27 EST