wt.epm.util
Class EPMNonoverridableConflicts
java.lang.Object
wt.epm.util.EPMNonoverridableConflicts
- public class EPMNonoverridableConflicts
- extends Object
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 |
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
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
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