Class ControlFactory

java.lang.Object
de.uplanet.lucy.server.auxiliaries.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.
  • Method Summary

    Modifier and Type
    Method
    Description
    de.uplanet.lucy.types.CONTROL_TYPE
    getDefaultControlTypeFromFieldType(de.uplanet.lucy.types.UP_TYPE p_fieldType)
    Note: This method is for internal use only.
    de.uplanet.lucy.server.auxiliaries.IVCFileWalkerControl
    getFileWalkerControl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strControlGuid)
    Get the file walker control.
    de.uplanet.lucy.server.auxiliaries.IVCHashtagControl
    getHashtagControl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strControlGuid)
    Get the hashtag control.
    Get the search tab control.
    de.uplanet.lucy.server.auxiliaries.IVCTagCloudControl
    getTagCloudControl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strControlGuid)
    Get the tag cloud control.
    de.uplanet.lucy.server.auxiliaries.IVCTaggingControl
    getTaggingControl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strControlGuid)
    Get the tagging control.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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.