com.bea.content.controls.extensible
Annotation Type CmxControl.FindBy


@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface CmxControl.FindBy

Method-level annotation for methods in a @ControlExtension which wish to find CM nodes using an expression.


Annotation Type Required Member Summary
 String expression
          The FindBy expression to send to CM SearchOps.
 
Annotation Type Optional Member Summary
 String beanType
          A String containing the canonical name of the class that serves as the primary bean/valueObject.
 Class nodeMapper
           
 boolean removeResults
          Execute the FindBy expression, then remove the corresponding results Optional element, defaults to false.
 

Annotation Type Member Detail

expression

public abstract String expression
The FindBy expression to send to CM SearchOps. Required annotation element

beanType

public abstract String beanType
A String containing the canonical name of the class that serves as the primary bean/valueObject. Optional element (must be set to enable return types of generic collections of beans)

Default
""

removeResults

public abstract boolean removeResults
Execute the FindBy expression, then remove the corresponding results Optional element, defaults to false.

Default
false

nodeMapper

public abstract Class nodeMapper
Default
com.bea.content.nodemappers.UndefinedNodeMapper.class


Copyright © 2006 BEA Systems, Inc. All Rights Reserved