Overview

Summary

ContactDonateImprint


Appendix E-13: FOLLOW RELATION (UI prompt)


FollowRelationHashtagModuleInstagram

Properties (4)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEFollowRelation
(2) FollowedLONGFollowRelationUserAccountUserAccountModule
(3) FollowerLONGFollowRelationUserAccountUserAccountModule
(4) IsCloseFriendBOOLFollowRelation


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /followrelation/follower/{id}findAllFollowRelationOfFollower(id)HashtagModuleGETUserAccount FollowRelation
(2) /followrelation/{id}deleteFollowRelationById(id)HashtagModuleDELETEFollowRelation
(3) /followrelation/followed/{id}findAllFollowRelationOfFollowed(id)HashtagModuleGETUserAccount FollowRelation
(4) /followrelationinsertFollowRelation(followrelation)HashtagModulePOSTFollowRelation
(5) /followrelation/{id}findFollowRelationById(id)HashtagModuleGETFollowRelation
(6) /followrelation/{id}updateFollowRelationById(followrelation)HashtagModulePUTFollowRelation
(7) /followrelationfindAllFollowRelation()HashtagModuleGETFollowRelation





Example:

final FollowRelation followrelation = (FollowRelation) invokeModule(HASHTAG_MODULE + "/followrelation/" + id, FollowRelation.class);
if (followrelation != null) {
    final UserAccount follower1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + followrelation.getFollower().getId(), UserAccount.class);
    if (follower1 != null) {
    }
    final UserAccount followed2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + followrelation.getFollowed().getId(), UserAccount.class);
    if (followed2 != null) {
    }
}
return followrelation;


Overview

Summary

ContactDonateImprint