Search in sources :

Example 11 with HashTag

use of org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag in project spring-bot by finos.

the class TestFormMessageML method createNestedWeirdFieldsWorkResponse.

protected WorkResponse createNestedWeirdFieldsWorkResponse(WorkMode wm) {
    SymphonyUser someUser = new SymphonyUser(2678l, "bob", "bob@example.com");
    WeirdObject to4 = new WeirdObject();
    to4.setB(true);
    to4.setC(Choice.B);
    to4.setSomeUser(someUser);
    to4.setTheId(new HashTag("adf360dd-06fe-43a4-9a62-2c17fe2deefa"));
    WeirdObjectCollection ob5 = new WeirdObjectCollection();
    ob5.setOb4(to4);
    WorkResponse wr = createWorkAddSubmit(wm, ob5);
    return wr;
}
Also used : WeirdObject(org.finos.symphony.toolkit.workflow.fixture.WeirdObject) HashTag(org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag) WeirdObjectCollection(org.finos.symphony.toolkit.workflow.fixture.WeirdObjectCollection) WorkResponse(org.finos.symphony.toolkit.workflow.response.WorkResponse) SymphonyUser(org.finos.symphony.toolkit.workflow.sources.symphony.content.SymphonyUser)

Aggregations

HashTag (org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag)11 SymphonyUser (org.finos.symphony.toolkit.workflow.sources.symphony.content.SymphonyUser)6 WorkResponse (org.finos.symphony.toolkit.workflow.response.WorkResponse)4 SymphonyRoom (org.finos.symphony.toolkit.workflow.sources.symphony.content.SymphonyRoom)4 EntityJson (org.finos.symphony.toolkit.json.EntityJson)3 Chat (org.finos.symphony.toolkit.workflow.content.Chat)3 Message (org.finos.symphony.toolkit.workflow.content.Message)3 User (org.finos.symphony.toolkit.workflow.content.User)3 CashTag (org.finos.symphony.toolkit.workflow.sources.symphony.content.CashTag)3 UUID (java.util.UUID)2 Action (org.finos.symphony.toolkit.workflow.actions.Action)2 FormAction (org.finos.symphony.toolkit.workflow.actions.FormAction)2 SimpleMessageAction (org.finos.symphony.toolkit.workflow.actions.SimpleMessageAction)2 WeirdObject (org.finos.symphony.toolkit.workflow.fixture.WeirdObject)2 Button (org.finos.symphony.toolkit.workflow.form.Button)2 ButtonList (org.finos.symphony.toolkit.workflow.form.ButtonList)2 Test (org.junit.jupiter.api.Test)2 Taxonomy (org.symphonyoss.Taxonomy)2 SyndEntry (com.rometools.rome.feed.synd.SyndEntry)1 SymphonyIdentity (com.symphony.api.id.SymphonyIdentity)1