|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface for GCP Messages. GCP only wraps ISrvMgrMessage object from ServiceManagerFrontend
| Field Summary | |
static int |
ERROR
|
static int |
INFO
|
static int |
WARNING
|
| Method Summary | |
java.lang.String |
getAspectFieldName()
|
java.lang.String |
getAspectName()
returns the name of the Aspect, this message is associated to or null, if the
message doesn't correspond to an Aspect. |
IAspectRow |
getAspectRow()
Deprecated. from Beta4 on, there is no unique AspectRow instance associated to a Message |
IKey |
getAspectRowKey()
returns the Key of the AspectRow this message is associated to, or null, if this message is no AspectRow message. |
java.lang.String |
getCode()
Returns the code part of this message consisting of message id and message number. |
java.lang.Object |
getExtension()
Returns the backend defined extension object of this message or null
if none has been provided (empty String?). |
java.lang.String |
getText()
Returns the text part of this message. |
int |
getType()
Returns the type of this message. |
java.lang.String[] |
getVars()
Returns the values of message parameters as specified when creating this message. |
boolean |
isAspectRowMessage()
Returns true, if this Message is an AspectRow message or null otherwise. |
boolean |
isError()
Returns true, if message has type ERROR |
boolean |
isFailed()
Returns true if this message indicates that the processing in the backend has failed. |
boolean |
isInfo()
Returns true, if message has type INFO |
boolean |
isSystemMessage()
Returns true, if this Message is a system message or null otherwise. |
boolean |
isSystemMessageConfirm()
Returns true, if this Message is a system message confirm or null otherwise. |
boolean |
isWarning()
Returns true, if message has type WARNING |
| Field Detail |
public static final int INFO
public static final int WARNING
public static final int ERROR
| Method Detail |
public int getType()
INFO,
WARNING or ERROR.public boolean isInfo()
INFOINFO.public boolean isWarning()
WARNINGWARNING.public boolean isError()
ERRORERROR.public boolean isFailed()
INFO and WARNING.public java.lang.String getCode()
public java.lang.String getText()
public java.lang.Object getExtension()
null
if none has been provided (empty String?).public boolean isSystemMessage()
Message is a system message or null otherwise.
System messages are messages not bound to a special AspectRow, but they may be associated to an Aspect.Message is a system message or null otherwise.public boolean isSystemMessageConfirm()
Message is a system message confirm or null otherwise.
System messages confirm are messages not bound to a special AspectRow, but they may be associated to an Aspect.
with different life time (user has to confirm this type of message explicitly).
This category is not used in the moment.true, if this Message is a system message confirm or null otherwise.public boolean isAspectRowMessage()
true, if this Message is an AspectRow message or null otherwise.
AspectRow messages are messages bound directly to a special AspectRow (not the instance, but Key / Aspect Name)true, if this Message is an AspectRow message or null otherwise.public IAspectRow getAspectRow()
public java.lang.String getAspectFieldName()
public IKey getAspectRowKey()
null, if this message is no AspectRow message.public java.lang.String getAspectName()
null, if the
message doesn't correspond to an Aspect.public java.lang.String[] getVars()
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||