wt.vc.struct
Class IteratedUsageLinkRIEHandler

java.lang.Object
  extended bywt.fc.StandardReferentialIntegrityExceptionHandler
      extended bywt.vc.struct.AbstractStructLinkRIEHandler
          extended bywt.vc.struct.IteratedUsageLinkRIEHandler
All Implemented Interfaces:
ReferentialIntegrityExceptionHandler, Serializable

public class IteratedUsageLinkRIEHandler
extends AbstractStructLinkRIEHandler
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from interface wt.fc.ReferentialIntegrityExceptionHandler
DEFAULT_SELECTOR
 
Constructor Summary
IteratedUsageLinkRIEHandler()
           
 
Method Summary
 int buildMessage(WTValuedMap a_linkMap, Object[] a_messages, int a_messageIndex)
          The method builds messages to display as part of a ReferentialIntegrityException.
protected  WTMessage getMessage(Object[] parms)
          Get link type specific message.
protected  void validate(ObjectToObjectLink link)
          Validate that link is valid for this delegate.
 
Methods inherited from class wt.vc.struct.AbstractStructLinkRIEHandler
buildMessage
 
Methods inherited from class wt.fc.StandardReferentialIntegrityExceptionHandler
buildMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

IteratedUsageLinkRIEHandler

public IteratedUsageLinkRIEHandler()
Method Detail

buildMessage

public int buildMessage(WTValuedMap a_linkMap,
                        Object[] a_messages,
                        int a_messageIndex)
                 throws WTException
The method builds messages to display as part of a ReferentialIntegrityException.

Supported API: false

Specified by:
buildMessage in interface ReferentialIntegrityExceptionHandler
Overrides:
buildMessage in class StandardReferentialIntegrityExceptionHandler
Parameters:
a_linkMap - The link objects to build the message for.
a_messages - Object array to build messages in.
a_messageIndex - The index into the message array to start building messages.
Returns:
number of messages built
Throws:
WTException

getMessage

protected WTMessage getMessage(Object[] parms)
                        throws WTException
Get link type specific message.

Supported API: false

Specified by:
getMessage in class AbstractStructLinkRIEHandler
Parameters:
parms -
Returns:
WTMessage
Throws:
WTException

validate

protected void validate(ObjectToObjectLink link)
                 throws WTException
Validate that link is valid for this delegate.

Supported API: false

Specified by:
validate in class AbstractStructLinkRIEHandler
Parameters:
link -
Throws:
WTException