Class EntityNameSituation

java.lang.Object
ch.tocco.nice2.netui.spi.actions.EntityNameSituation
All Implemented Interfaces:
Situation, SituationWithEntityName, SituationWithFormName
Direct Known Subclasses:
EntitySituation

@Deprecated public class EntityNameSituation extends Object implements SituationWithEntityName, SituationWithFormName
Deprecated.
  • Field Details

    • NAME

      public static final String NAME
      Deprecated.
    • entityName

      protected String entityName
      Deprecated.
      The entity name, eg 'Address'. NOTE: entityName would have been the correct variable name - type has another meaning.
    • formName

      @Nullable protected @Nullable String formName
      Deprecated.
      The form name, eg 'Address' or 'PublicDmsResource'.
    • screen

      @Nullable protected @Nullable String screen
      Deprecated.
      For example 'explorer-main'.
    • scope

      @Nullable protected @Nullable String scope
      Deprecated.
      For example 'create'.
    • place

      protected String place
      Deprecated.
      Something like 'top toolbar' afaik.
    • module

      @Nullable protected @Nullable String module
      Deprecated.
    • mainPrimaryKey

      @Nullable protected @Nullable String mainPrimaryKey
      Deprecated.
  • Constructor Details

    • EntityNameSituation

      public EntityNameSituation()
      Deprecated.
  • Method Details

    • getEntityName

      public String getEntityName()
      Deprecated.
      Specified by:
      getEntityName in interface SituationWithEntityName
    • setEntityName

      public void setEntityName(String entityName)
      Deprecated.
    • getFormName

      @Nullable public @Nullable String getFormName()
      Deprecated.
      Specified by:
      getFormName in interface SituationWithFormName
    • setFormName

      public void setFormName(String formName)
      Deprecated.
    • getScope

      @Nullable public @Nullable String getScope()
      Deprecated.
      Description copied from interface: Situation
      Tells the scope for which this situation is. Example: 'update'.
      Specified by:
      getScope in interface Situation
      Returns:
      The scope in lower case, or null.
    • getScope

      public String getScope(String fallback)
      Deprecated.
      Specified by:
      getScope in interface Situation
    • setScope

      public void setScope(@Nullable @Nullable String scope)
      Deprecated.
    • getPlace

      public String getPlace()
      Deprecated.
      Description copied from interface: Situation
      Returns the place for the situation. Example: 'topToolbar'.
      Specified by:
      getPlace in interface Situation
    • setPlace

      public void setPlace(String place)
      Deprecated.
    • getScreen

      @Nullable public @Nullable String getScreen()
      Deprecated.
      Description copied from interface: Situation
      Tells the screen for which this situation is. Examples: 'explorer-main', 'explorer-relations', 'explorer-search', 'explorer-modal', 'home'.
      Specified by:
      getScreen in interface Situation
    • setScreen

      public void setScreen(String screen)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getName

      public String getName()
      Deprecated.
      Description copied from interface: Situation
      Tells the kind of situation it is, probably the class name.
      Specified by:
      getName in interface Situation
    • getModule

      @Nullable public @Nullable String getModule()
      Deprecated.
    • setModule

      public void setModule(@Nullable @Nullable String module)
      Deprecated.
    • getMainPrimaryKey

      public String getMainPrimaryKey()
      Deprecated.
    • setMainPrimaryKey

      public void setMainPrimaryKey(@Nullable @Nullable String mainPrimaryKey)
      Deprecated.