Class SourceBoundControl<S extends Source<?>>

    • Constructor Detail

      • SourceBoundControl

        public SourceBoundControl()
    • Method Detail

      • getSource

        public S getSource()
                    throws PortalException
        Returns the source bound to to this source bound control.
        Returns:
        the source or null if this control is not bound to any source.
        Throws:
        PortalObjectNotFoundException - if the sourceId defined in the control does not exist.
        PortalException
        Since:
        10.4.0
      • getRuntimeDefaultSource

        protected Source<?> getRuntimeDefaultSource()
        Description copied from class: Control
        Returns default source to use in the context of the current control when evaluating runtime attributes.
        Overrides:
        getRuntimeDefaultSource in class Control
        Returns:
        the default source, or null if there is no source.