Class StorageType

java.lang.Object
org.broadleafcommerce.cms.field.type.StorageType
All Implemented Interfaces:
Serializable

public class StorageType extends Object implements Serializable
Used by StaticAssets to communicate where the asset is stored. Broadleaf supports storing images on the fileSystem or on in the database.
Author:
bpolster
See Also:
  • Field Details

  • Constructor Details

    • StorageType

      public StorageType()
    • StorageType

      public StorageType(String type, String friendlyType)
  • Method Details

    • getInstance

      public static StorageType getInstance(String type)
    • getType

      public String getType()
    • setType

      protected void setType(String type)
    • getFriendlyType

      public String getFriendlyType()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object