Class FixDataHook

  • All Implemented Interfaces:
    UploadHook

    public class FixDataHook
    extends java.lang.Object
    implements UploadHook
    Fixes defective data entries for all modified objects before upload
    Since:
    5621
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<FixDataHook.FixData> deprecated
      List of checks to run on data
      private static java.lang.String ONEWAY  
    • Constructor Summary

      Constructors 
      Constructor Description
      FixDataHook()
      Constructor for data initialization
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkUpload​(APIDataSet apiDataSet)
      Checks the upload for deprecated or wrong tags.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixDataHook

        public FixDataHook()
        Constructor for data initialization
    • Method Detail

      • checkUpload

        public boolean checkUpload​(APIDataSet apiDataSet)
        Checks the upload for deprecated or wrong tags.
        Specified by:
        checkUpload in interface UploadHook
        Parameters:
        apiDataSet - the data to upload
        Returns:
        true if upload is possible, false to block the upload.