public class AssociatedPromotionHandler extends AbstractConfigBasedClassicHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String | RESOURCE_NAME
The Constant RESOURCE_NAME.
|
Modifier | Constructor and Description |
---|---|
AssociatedPromotionHandler()
Used with WC to instantiate the handler
|
|
protected | AssociatedPromotionHandler(TypeConverterRegistry pTypeConverterRegistry, ModelParser pModelParser, MappingProfileParser pMappingProfileParser, FillerFactory fillerFactory)
Used for testing, allowing you to specify all object interfaces this class is composed of.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response | byName(java.lang.String responseFormat, java.lang.String storeId)
This method retrieves the calculation code details using the name assigned to the calculation code
|
javax.ws.rs.core.Response | findPromotionList(java.lang.String storeId, java.lang.String responseFormat, java.lang.String queryName)
Get promotion list by query name and parameters.
|
javax.ws.rs.core.Response | findPromotionsByCategory(java.lang.String responseFormat, java.lang.String storeId)
This method queries the associated promotions by category.
|
javax.ws.rs.core.Response | findPromotionsByCategoryWAssociatedPromotionSummaryProfileName(java.lang.String responseFormat, java.lang.String storeId)
Internal method findPromotionsByCategoryWAssociatedPromotionSummaryProfileName for documentation ONLY.
|
javax.ws.rs.core.Response | findPromotionsByProduct(java.lang.String responseFormat, java.lang.String storeId)
This method queries the promotions by product.
|
javax.ws.rs.core.Response | findPromotionsByProductWAssociatedPromotionSummaryProfileName(java.lang.String responseFormat, java.lang.String storeId)
Internal method findPromotionsByProductWAssociatedPromotionSummaryProfileName for documentation ONLY.
|
java.lang.String | getResourceName() |
javax.ws.rs.core.UriInfo | getUri()
Get the URI of the atom feed request.
|
void | initializeQueryRegistry(OperationRegistry registry) |
public static final java.lang.String COPYRIGHT
public static final java.lang.String RESOURCE_NAME
public AssociatedPromotionHandler()
protected AssociatedPromotionHandler(TypeConverterRegistry pTypeConverterRegistry, ModelParser pModelParser, MappingProfileParser pMappingProfileParser, FillerFactory fillerFactory)
public javax.ws.rs.core.UriInfo getUri()
public java.lang.String getResourceName()
public void initializeQueryRegistry(OperationRegistry registry)
public javax.ws.rs.core.Response byName(java.lang.String responseFormat, java.lang.String storeId) throws java.lang.Exception
public javax.ws.rs.core.Response findPromotionList(java.lang.String storeId, java.lang.String responseFormat, java.lang.String queryName)
public javax.ws.rs.core.Response findPromotionsByCategory(java.lang.String responseFormat, java.lang.String storeId) throws java.lang.Exception
public javax.ws.rs.core.Response findPromotionsByCategoryWAssociatedPromotionSummaryProfileName(java.lang.String responseFormat, java.lang.String storeId)
public javax.ws.rs.core.Response findPromotionsByProduct(java.lang.String responseFormat, java.lang.String storeId) throws java.lang.Exception
public javax.ws.rs.core.Response findPromotionsByProductWAssociatedPromotionSummaryProfileName(java.lang.String responseFormat, java.lang.String storeId)