Class ClassificationAdminHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class ClassificationAdminHandler extends JcmsFormHandler
  • Field Details

    • levelLabels

      protected String[] levelLabels
    • levelLabelsMLMap

      protected HashMap<String,String[]> levelLabelsMLMap
    • levelColors

      protected String[] levelColors
    • levelDescriptions

      protected String[] levelDescriptions
    • levelDescriptionsMLMap

      protected HashMap<String,String[]> levelDescriptionsMLMap
  • Constructor Details

    • ClassificationAdminHandler

      public ClassificationAdminHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class JcmsFormHandler
    • processAction

      public boolean processAction() throws IOException
      Description copied from class: JcmsFormHandler
      Method to be implemented to check/validate action to be performed and process them.

      Default implementation is to return false. No need to call super method.

      This method may NOT be invoked at all if security validation are not met.

      You must ensure your handler and JSP can work properly without any code invoked in this method.

      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • setOpSave

      public void setOpSave(String opSave)
    • getCoreFeatures

      public Set<ClassifiedFeature> getCoreFeatures()
    • getPluginFeatures

      public Set<ClassifiedFeature> getPluginFeatures()
    • getAllFeatures

      public Set<ClassifiedFeature> getAllFeatures()
    • getFeatureParamName

      public String getFeatureParamName(ClassifiedFeature feat)
    • getCoreConstraints

      public Set<ClassifiedConstraint> getCoreConstraints()
    • getPluginConstraints

      public Set<ClassifiedConstraint> getPluginConstraints()
    • getAllConstraints

      public Set<ClassifiedConstraint> getAllConstraints()
    • getConstraintParamName

      public String getConstraintParamName(ClassifiedConstraint cons)
    • getDisabledFeatures

      public Set<ClassifiedFeature> getDisabledFeatures(int auditedLevel)
    • getEnabledFeatures

      public Set<ClassifiedFeature> getEnabledFeatures(int auditedLevel)
    • getRequiredConstraints

      public Set<ClassifiedConstraint> getRequiredConstraints(int auditedLevel)
    • getOptionalConstraints

      public Set<ClassifiedConstraint> getOptionalConstraints(int auditedLevel)
    • setClassificationEnabled

      public void setClassificationEnabled(boolean val)
    • getAvailableClassificationEnabled

      public boolean getAvailableClassificationEnabled()
    • setClassificationMemberClearanceEnabled

      public void setClassificationMemberClearanceEnabled(boolean val)
    • getAvailableClassificationMemberClearanceEnabled

      public boolean getAvailableClassificationMemberClearanceEnabled()
    • setClassificationLevelLabels

      public void setClassificationLevelLabels(String... labels)
    • getAvailableClassificationLevelColor

      public String getAvailableClassificationLevelColor(int level)
    • getAvailableClassificationLevelDescriptions

      public Map<String,String> getAvailableClassificationLevelDescriptions(int level)
    • getAvailableClassificationLevelLabels

      public Map<String,String> getAvailableClassificationLevelLabels(int level)
    • getAvailableClassificationLevelLabels

      public Map<String,String[]> getAvailableClassificationLevelLabels()
    • setClassificationLevelColors

      public void setClassificationLevelColors(String... colors)
    • getAvailableClassificationLevelColors

      public List<String> getAvailableClassificationLevelColors()
    • setClassificationLevelDescriptions

      public void setClassificationLevelDescriptions(String... descriptions)
    • getAvailableClassificationLevelDescriptions

      public Map<String,String[]> getAvailableClassificationLevelDescriptions()
    • getLevel

      public int getLevel()
    • setLevel

      public void setLevel(int level)
    • getMaximumLevel

      public int getMaximumLevel()
    • getClassificationLevelPath

      public String getClassificationLevelPath(int level)
    • getAvailableBaselineLevel

      public int getAvailableBaselineLevel()
    • setBaselineLevel

      public void setBaselineLevel(int level)
    • getBaselineSettings

      public EnumerateSettings getBaselineSettings()