Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface LocationPrivacyAuth

All Superinterfaces:
ModelObject, XMLObject

public interface LocationPrivacyAuth
extends ModelObject

The LocationPrivacyAuth interface provides several getter methods to retrieve information specific to a location authorization item, such as the authorization period, the service where the authorization happens, the user who grants the right and the right recipient.


Field Summary
static java.lang.String GRANT_STATUS_DISABLE
          The string to represent the "disabled" status of the grant
static java.lang.String GRANT_STATUS_ENABLE
          The string to represent the "enabled" status of the grant
static java.lang.String TYPENAME
          The constant class type identifier.

 

Fields inherited from interface oracle.panama.model.ModelObject
TYPEID

 

Method Summary
 AuthPeriod getAuthPeriod()
          Get the authrization period of this authorization item
 LocationPrivacyDomain getDomain()
           
 LocationPrivacyGrantee getGrantee()
           
 User getGrantor()
           
 User getOwner()
          Deprecated.  
 ModelObject getPositionRequester()
          Deprecated.  
 Service getService()
          Deprecated.  
 java.lang.String getStatus()
          Get the status of the grant.
 boolean isEnabled()
           

 

Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Field Detail

GRANT_STATUS_DISABLE

public static final java.lang.String GRANT_STATUS_DISABLE
The string to represent the "disabled" status of the grant
See Also:
Constant Field Values

GRANT_STATUS_ENABLE

public static final java.lang.String GRANT_STATUS_ENABLE
The string to represent the "enabled" status of the grant
See Also:
Constant Field Values

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier.
See Also:
Constant Field Values

Method Detail

getAuthPeriod

public AuthPeriod getAuthPeriod()
Get the authrization period of this authorization item
Returns:
an AuthPeriod representing the authorization period

getDomain

public LocationPrivacyDomain getDomain()

getGrantee

public LocationPrivacyGrantee getGrantee()

getGrantor

public User getGrantor()

getOwner

public User getOwner()
Deprecated.
Get the user who grants the right to access her location informatin
Returns:
a User object representing the owner of the grant

getPositionRequester

public ModelObject getPositionRequester()
Deprecated.
Get the user or community who is granted the right to access the owner's location information
Returns:
a ModelObject which is either a user or a community

getService

public Service getService()
Deprecated.
Get the service that the grant is associated with. All the location privacy authorization is specific to a certain service and this method retrieves the service that this authorization item is associated with
Returns:
a Service object representing the service associated to the grant

getStatus

public java.lang.String getStatus()
Get the status of the grant.
Returns:
a String representing the status. It can be either GRANT_STATUS_ENABLE or GRANT_STATUS_DISABLE

isEnabled

public boolean isEnabled()

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.