|
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.mp.privacy.LocationPrivacyGrantee
This class represents a privacy grantee, which might be a user, a community, or the set of all users.
Field Summary | |
static java.lang.String |
ALLUSER_GRANTEE A constant representing all users. |
static java.lang.String |
COMMUNITY_GRANTEE A constant representing a grantee of type COMMUNITY. |
static java.lang.String |
USER_GRANTEE A constant representing a grantee of type USER. |
Constructor Summary | |
LocationPrivacyGrantee() Constructor. |
|
LocationPrivacyGrantee(Community grantee) Constructor. |
|
LocationPrivacyGrantee(ModelObject grantee) Constructor |
|
LocationPrivacyGrantee(User grantee) Constructor. |
Method Summary | |
ModelObject |
getGrantee() This returns the grantee. |
java.lang.String |
getGranteeType() This returns the grantee type (USER_GRANTEE, COMMUNITY_GRANTEE, ALLUSER_GRANTEE) |
java.lang.String |
toString() Returns the string representation of this object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ALLUSER_GRANTEE
public static final java.lang.String COMMUNITY_GRANTEE
public static final java.lang.String USER_GRANTEE
Constructor Detail |
public LocationPrivacyGrantee()
public LocationPrivacyGrantee(Community grantee)
grantee
- a Community object representing the granteepublic LocationPrivacyGrantee(ModelObject grantee)
public LocationPrivacyGrantee(User grantee)
grantee
- a User object representing the granteeMethod Detail |
public ModelObject getGrantee()
public java.lang.String getGranteeType()
public java.lang.String toString()
|
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 |