Overview

Summary

ContactDonateImprint


Appendix E-32: ARCHIVE ITEM (UI prompt)


ArchiveItemStoryModuleInstagram

Properties (6)

PropertyTypeEntityReferenceModule
(1) ArchivedAtDATEArchiveItem
(2) ItemTypeSTRINGArchiveItem
(3) PostLONGArchiveItemPostUserAccountModule
(4) ReelLONGArchiveItemReelReelModule
(5) StoryLONGArchiveItemStoryStoryModule
(6) UserAccountLONGArchiveItemUserAccountUserAccountModule


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /archiveitem/{id}findArchiveItemById(id)StoryModuleGETArchiveItem
(2) /archiveiteminsertArchiveItem(archiveitem)StoryModulePOSTArchiveItem
(3) /archiveitem/reel/{id}findAllArchiveItemOfReel(id)StoryModuleGETReel ArchiveItem
(4) /archiveitem/useraccount/{id}findAllArchiveItemOfUserAccount(id)StoryModuleGETUserAccount ArchiveItem
(5) /archiveitem/post/{id}findAllArchiveItemOfPost(id)StoryModuleGETPost ArchiveItem
(6) /archiveitem/story/{id}findAllArchiveItemOfStory(id)StoryModuleGETStory ArchiveItem
(7) /archiveitem/{id}updateArchiveItemById(archiveitem)StoryModulePUTArchiveItem
(8) /archiveitemfindAllArchiveItem()StoryModuleGETArchiveItem
(9) /archiveitem/{id}deleteArchiveItemById(id)StoryModuleDELETEArchiveItem





Example:

final ArchiveItem archiveitem = (ArchiveItem) invokeModule(STORY_MODULE + "/archiveitem/" + id, ArchiveItem.class);
if (archiveitem != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + archiveitem.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
    final Post post2 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + archiveitem.getPost().getId(), Post.class);
    if (post2 != null) {
        final Location location3 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post2.getLocation().getId(), Location.class);
        if (location3 != null) {
        }
        final UserAccount useraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post2.getUserAccount().getId(), UserAccount.class);
        if (useraccount4 != null) {
        }
    }
    final Story story5 = (Story) invokeModule(STORY_MODULE + "/story/" + archiveitem.getStory().getId(), Story.class);
    if (story5 != null) {
        final UserAccount useraccount6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + story5.getUserAccount().getId(), UserAccount.class);
        if (useraccount6 != null) {
        }
    }
    final Reel reel7 = (Reel) invokeModule(REEL_MODULE + "/reel/" + archiveitem.getReel().getId(), Reel.class);
    if (reel7 != null) {
        final UserAccount useraccount8 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reel7.getUserAccount().getId(), UserAccount.class);
        if (useraccount8 != null) {
        }
    }
}
return archiveitem;


Overview

Summary

ContactDonateImprint