Class BasicJsonExclusionStrategy
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.core.BasicJsonExclusionStrategy
- All Implemented Interfaces:
com.google.gson.ExclusionStrategy
,BusinessObject
,BusinessProcessor
,JsonExclusionStrategy
public class BasicJsonExclusionStrategy
extends BaseBusinessProcessor
implements com.google.gson.ExclusionStrategy, JsonExclusionStrategy
-
Field Summary
Fields inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isCurrentAdministratorInRole
(String[] roles) protected boolean
isCustomerPasswordField
(com.google.gson.FieldAttributes f) protected boolean
isFieldCollectionOrMap
(com.google.gson.FieldAttributes f) boolean
shouldSkipClass
(Class<?> arg0) boolean
shouldSkipField
(com.google.gson.FieldAttributes f) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Constructor Details
-
BasicJsonExclusionStrategy
public BasicJsonExclusionStrategy()
-
-
Method Details
-
shouldSkipField
public boolean shouldSkipField(com.google.gson.FieldAttributes f) - Specified by:
shouldSkipField
in interfacecom.google.gson.ExclusionStrategy
-
shouldSkipClass
- Specified by:
shouldSkipClass
in interfacecom.google.gson.ExclusionStrategy
-
isCustomerPasswordField
protected boolean isCustomerPasswordField(com.google.gson.FieldAttributes f) -
isFieldCollectionOrMap
protected boolean isFieldCollectionOrMap(com.google.gson.FieldAttributes f) -
isCurrentAdministratorInRole
-