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 Link icon

    • NAME Link icon

      public static final String NAME
      Deprecated.
    • entityName Link icon

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

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

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

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

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

      @Nullable protected @Nullable String module
      Deprecated.
    • mainPrimaryKey Link icon

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

    • EntityNameSituation Link icon

      public EntityNameSituation()
      Deprecated.
  • Method Details Link icon

    • getEntityName Link icon

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

      public void setEntityName(String entityName)
      Deprecated.
    • getFormName Link icon

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

      public void setFormName(String formName)
      Deprecated.
    • getScope Link icon

      @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 Link icon

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

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

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

      public void setPlace(String place)
      Deprecated.
    • getScreen Link icon

      @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 Link icon

      public void setScreen(String screen)
      Deprecated.
    • toString Link icon

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

      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 Link icon

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

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

      public String getMainPrimaryKey()
      Deprecated.
    • setMainPrimaryKey Link icon

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