Class StorageUtils

java.lang.Object
com.tridion.storage.StorageUtils

public class StorageUtils extends Object
Class with utility methods used when storing data. Note that this should be in a different package, but we need to try and stay backward compatible.
  • Constructor Details

    • StorageUtils

      public StorageUtils()
  • Method Details

    • shouldStoreCustomMetaValueAsLob

      public static boolean shouldStoreCustomMetaValueAsLob(String stringValue)
      Check if the string custom meta value exceed the maximum size for the string key value db column. In such case should be stored as lob value.
      Parameters:
      stringValue - The string value that has to be check.
      Returns:
      true if the string value exceed the maximum size and should be stored as lob, false otherwise.