BEA Systems, Inc.

com.beasys.commerce.axiom.advisor
Interface AdviceRequest

All Known Subinterfaces:
ClassificationAdviceRequest, ContentQueryAdviceRequest, ContentSelectorAdviceRequest, RulesAdviceRequest
All Known Implementing Classes:
AbstractAdviceRequestImpl

public interface AdviceRequest

This is an abstract interface that represents the common interface for all AdviceRequest types. This interface is meant to be extended by a concrete interface.


Method Summary
 Advislet getAdvislet()
          Returns the default advislet for this type of request.
 void validate()
          Validates the request.
 

Method Detail

getAdvislet

public Advislet getAdvislet()
Returns the default advislet for this type of request.
Returns:
Agent The default advislet that gives advise for this kind of AdviceRequest.

validate

public void validate()
              throws AdviceRequestValidationException
Validates the request.
Throws:
AdviceRequestValidationException - thrown when not valid. The message in the exception indicates the validation error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved