atg.markers
Interface MarkerValidator

All Known Implementing Classes:
BusinessProcessConfiguration, ConfigurableMarkerValidator, ItemBasedProcessConfiguration, OrderBasedProcessConfiguration, ProfileBasedProcessConfiguration, ValidateMarkerByPossibleValue

public interface MarkerValidator

This interface defines a marker validator. Objects/Components of this type are called by the Repository Marker Manager prior to adding a new marker.

A false return from a validator component prevents the new marker from being added.

See Also:
isValidMarker(atg.markers.RepositoryMarkerManager, atg.repository.RepositoryItem, atg.repository.RepositoryItem), RepositoryMarkerManager.validateMarker(atg.repository.RepositoryItem, atg.repository.RepositoryItem)

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 boolean isValidMarker(RepositoryMarkerManager pRepositoryMarkerManager, RepositoryItem pMarkedItem, RepositoryItem pMarkerToValidate)
          This method determines if a marker is considered valid.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

isValidMarker

boolean isValidMarker(RepositoryMarkerManager pRepositoryMarkerManager,
                      RepositoryItem pMarkedItem,
                      RepositoryItem pMarkerToValidate)
                      throws MarkerException
This method determines if a marker is considered valid.

Parameters:
pRepositoryMarkerManager - the marker manager making the validation request
pMarkedItem - the item being marked
pMarkerToValidate - the marker to validate
Returns:
true if marker is valid
Throws:
MarkerException