Class EntityFormData

java.lang.Object
ch.tocco.nice2.netui.api.bind.entity.EntityFormData

@Deprecated public class EntityFormData extends Object
Deprecated.
Response object for loading form data based on an entity.

This response object is used for the good case, as well as for some special but expected cases: - object deleted [meanwhile] - ...?

  • Constructor Details

    • EntityFormData

      public EntityFormData(AbstractFieldInfo[] fieldInfos, long version, EntityDescriptor entityDescriptor)
      Deprecated.
      Parameters:
      version - The version of the primary record for which the form is.
  • Method Details

    • statusDeleted

      public static EntityFormData statusDeleted()
      Deprecated.
    • statusNoPermission

      public static EntityFormData statusNoPermission()
      Deprecated.
    • getStatus

      public EntityFormData.Status getStatus()
      Deprecated.
    • getFieldInfos

      @Nullable public @Nullable AbstractFieldInfo[] getFieldInfos()
      Deprecated.
      Returns:
      Not null if Status = OK.
    • getVersion

      public long getVersion()
      Deprecated.
    • getEntityDescriptor

      @Nullable public @Nullable EntityDescriptor getEntityDescriptor()
      Deprecated.
      Returns:
      Not null if Status = OK.