org.jvending.provisioning.stocking
Interface StockingPolicy


public interface StockingPolicy

Provides the catalog policy for stocking content from a PAR file.

Since:
1.3a
Author:
Shane Isbell

Method Summary
 java.util.List getBlackList()
          Accessor for list of blocked URLs and IPs
 int getLocalMaxSize()
          The maximum size (KB) of a stockable piece of content within a PAR file
 java.util.List getMimeAccept()
          Accessor for list of accepted mime-types
 java.util.List getMimeBlock()
          Accessor for list of blocked mime-types
 int getRemoteMaxSize()
          The maximum size (KB) of a stockable piece of content that is remotely accessible.
 java.util.List getWhiteList()
          Accessor for list of accepted URLs and IPs.
 boolean hasFetchContent()
          Is allowed to fetch content located outside of the PAR file.
 

Method Detail

getRemoteMaxSize

int getRemoteMaxSize()
The maximum size (KB) of a stockable piece of content that is remotely accessible.


getLocalMaxSize

int getLocalMaxSize()
The maximum size (KB) of a stockable piece of content within a PAR file


hasFetchContent

boolean hasFetchContent()
Is allowed to fetch content located outside of the PAR file.

Returns:
boolean

getMimeAccept

java.util.List getMimeAccept()
Accessor for list of accepted mime-types

Returns:
list of accepted mime-types

getMimeBlock

java.util.List getMimeBlock()
Accessor for list of blocked mime-types

Returns:
list of blocked mime-types

getWhiteList

java.util.List getWhiteList()
Accessor for list of accepted URLs and IPs.

Returns:
list of accepted URLs and IPs.

getBlackList

java.util.List getBlackList()
Accessor for list of blocked URLs and IPs

Returns:
list of blocked URLs and IPs


Copyright 2006 null. All Rights Reserved.