|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.modules.address.web.DirectoryAddressJspBean.SearchAddress
public static class DirectoryAddressJspBean.SearchAddress
SearchAddress. Use for JSON compatibility :
{
"noResult" : "false",
"singleResult" : "false",
"listAddresses" : [{"12345", "217 rue de Bercy"},
{"98765", "216, rue de Bercy"}],
"message" : "",
"error" : "false",
"address" : "",
"html" : "[...]"
}
http://www.json.org/}| Constructor Summary | |
|---|---|
DirectoryAddressJspBean.SearchAddress()
|
|
| Method Summary | |
|---|---|
fr.paris.lutece.util.ReferenceList |
getAddresses()
Return matching addresses |
java.lang.String |
getAddressLabel()
address |
int |
getIdEntry()
Entry id |
java.lang.String |
getMessage()
Returns the error message |
float |
getX()
X |
float |
getY()
Y |
boolean |
isError()
true if the error message is not blank, false otherwise |
boolean |
isNoResult()
true if no result, false otherwise |
boolean |
isSingleResult()
true if there is one and only one result , false otherwise |
void |
setAddresses(fr.paris.lutece.util.ReferenceList refListAddresses)
Sets the addresses |
void |
setAddressLabel(java.lang.String strAddressLabel)
Sets the address |
void |
setIdEntry(int nIdEntry)
Sets the entry id |
void |
setMessage(java.lang.String strMessage)
Sets an error message |
void |
setX(float fX)
Sets the x |
void |
setY(float fY)
Sets the y |
java.lang.String |
toJSONString(java.util.Locale locale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryAddressJspBean.SearchAddress()
| Method Detail |
|---|
public java.lang.String getAddressLabel()
public void setAddressLabel(java.lang.String strAddressLabel)
strAddressLabel - the new addresspublic int getIdEntry()
public void setIdEntry(int nIdEntry)
nIdEntry - the new entry idpublic boolean isNoResult()
true if no result, false otherwise
true if no result, false otherwisepublic boolean isSingleResult()
true if there is one and only one result , false otherwise
true if there is one and only one result, false otherwisepublic void setAddresses(fr.paris.lutece.util.ReferenceList refListAddresses)
refListAddresses - the addressespublic fr.paris.lutece.util.ReferenceList getAddresses()
public void setMessage(java.lang.String strMessage)
strMessage - an error messagepublic java.lang.String getMessage()
null otherwise.public boolean isError()
true if the error message is not blank, false otherwise
true if the error message is not blank, false otherwisepublic float getX()
public void setX(float fX)
fX - the xpublic void setY(float fY)
fY - the ypublic float getY()
public java.lang.String toJSONString(java.util.Locale locale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||