wt.epm.util
Class EPMNonoverridableConflicts

java.lang.Object
  extended bywt.epm.util.EPMNonoverridableConflicts

public class EPMNonoverridableConflicts
extends Object


Nested Class Summary
static class EPMNonoverridableConflicts.AddToWorkspaceException
           
static class EPMNonoverridableConflicts.CheckinException
           
static class EPMNonoverridableConflicts.CheckoutException
           
static class EPMNonoverridableConflicts.DeleteException
           
static class EPMNonoverridableConflicts.HasMainMessageException
           
private  class EPMNonoverridableConflicts.ic_SingleConflict
           
static class EPMNonoverridableConflicts.SandboxCheckinException
           
static class EPMNonoverridableConflicts.SandboxUndoCheckoutException
           
static class EPMNonoverridableConflicts.UndoCheckoutException
           
static class EPMNonoverridableConflicts.UploadException
           
 
Field Summary
(package private)  Collection m_additionalErrors
           
private  HashMap m_conflictMap
           
private  Class m_exceptionClaz
           
private  WTMessage m_mainMsg
           
private  String m_rb
           
private static String RESOURCE
           
 
Constructor Summary
EPMNonoverridableConflicts(Class exceptionClaz)
           
EPMNonoverridableConflicts(String mainMsgKey, Class exceptionClaz)
           
EPMNonoverridableConflicts(String rb, String mainMsgKey, Class exceptionClaz)
           
 
Method Summary
 void addError(EPMErrorType type, Persistable obj, WTMessage msg)
           
 void addError(Persistable obj, String conflictMsgKey, Object[] msgParams)
           
 void addError(Persistable obj, WTMessage msg)
           
 void addErrors(EPMErrorType type, WTCollection objs, WTMessage msg)
           
 void addErrors(WTCollection obj, String conflictMsgKey, Object[] msgParams)
           
 void addErrors(WTCollection objs, WTMessage msg)
           
 void addObject(String conflictMsgKey, Object obj)
           
 void addObject(String conflictMsgKey, Object obj, EPMErrorType errType)
           
 void addObjects(String conflictMsgKey, Collection objects)
           
 void addObjects(String conflictMsgKey, Collection objects, EPMErrorType errType)
           
private  EPMNonoverridableConflicts.ic_SingleConflict getConflictCreateIfNeeded(String conflictMsgKey)
           
private  Collection getErrors()
           
 WTException getException()
           
private  WTMessage getMainMessageFromClass(Class exceptionClaz)
           
 boolean isConflicts()
           
 void throwException()
           
 
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

m_rb

private String m_rb

m_conflictMap

private HashMap m_conflictMap

m_mainMsg

private WTMessage m_mainMsg

m_exceptionClaz

private Class m_exceptionClaz

m_additionalErrors

Collection m_additionalErrors
Constructor Detail

EPMNonoverridableConflicts

public EPMNonoverridableConflicts(Class exceptionClaz)
                           throws WTException

EPMNonoverridableConflicts

public EPMNonoverridableConflicts(String mainMsgKey,
                                  Class exceptionClaz)
                           throws WTException

EPMNonoverridableConflicts

public EPMNonoverridableConflicts(String rb,
                                  String mainMsgKey,
                                  Class exceptionClaz)
                           throws WTException
Method Detail

addObjects

public void addObjects(String conflictMsgKey,
                       Collection objects)
                throws WTException
Throws:
WTException

addObjects

public void addObjects(String conflictMsgKey,
                       Collection objects,
                       EPMErrorType errType)
                throws WTException
Throws:
WTException

addObject

public void addObject(String conflictMsgKey,
                      Object obj)

addObject

public void addObject(String conflictMsgKey,
                      Object obj,
                      EPMErrorType errType)

addError

public void addError(EPMErrorType type,
                     Persistable obj,
                     WTMessage msg)

addError

public void addError(Persistable obj,
                     WTMessage msg)

addErrors

public void addErrors(WTCollection objs,
                      WTMessage msg)

addErrors

public void addErrors(EPMErrorType type,
                      WTCollection objs,
                      WTMessage msg)

addErrors

public void addErrors(WTCollection obj,
                      String conflictMsgKey,
                      Object[] msgParams)

addError

public void addError(Persistable obj,
                     String conflictMsgKey,
                     Object[] msgParams)

isConflicts

public boolean isConflicts()

getException

public WTException getException()
                         throws WTException
Throws:
WTException

throwException

public void throwException()
                    throws WTException
Throws:
WTException

getErrors

private Collection getErrors()
                      throws WTException
Throws:
WTException

getConflictCreateIfNeeded

private EPMNonoverridableConflicts.ic_SingleConflict getConflictCreateIfNeeded(String conflictMsgKey)

getMainMessageFromClass

private WTMessage getMainMessageFromClass(Class exceptionClaz)
                                   throws WTException
Throws:
WTException