Class ComponentBehaviors


  • public class ComponentBehaviors
    extends Object
    Specific behavior of a WA component. Such behavior denotes a specific and transverse mechanism in Silverpeas. When a WA component support a behavior, then Silverpeas bootstraps for each instance of this component the related mechanism. For a glance of the behaviors available in Silverpeas, see ComponentBehavior enum.
    • Constructor Detail

      • ComponentBehaviors

        public ComponentBehaviors()
    • Method Detail

      • getBehavior

        public List<ComponentBehavior> getBehavior()
        Gets the value of the behavior property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the behavior property.

        For example, to add a new item, do as follows:

            getBehavior().add(newItem);
         

        Objects of the following type(s) are allowed in the list ComponentBehavior