Class AbstractResponseDTO

java.lang.Object
de.aeb.xnsg.foundation.bf.AbstractResponseDTO
Direct Known Subclasses:
AcknowledgeEventsResponseDTO, AcknowledgePublishedDataTransferPackagesResponseDTO, CreateClientFromTemplateResponseDTO, ExternalTMResponseDTO, ExternalTMStatusResponseDTO, GetClientFeaturesResponseDTO, GetCreateClientFromTemplateStatusResponseDTO, GetPartnerSystemSubscriptionsResponseDTO, GetPublishedDataTransferPackageResponseDTO, GetRolesResponseDTO, SetClientFeaturesResponseDTO, SetSyncEventResponseDTO, SubscribePartnerSystemResponseDTO, SyncEventsResponseDTO, UnsubscribePartnerSystemResponseDTO

public class AbstractResponseDTO extends Object
Abstract DTO superclass with typical response data
  • Field Details

    • INVALID_DATA_ERROR

      public static final String INVALID_DATA_ERROR
      Possible messageIdentCode: "INVALID_DATA_ERROR": One of the ident codes send was not recognized by the engine.
      See Also:
    • INVALID_DATA_WARNING

      public static final String INVALID_DATA_WARNING
      Possible messageIdentCode: "INVALID_DATA_WARNING": One of the ident codes send was not recognized by the engine, but this was not treated as an error.
      See Also:
    • INTERNAL_SERVER_ERROR

      public static final String INTERNAL_SERVER_ERROR
      Possible messageIdentCode: "INTERNAL_SERVER_ERROR": An unexpected exception occured when handling the request, e.g. a database transaction failure.
      See Also:
    • LOCK_ERROR

      public static final String LOCK_ERROR
      Possible messageIdentCode: "LOCK_ERROR": A locking problem happened. Typically this error is retryable. (See also hasOnlyRetryableErrors).
      See Also:
    • I18N_WARNING

      public static final String I18N_WARNING
      Possible messageIdentCode: "I18N_WARNING": One of the resultLanguageIsoCodes was not supported, so there are missing languages in ResponseMessageDTO.messageTexts
      See Also:
    • EMPTY_MANDATORY_FIELD

      public static final String EMPTY_MANDATORY_FIELD
      Possible messageIdentCode: "EMPTY_MANDATORY_FIELD " : One ore more of the mandatory fields are empty.
      See Also:
    • hasErrors

      public Boolean hasErrors

      True, if there are any errors.

      An error usually means that the request could not be performed.

      Error details are provided in the messages[] array.

    • hasOnlyRetryableErrors

      public Boolean hasOnlyRetryableErrors

      True if the errors signal a temporary problem, like a locked resource.

      You may re-send the same request again at a later time.

    • hasWarnings

      public Boolean hasWarnings

      True, if there are any warnings.

      A warning means that the request was performed but some non-critical problems arose

      Warning details are provided in the messages[] array.

    • messages

      public ResponseMessageDTO[] messages

      Error or warning messages at the request level.

      There may be additional messages[] arrays at lower data levels as specified in the documentation.

  • Constructor Details

    • AbstractResponseDTO

      public AbstractResponseDTO()