org.broadleafcommerce.cms.field.type
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:
- Serialized Form
DATABASE
public static final StorageType DATABASE
FILESYSTEM
public static final StorageType FILESYSTEM
StorageType
public StorageType()
StorageType
public StorageType(String type,
String friendlyType)
getInstance
public static StorageType getInstance(String type)
getType
public String getType()
getFriendlyType
public String getFriendlyType()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.