|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ActivityItem.Visibility> com.vodafone360.people.datatypes.ActivityItem.Visibility
public static enum ActivityItem.Visibility
Visibility flags for ActivityItem
Enum Constant Summary | |
---|---|
ADDRESS_BOOK
Send a 'received' activity to all contacts in the user's address who are interested in this activity type as indicated by their privacy settings. |
|
BUSINESS_CONTACTS
Send a 'received' activity to all contacts in the user's address who are interested in this activity type as indicated by their privacy settings AND which are business contacts. |
|
CONNECTED_FRIENDS
Send a notification activity to all connected friends of user or contact. |
|
KNOW_USER
Send a 'received' activity to all contacts in the user's address who are interested in this activity type as indicated by their privacy settings. |
|
ORIGINATOR
Do not extend visibility and just store the activity. |
|
RECIPIENT
Send a 'received' activity to the recipient contact that is specified on the contactlist / unknowncontacts. |
Field Summary | |
---|---|
private java.lang.String |
mVisibilityCode
|
Method Summary | |
---|---|
private static ActivityItem.Visibility |
findVisibility(java.lang.String v)
Find visibility item for specified String |
java.lang.String |
getVisibilityCode()
String value associated with visibility item. |
static ActivityItem.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ActivityItem.Visibility[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ActivityItem.Visibility ORIGINATOR
public static final ActivityItem.Visibility RECIPIENT
public static final ActivityItem.Visibility ADDRESS_BOOK
public static final ActivityItem.Visibility BUSINESS_CONTACTS
public static final ActivityItem.Visibility KNOW_USER
public static final ActivityItem.Visibility CONNECTED_FRIENDS
Field Detail |
---|
private java.lang.String mVisibilityCode
Method Detail |
---|
public static ActivityItem.Visibility[] values()
for (ActivityItem.Visibility c : ActivityItem.Visibility.values()) System.out.println(c);
public static ActivityItem.Visibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getVisibilityCode()
private static ActivityItem.Visibility findVisibility(java.lang.String v)
tag
- String value to find visibility item for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
JavaDoc