planetj.dataengine
Interface IFeature

All Known Subinterfaces:
IAssociationRequest, IMagicRequest
All Known Implementing Classes:
AbstractMagicRequest, AbstractParameterRequest, AbstractSQLParameterRequest, Feature, MagicRequest

public interface IFeature

Identifies DataEngine features


Nested Class Summary
static class IFeature.OperationCountFeature
          A feature for the number of allowed operations per application
 
Field Summary
static String DEFAULT_MESSAGE_FEATURE
           
static IFeature FEATURE_DELETE
           
static IFeature FEATURE_INSERT
           
static int FEATURE_LEVEL_ENTERPRISE
           
static int FEATURE_LEVEL_ENTRY
           
static int FEATURE_LEVEL_PROFESSIONAL
           
static int FEATURE_LEVEL_STANDARD
           
static IFeature FEATURE_UPDATE
           
static String MESSAGE_END
           
static String MESSAGE_START
           
 
Method Summary
 StringBuffer appendUnsupportedHTMLMessage(StringBuffer sb)
          Gets the HTML to display when this feature is used but not supported
 int getFeatureLevel()
          Gets the feature level for this feature
 boolean isApplicable()
          Tests if this feature applies in the current situation
 

Field Detail

FEATURE_LEVEL_ENTERPRISE

public static final int FEATURE_LEVEL_ENTERPRISE
See Also:
Constant Field Values

FEATURE_LEVEL_PROFESSIONAL

public static final int FEATURE_LEVEL_PROFESSIONAL
See Also:
Constant Field Values

FEATURE_LEVEL_STANDARD

public static final int FEATURE_LEVEL_STANDARD
See Also:
Constant Field Values

FEATURE_LEVEL_ENTRY

public static final int FEATURE_LEVEL_ENTRY
See Also:
Constant Field Values

MESSAGE_START

public static final String MESSAGE_START
See Also:
Constant Field Values

DEFAULT_MESSAGE_FEATURE

public static final String DEFAULT_MESSAGE_FEATURE
See Also:
Constant Field Values

MESSAGE_END

public static final String MESSAGE_END
See Also:
Constant Field Values

FEATURE_INSERT

public static final IFeature FEATURE_INSERT

FEATURE_UPDATE

public static final IFeature FEATURE_UPDATE

FEATURE_DELETE

public static final IFeature FEATURE_DELETE
Method Detail

appendUnsupportedHTMLMessage

public StringBuffer appendUnsupportedHTMLMessage(StringBuffer sb)
Gets the HTML to display when this feature is used but not supported


getFeatureLevel

public int getFeatureLevel()
Gets the feature level for this feature


isApplicable

public boolean isApplicable()
                     throws CMException
Tests if this feature applies in the current situation

CMException