public class FriendOperationContext
extends com.kakao.auth.common.PageableContext
Modifier and Type | Method and Description |
---|---|
static FriendOperationContext |
createContext(FriendContext firstFriendContext,
FriendContext secondFriendContext,
com.kakao.friends.request.FriendsOperationRequest.Operation operation,
boolean secureResource,
int offset,
int limit,
String order) |
String |
getFirstId() |
com.kakao.friends.request.FriendsOperationRequest.Operation |
getOperation() |
String |
getSecondId() |
boolean |
isSecureResource() |
public static FriendOperationContext createContext(FriendContext firstFriendContext, FriendContext secondFriendContext, com.kakao.friends.request.FriendsOperationRequest.Operation operation, boolean secureResource, int offset, int limit, String order) throws KakaoParameterException
firstFriendContext
- First operand to be used in friends operationsecondFriendContext
- Second operand to be used in friends operationoperation
- Operation enum (INTERSECTION/UNION/SUBTRACTION)secureResource
- true if a secure url is used, false if not.offset
- start offset for the fetched friends listlimit
- number of friends to be fetched in one paged request. (max 2000)order
- sort order (asc/dsc)KakaoParameterException
public String getFirstId()
public com.kakao.friends.request.FriendsOperationRequest.Operation getOperation()
public String getSecondId()
public boolean isSecureResource()