com.ptc.windchill.uwgm.proesrv.util
Class UwgmMessageHelper

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.util.UwgmMessageHelper

public class UwgmMessageHelper
extends Object

Utilty class for UwgmMessages


Constructor Summary
UwgmMessageHelper()
           
 
Method Summary
static com.ptc.windchill.uwgm.soap.uwgmsvc.GeneralError createGeneralError(String message)
          creates Uwgm GeneralError for Localized message
static com.ptc.windchill.uwgm.soap.uwgmsvc.GeneralError createGeneralError(Throwable throwable)
          creates Uwgm GeneralError for Throwable
static List getMessagesFromConflicts(ConflictHolder conflictHolder)
          converts ConflictElements to UwgmMessages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UwgmMessageHelper

public UwgmMessageHelper()
Method Detail

createGeneralError

public static com.ptc.windchill.uwgm.soap.uwgmsvc.GeneralError createGeneralError(Throwable throwable)
creates Uwgm GeneralError for Throwable

Parameters:
throwable - Throwable
Returns:
GeneralError

createGeneralError

public static com.ptc.windchill.uwgm.soap.uwgmsvc.GeneralError createGeneralError(String message)
creates Uwgm GeneralError for Localized message

Parameters:
message - String
Returns:
GeneralError

getMessagesFromConflicts

public static List getMessagesFromConflicts(ConflictHolder conflictHolder)
converts ConflictElements to UwgmMessages

Parameters:
conflictHolder - ConflictHolder
Returns:
UwgmMessage[]