Interface UserServiceAssociationRecordFormFactory


public interface UserServiceAssociationRecordFormFactory
This interface defines a factory to create a UserService replacing the default record form in the context of an associated object to be created or accessed.

Definition in the data model

The factory must be declared under the element <osd:association>. For example:

 <xs:annotation>
   <xs:appinfo>
     <osd:association>
       <recordForm osd:class="com.foo.MyFactory"/>
       ...
     </osd:association>
   </xs:appinfo>
 </xs:annotation>
 
where com.foo.MyFactory is the fully qualified name of a class implementing this interface. The declaration may also use parameters:
 <recordForm class="com.foo.MyFactory">
        <param1>...</param1>
        <param2>...</param2>
 </recordForm>
 
where param1 and param2 are JavaBean properties of the com.foo.MyFactory class.

For more information, see the JavaBean specification.

Life cycle

  1. If the concrete factory is referenced by a data model element, then, when the data model is loaded:
    1. the specified factory class is instantiated through its default constructor and the setters of the JavaBean properties are called (in the example above, setParam1(...) and setParam2(...));
    2. then, the method setup(UserServiceAssociationRecordFormFactoryContext) is called for the new instance).
  2. During the operational phase: the method:

Since:
5.9.0
See Also: