com.vodafone360.people.service.io.api
Class GroupPrivacy
java.lang.Object
com.vodafone360.people.service.io.api.GroupPrivacy
public class GroupPrivacy
- extends java.lang.Object
Implementation of Now+ Group privacy APIs
Method Summary |
static int |
addContactGroupRelations(BaseEngine engine,
java.util.List<java.lang.Long> contactidlist,
java.util.List<GroupItem> grouplist)
Implementation of groupprivacy/addcontactgrouprelations API. |
static int |
deleteContactGroupRelationsExt(BaseEngine engine,
java.lang.Long groupid,
java.util.List<java.lang.Long> contactidlist)
Implementation of groupprivacy/deletecontactgrouprelationsext API. |
static int |
getGroups(BaseEngine engine,
java.lang.Integer pageindex,
java.lang.Integer pagesize)
Implementation of groupprivacy/getgroups API. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FUNCTION_ADD_CONTACT_GROUP_RELATIONS
private static final java.lang.String FUNCTION_ADD_CONTACT_GROUP_RELATIONS
- See Also:
- Constant Field Values
FUNCTION_DELETE_CONTACT_GROUP_RELATIONS_EXT
private static final java.lang.String FUNCTION_DELETE_CONTACT_GROUP_RELATIONS_EXT
- See Also:
- Constant Field Values
FUNCTION_GET_GROUPS
private static final java.lang.String FUNCTION_GET_GROUPS
- See Also:
- Constant Field Values
GroupPrivacy
public GroupPrivacy()
addContactGroupRelations
public static int addContactGroupRelations(BaseEngine engine,
java.util.List<java.lang.Long> contactidlist,
java.util.List<GroupItem> grouplist)
- Implementation of groupprivacy/addcontactgrouprelations API. Parameters
are; [auth], List contactidlist, List grouplist
- Parameters:
engine
- handle to ContactSyncEnginecontactidlist
- List of contacts ids associated with this request.grouplist
- List of groups associated with this request.
- Returns:
- request id generated for this request
deleteContactGroupRelationsExt
public static int deleteContactGroupRelationsExt(BaseEngine engine,
java.lang.Long groupid,
java.util.List<java.lang.Long> contactidlist)
- Implementation of groupprivacy/deletecontactgrouprelationsext API.
Parameters are; [auth], Long groupid, List contactidlist
- Parameters:
engine
- handle to IdentitiesEnginegroupid
- Group ID.contactidlist
- List of contact IDs to delete group relations.
- Returns:
- request id generated for this request
getGroups
public static int getGroups(BaseEngine engine,
java.lang.Integer pageindex,
java.lang.Integer pagesize)
- Implementation of groupprivacy/getgroups API. Parameters are; [auth],
Integer pageindex [opt], Integer pagesize [opt]
- Parameters:
engine
- handle to IdentitiesEnginepageindex
- Page index.pagesize
- PAge size.
- Returns:
- request id generated for this request
JavaDoc