oracle.panama.mp.privacy
Class LocationPrivacyGrantee
java.lang.Object
|
+--oracle.panama.mp.privacy.LocationPrivacyGrantee
- All Implemented Interfaces:
- java.io.Serializable
- public class LocationPrivacyGrantee
- extends java.lang.Object
- implements java.io.Serializable
This class represents a privacy grantee, which might be a user, a community, or the set of all users.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
USER_GRANTEE
public static final java.lang.String USER_GRANTEE
-
- See Also:
- Constant Field Values
COMMUNITY_GRANTEE
public static final java.lang.String COMMUNITY_GRANTEE
-
- See Also:
- Constant Field Values
ALLUSER_GRANTEE
public static final java.lang.String ALLUSER_GRANTEE
-
- See Also:
- Constant Field Values
LocationPrivacyGrantee
public LocationPrivacyGrantee(ModelObject grantee)
LocationPrivacyGrantee
public LocationPrivacyGrantee(User grantee)
- Constructor. In this case, a user becomes grantee.
- Parameters:
grantee
- a User object representing the grantee
LocationPrivacyGrantee
public LocationPrivacyGrantee(Community grantee)
- Constructor. In this case, a community becomes grantee.
- Parameters:
grantee
- a Community object representing the grantee
LocationPrivacyGrantee
public LocationPrivacyGrantee()
- Constructor. In this case, all users become grantees.
getGrantee
public ModelObject getGrantee()
- This returns the grantee.
-
- Returns:
- a ModelObject representing the grantee
getGranteeType
public java.lang.String getGranteeType()
- This returns the grantee type (USER_GRANTEE, COMMUNITY_GRANTEE, ALLUSER_GRANTEE)
-
- Returns:
- a String representing the grantee type
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
Copyright © 2003 Oracle Corporation. All Rights Reserved.