Overview

Summary

ContactDonateImprint


5. SPACE MODULE (UI prompt)



Module Entities (5)

EntityAliasModuleGlobal Schema
(1) ReportReportSpaceModuleTwitterX
(2) SpaceSpaceSpaceModuleTwitterX
(3) SpaceParticipantSpaceParticipantSpaceModuleTwitterX
(4) TweetTweetTweetModuleTwitterX
(5) UserAccountUserAccountUserAccountModuleTwitterX

Module Interfaces (22)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /space/creatoruser/{id}findAllSpaceOfCreatorUser(id)SpaceModuleGETUserAccount Space
(2) /spaceparticipantfindAllSpaceParticipant()SpaceModuleGETSpaceParticipant
(3) /report/{id}deleteReportById(id)SpaceModuleDELETEReport
(4) /spaceparticipant/user/{id}findAllSpaceParticipantOfUser(id)SpaceModuleGETUserAccount SpaceParticipant
(5) /reportfindAllReport()SpaceModuleGETReport
(6) /spaceparticipant/space/{id}findAllSpaceParticipantOfSpace(id)SpaceModuleGETSpace SpaceParticipant
(7) /report/{id}findReportById(id)SpaceModuleGETReport
(8) /space/{id}updateSpaceById(space)SpaceModulePUTSpace
(9) /report/reporteruser/{id}findAllReportOfReporterUser(id)SpaceModuleGETUserAccount Report
(10) /spaceinsertSpace(space)SpaceModulePOSTSpace
(11) /space/{id}deleteSpaceById(id)SpaceModuleDELETESpace
(12) /spaceparticipant/{id}findSpaceParticipantById(id)SpaceModuleGETSpaceParticipant
(13) /spaceparticipant/{id}deleteSpaceParticipantById(id)SpaceModuleDELETESpaceParticipant
(14) /spaceparticipantinsertSpaceParticipant(spaceparticipant)SpaceModulePOSTSpaceParticipant
(15) /reportinsertReport(report)SpaceModulePOSTReport
(16) /space/{id}findSpaceById(id)SpaceModuleGETSpace
(17) /report/{id}updateReportById(report)SpaceModulePUTReport
(18) /report/reportedtweet/{id}findAllReportOfReportedTweet(id)SpaceModuleGETTweet Report
(19) /spaceparticipant/{id}updateSpaceParticipantById(spaceparticipant)SpaceModulePUTSpaceParticipant
(20) /spacefindAllSpace()SpaceModuleGETSpace
(21) /report/reporteduser/{id}findAllReportOfReportedUser(id)SpaceModuleGETUserAccount Report
(22) /report/resolveruser/{id}findAllReportOfResolverUser(id)SpaceModuleGETUserAccount Report






5.1 REPORT


ReportSpaceModuleTwitterX

Properties (9)

PropertyTypeEntityReferenceModule
(1) CategorySTRINGReport
(2) CreatedAtSTRINGReport
(3) DescriptionSTRINGReport
(4) ReportedTweetLONGReportTweetTweetModule
(5) ReportedUserLONGReportUserAccountUserAccountModule
(6) ReporterUserLONGReportUserAccountUserAccountModule
(7) ResolvedAtSTRINGReport
(8) ResolverUserLONGReportUserAccountUserAccountModule
(9) StatusSTRINGReport





Example:

final Report report = (Report) invokeModule(SPACE_MODULE + "/report/" + id, Report.class);
if (report != null) {
    final Tweet reportedtweet1 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + report.getReportedTweet().getId(), Tweet.class);
    if (reportedtweet1 != null) {
        final UserAccount inreplytouser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reportedtweet1.getInReplyToUser().getId(), UserAccount.class);
        if (inreplytouser2 != null) {
        }
        final UserAccount user3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reportedtweet1.getUser().getId(), UserAccount.class);
        if (user3 != null) {
        }
    }
    final UserAccount reporteduser4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReportedUser().getId(), UserAccount.class);
    if (reporteduser4 != null) {
    }
    final UserAccount reporteruser5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReporterUser().getId(), UserAccount.class);
    if (reporteruser5 != null) {
    }
    final UserAccount resolveruser6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getResolverUser().getId(), UserAccount.class);
    if (resolveruser6 != null) {
    }
}
return report;


5.2 SPACE


SpaceSpaceModuleTwitterX

Properties (9)

PropertyTypeEntityReferenceModule
(1) CreatedAtSTRINGSpace
(2) CreatorUserLONGSpaceUserAccountUserAccountModule
(3) DescriptionSTRINGSpace
(4) EndedAtSTRINGSpace
(5) IsRecordedBOOLSpace
(6) LanguageSTRINGSpace
(7) ScheduledStartSTRINGSpace
(8) StartedAtSTRINGSpace
(9) TitleSTRINGSpace





Example:

final Space space = (Space) invokeModule(SPACE_MODULE + "/space/" + id, Space.class);
if (space != null) {
    final UserAccount creatoruser1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + space.getCreatorUser().getId(), UserAccount.class);
    if (creatoruser1 != null) {
    }
}
return space;


5.3 SPACE PARTICIPANT


SpaceParticipantSpaceModuleTwitterX

Properties (5)

PropertyTypeEntityReferenceModule
(1) JoinedAtSTRINGSpaceParticipant
(2) LeftAtSTRINGSpaceParticipant
(3) RoleSTRINGSpaceParticipant
(4) SpaceLONGSpaceParticipantSpaceSpaceModule
(5) UserLONGSpaceParticipantUserAccountUserAccountModule





Example:

final SpaceParticipant spaceparticipant = (SpaceParticipant) invokeModule(SPACE_MODULE + "/spaceparticipant/" + id, SpaceParticipant.class);
if (spaceparticipant != null) {
    final UserAccount user1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + spaceparticipant.getUser().getId(), UserAccount.class);
    if (user1 != null) {
    }
    final Space space2 = (Space) invokeModule(SPACE_MODULE + "/space/" + spaceparticipant.getSpace().getId(), Space.class);
    if (space2 != null) {
        final UserAccount creatoruser3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + space2.getCreatorUser().getId(), UserAccount.class);
        if (creatoruser3 != null) {
        }
    }
}
return spaceparticipant;


Overview

Summary

ContactDonateImprint