Interface DecoratedNavObject

All Known Implementing Classes:
DecoratedPlan, DecoratedPlan.DecoratedBranch, DecoratedResult

public interface DecoratedNavObject
Represents an item in the navigation context
  • Method Details

    • getKey

      @NotNull @NotNull String getKey()
      Returns:
      full key of the object
    • getDisplayName

      @NotNull @NotNull String getDisplayName()
      Returns:
      display name of this object
    • getNavGroups

      @NotNull @NotNull com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> getNavGroups()
      Returns:
      any children groups of this object
    • getParent

      @Nullable @Nullable DecoratedNavObject getParent()
      Returns:
      the parent of this object (does not take into account groups)
    • getPlanType

      @NotNull @NotNull PlanType getPlanType()
      Returns:
      plantype associated with this object.
    • getType

      @NotNull @NotNull String getType()
      Returns:
      plantype associated with this object.
    • isResult

      boolean isResult()
      Returns:
      true if the nav object represents a result otherwise false
    • getStatus

      @Nullable @Nullable DecoratedNavObjectStatus getStatus()
      Returns:
      provide the status of this object if applicable
    • replaceKey

      @Nullable @Nullable String replaceKey(String url, DecoratedNavObject originalObject)
      Given an existing url (may be directly from the originalObject or may be with a static ${planKey} reference) generate the new url for this object
      Parameters:
      url - - to manipulate
      originalObject - - the object the original url may have belonged to
      Returns:
      the new url referencing this object
    • getMaster

      @Nullable @Nullable PlanIdentifier getMaster()
      The master plan iff the plan is a branched plan and it has a master.
      Returns: