|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.panama.portal.LocationMarkController
LocationMarkController handles location mark related operations, such as retrieving/updating parameters of a location mark, creating/deleting a location mark.
| Field Summary | |
static java.lang.String |
ADDRESSLASTLINEKey for retrieving location mark address last line value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
ADDRESSLINE1Key for retrieving location mark address line 1 value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
ADDRESSLINE2Key for retrieving location mark address line 2 value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
BLOCKKey for retrieving location mark block value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
CITYKey for retrieving location mark city value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COMPANYNAMEKey for retrieving location mark company name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COUNTRYKey for retrieving location mark country value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COUNTYKey for retrieving location county name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEFAULTrequest parameter name used in URLs. |
static java.lang.String |
DESCRIPTIONKey for retrieving location mark description value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
GEOCODErequest parameter name used in URLs. |
static java.lang.String |
LABELKey for retrieving location mark label value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
NAMEKey for retrieving location mark name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
POSTALCODEKey for retrieving location mark postal code value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
POSTALCODEEXTKey for retrieving location mark postal code ext value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
STATEKey for retrieving location mark state value from the parameter Hashtable passing to/from the portal pages. |
| Method Summary | |
LocationMark |
createNewLocationMark(java.lang.String name, Request apiRequest)create a new location mark. |
void |
deleteLocationMark(long locationMarkId)delete a location mark. |
static LocationMarkController |
getInstance()The singleton thread-safe getter. |
java.lang.String |
getLocationString(Location loc) |
java.util.Hashtable |
getParametersHash(long locationMarkId)get parameter name-value Hashtable of a location mark. |
boolean |
setParameters(long locationMarkId, java.util.Hashtable paramHash, boolean isNew, boolean toGeocode)set parameter values of a location mark. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ADDRESSLASTLINE
public static final java.lang.String ADDRESSLINE1
public static final java.lang.String ADDRESSLINE2
public static final java.lang.String BLOCK
public static final java.lang.String CITY
public static final java.lang.String COMPANYNAME
public static final java.lang.String COUNTRY
public static final java.lang.String COUNTY
public static final java.lang.String DEFAULT
public static final java.lang.String DESCRIPTION
public static final java.lang.String GEOCODE
public static final java.lang.String LABEL
public static final java.lang.String NAME
public static final java.lang.String POSTALCODE
public static final java.lang.String POSTALCODEEXT
public static final java.lang.String STATE
| Method Detail |
public LocationMark createNewLocationMark(java.lang.String name,
Request apiRequest)
throws PortalException
name - new location mark name.apiRequest - current validated Request.PortalException
public void deleteLocationMark(long locationMarkId)
throws PortalException
locationMarkId - location mark ID to be deleted.PortalExceptionpublic static LocationMarkController getInstance()
public java.lang.String getLocationString(Location loc)
public java.util.Hashtable getParametersHash(long locationMarkId)
throws PortalException
locationMarkId - queried location mark ID.PortalException
public boolean setParameters(long locationMarkId,
java.util.Hashtable paramHash,
boolean isNew,
boolean toGeocode)
throws PortalException
locationMarkId - queried location mark ID.paramHash - parameter name-value Hashtable to updateisNew - flag to show setting parameters for a newly created location mark or an old onePortalException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||