|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ferri.portlet.utils.Missatge
public class Missatge
Contenedor dels missatges de processos en els controladors, que apareixen per pantalla d'usuari.
Field Summary | |
---|---|
private String[] |
args
|
private String |
key
|
private Integer |
type
|
static Integer |
TYPE_ERROR
|
static Integer |
TYPE_INFO
|
static Integer |
TYPE_SUCCES
|
Constructor Summary | |
---|---|
Missatge(Integer type,
String msg)
Creació Missatge |
|
Missatge(Integer type,
String msg,
String[] args)
Creació Missatge |
Method Summary | |
---|---|
static ArrayList<Missatge> |
addMissatge(String key,
Integer type)
Afegeix entitats Missatge al ArrayList missatges |
static ArrayList<Missatge> |
addMissatge(String key,
Integer type,
ArrayList<Missatge> missatges)
Afegeix entitats Missatge al ArrayList missatges |
String[] |
getArgs()
|
String |
getKey()
|
Integer |
getType()
|
void |
setArgs(String[] args)
|
void |
setKey(String key)
|
void |
setType(Integer type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Integer TYPE_ERROR
public static final Integer TYPE_SUCCES
public static final Integer TYPE_INFO
private String key
private Integer type
private String[] args
Constructor Detail |
---|
public Missatge(Integer type, String msg)
type
- msg
- public Missatge(Integer type, String msg, String[] args)
type
- msg
- args
- Method Detail |
---|
public String getKey()
public void setKey(String key)
key
- the key to setpublic Integer getType()
public void setType(Integer type)
type
- the type to setpublic String[] getArgs()
public void setArgs(String[] args)
args
- the args to setpublic static final ArrayList<Missatge> addMissatge(String key, Integer type, ArrayList<Missatge> missatges)
key
- type
- missatges
-
public static final ArrayList<Missatge> addMissatge(String key, Integer type)
key
- type
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |