Class ControlFactory


  • @VelocityVariable("ControlFactory")
    @VelocityCallable("instance")
    public final class ControlFactory
    extends Object

    Convention:

    • Methods with a create prefix will always create a new object.
    • Methods with a get prefix will create a new object, or might return a previously created object if this is appropriate.

    • Constructor Summary

      Constructors 
      Constructor Description
      ControlFactory​(de.uplanet.lucy.server.scripting.velocity.callables.IInternalControlFactory p_internalControlFactory)
      Create a control factory with a control factory delegate.
    • Constructor Detail

      • ControlFactory

        public ControlFactory​(de.uplanet.lucy.server.scripting.velocity.callables.IInternalControlFactory p_internalControlFactory)
        Create a control factory with a control factory delegate.
        Parameters:
        p_internalControlFactory - The delegate.
    • Method Detail

      • getSearchTabControl

        public VCSearchTabControl getSearchTabControl()
        Get the search tab control.
        Returns:
        The search tab control.
      • getFileWalkerControl

        public de.uplanet.lucy.server.auxiliaries.IVCFileWalkerControl getFileWalkerControl​(de.uplanet.lucy.server.IProcessingContext p_ctx,
                                                                                            String p_strControlGuid)
        Get the file walker control.
        Parameters:
        p_ctx - The processing context.
        p_strControlGuid - The control GUID.
        Returns:
        The file walker control.
      • getTagCloudControl

        public de.uplanet.lucy.server.auxiliaries.IVCTagCloudControl getTagCloudControl​(de.uplanet.lucy.server.IProcessingContext p_ctx,
                                                                                        String p_strControlGuid)
        Get the tag cloud control.
        Parameters:
        p_ctx - The processing context.
        p_strControlGuid - The control GUID.
        Returns:
        The tag cloud control.
      • getTaggingControl

        public de.uplanet.lucy.server.auxiliaries.IVCTaggingControl getTaggingControl​(de.uplanet.lucy.server.IProcessingContext p_ctx,
                                                                                      String p_strControlGuid)
        Get the tagging control.
        Parameters:
        p_ctx - The processing context.
        p_strControlGuid - The control GUID.
        Returns:
        The tagging control.
      • getHashtagControl

        public de.uplanet.lucy.server.auxiliaries.IVCHashtagControl getHashtagControl​(de.uplanet.lucy.server.IProcessingContext p_ctx,
                                                                                      String p_strControlGuid)
        Get the hashtag control.
        Parameters:
        p_ctx - The processing context.
        p_strControlGuid - The control GUID.
        Returns:
        The hashtag control.
      • getDefaultControlTypeFromFieldType

        public de.uplanet.lucy.types.CONTROL_TYPE getDefaultControlTypeFromFieldType​(de.uplanet.lucy.types.UP_TYPE p_fieldType)

        Note: This method is for internal use only. It will be removed in the next Intrexx version.

        Parameters:
        p_fieldType - The field type.
        Returns:
        The default control type.