|
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 |
ADDRESSLASTLINE Key for retrieving location mark address last line value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
ADDRESSLINE1 Key for retrieving location mark address line 1 value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
ADDRESSLINE2 Key for retrieving location mark address line 2 value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
BLOCK Key for retrieving location mark block value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
CITY Key for retrieving location mark city value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COMPANYNAME Key for retrieving location mark company name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COUNTRY Key for retrieving location mark country value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
COUNTY Key for retrieving location county name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEFAULT request parameter name used in URLs. |
static java.lang.String |
DESCRIPTION Key for retrieving location mark description value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
GEOCODE request parameter name used in URLs. |
static java.lang.String |
LABEL Key for retrieving location mark label value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
NAME Key for retrieving location mark name value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
POSTALCODE Key for retrieving location mark postal code value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
POSTALCODEEXT Key for retrieving location mark postal code ext value from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
STATE Key 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.PortalException
public 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 |