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.
- Since:
- iAS Wireless Edition Release 2.0
Type | Field |
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. |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId,
getTypeName, isSystem, setName,
setSystem, undoAll |
TYPENAME
public static final java.lang.String TYPENAME
- The constant class type identifier.
GRANT_STATUS_ENABLE
public static final java.lang.String GRANT_STATUS_ENABLE
- The string to represent the "enabled" status of the grant
GRANT_STATUS_DISABLE
public static final java.lang.String GRANT_STATUS_DISABLE
- The string to represent the "disabled" status of the grant
getStatus
public java.lang.String getStatus()
- Get the status of the grant.
- Returns:
- the status. It can be either GRANT_STATUS_ENABLE or GRANT_STATUS_DISABLE
getAuthPeriod
public AuthPeriod getAuthPeriod()
- Get the authrization period of this authorization item
- Returns:
- an authorization period
getOwner
public User getOwner()
- Get the user who grants the right to access her location informatin
getPositionRequester
public ModelObject getPositionRequester()
- Get the user or community who is granted the right to access the owner's
location information
- Returns:
- a model object which is either a user or a community
getService
public Service getService()
- 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