com.tle.core.payment.scripting.types
Interface CatalogueScriptType
Declaration: public interface CatalogueScriptType extends BaseEntityScriptType
All Superinterfaces: BaseEntityScriptType, java.io.Serializable

 

 

Methods Summary
abstract RegionScriptType[] getRegions()
    
abstract boolean isEnabled()
    
abstract boolean isRegionRestricted()
    
abstract java.util.List<RegionScriptType> listRegions()
    

 

Methods inherited from interface: com.tle.common.scripting.types.BaseEntityScriptType
getDescription, getName, getUniqueID, getUuid

 

 

 

 

isEnabled

 

public abstract boolean isEnabled( )

 

Returns:
Is the catalogue enabled?

 

 

 

isRegionRestricted

 

public abstract boolean isRegionRestricted( )

 

Returns:
Is the catalogue restricted to certain regions?

 

 

 

listRegions

 

public abstract java.util.List<RegionScriptType> listRegions( )

 

Returns:
Get all the regions this catalogue is restricted to

 

 

 

getRegions

 

public abstract RegionScriptType[] getRegions( )

 

Returns:
Get all the regions this catalogue is restricted to