Page tree
Skip to end of metadata
Go to start of metadata

Note

Creating a Space can only be done when authenticated as a user, it cannot be done when authenticated as an application.

The "createSpace" mutation creates a new Space.The new space requires at least a title.

The org.opencode4workspace.builders.SpaceCreateGraphQLMutation has simple static helper methods to create a space with just a title, buildCreateSpaceMutationWithSpaceTitle(String), or with a title and members, buildCreateSpaceMutationWithSpaceTitleAndMembers(String, List<String>). Similar methods are also available from WWClient and WWGraphQLEndpoint. These will just return a Space object with the space id as their result.

For greater control, create the InputDataSenderBuilder and ObjectDataSenderBuilder manually. Create an InputDataSenderBuilder for the Space.CREATE_SPACE_MUTATION_NAME object, adding the Space title and the members you wish to assign access for the Space. A CreateSpaceFields enum is available to avoid typos. Create an ObjectDataSenderBuilder for the Space.ONE_SPACE_QUERY_OBJECT_NAME object, passing in Space fields and children. Instantiate a new SpaceCreateGraphQLMutation passing in the InputDataSenderBuilder and ObjectDataSenderBuilder as parameters. Then pass this to WWClient.createSpaceWithQuery().

Examples

Basic createSpace
Space space = client.createSpace("Hello World");
assert null != space.getId();
basic createSpace with members
ArrayList<String> members = new ArrayList<String>();
members.add("7bf6c84f-861c-43df-816a-85748766912e");
members.add("1d1bf268-c263-4eea-aaec-e2dbeaa2fb71");
Space space = client.createSpace("Hello World", members);
assert null != space.getId();
createSpaceWithQuery
ArrayList<String> members = new ArrayList<String>();
members.add("7bf6c84f-861c-43df-816a-85748766912e");
members.add("1d1bf268-c263-4eea-aaec-e2dbeaa2fb71");
InputDataSenderBuilder spaceInput = new InputDataSenderBuilder(Space.CREATE_SPACE_MUTATION_NAME);
spaceInput.addField(CreateSpaceFields.TITLE, title);
spaceInput.addField(CreateSpaceFields.MEMBERS, members);
ObjectDataSenderBuilder returnObject = new ObjectDataSenderBuilder(Space.ONE_SPACE_QUERY_OBJECT_NAME);
returnObject.addField(SpaceFields.ID);
returnObject.addField(SpaceFields.TITLE);
SpaceCreateGraphQLMutation mutationObject = new SpaceCreateGraphQLMutation(spaceInput, returnObject);

Space spaceResult = client.createSpaceWithQuery(mutationObject);
assert null != space.getTitle();

32 Comments

  1. Anonymous

    An inquiry is a one-page letter introducing yourself and your novel. Before long, I'd swear off pressing an unreasonable measure of information into your inquiry letter, so single-isolating to make it fit on one page shouldn't be basic. The assignment service provider is good enough to provide data which can be transmitted into the real world.

  2. Anonymous

    I just love to visit this website and I got informative stuff from this website. Keep it up.

    William Riley, Assistant writer at Elite Assignment

  3. Anonymous

    It has basic static partner strategies to make a space, As Adweb Studio brings the most efficient service for Web Design users as get to know more you have to visit the website to know about our exciting deals and updates!

  4. Anonymous

    quick ways to make money make money online from home make money how to make money how to make extra money make money online from home how to make quick money make money make money at home how to make extra money from home https://www.fresher.ru/elz/# - make money online
  5. Anonymous

    pregnant women coronavirus till lindemann coronavirus ‌‌coronavirus drug coronavirus deutschland todesrate worldometers coronavirus florida coronavirus james dolan coronavirus coronavirus treatment pregnant women coronavirus coronavirus by state https://pharm-usa-official.com/coronavirus/# - ‌‌coronavirus drug http://pearlfmradio.sx/2011/01/12/the-ninth-annual-lionel-bernard-scott-memorial-lecture/#comment-496490 https://mainefirstmedia.com/2018/05/graduation-day-last-chance-to-brainwash/?unapproved=1045877&moderation-hash=66d8b83fc2ba833a140da4bfc5d00e2f#comment-1045877 https://gametrade.jp/lastwars/board https://archive.nyafuu.org/e/thread/2376292/#2376340 https://newswithchai.com/odisha-in-the-eye-of-cyclone-fani/9454/?unapproved=489412&moderation-hash=84f5a23d13708f105438561355d79393#comment-489412
  6. Anonymous

    business loans loans online payday loans payday loans wells fargo student loans home equity loans zillow home loans division lawrence o’donnell trump loans discover student loans navient student loans login https://paydailoanz.com/# - payday loans https://theozonetech.com/2019/11/02/teyana-taylor-kehlani-morning-official-video-and-lyrics/?unapproved=56378&moderation-hash=2ee3c7344b163ecea814a619a09ba047#comment-56378 https://www.nilnews.com/gangsters-act-slapped-against-28-accused-of-violence-during-anti-caa-protests-in-lucknow/?unapproved=38917&moderation-hash=7933575cd4b316db2445d0473d7c50d8#comment-38917 http://www.phpec.org/demo/x3/home.php?mod=space&uid=1167371 https://astirodysseus.com/metallicas-kirk-hammett-loses-to-mrs-smith-in-wah-off-guitar-battle-watch/?unapproved=9304&moderation-hash=b54ce9761b50339286e749756daf4ab4#comment-9304 http://medgatetoday.com/minimum-quality-requirements-ease-of-custom-duty-extension-of-input-tax-credits-for-gst-in-healthcare-nathealth-lab-diagnostic-study/?unapproved=429218&moderation-hash=848b192168825153806aeb688dec9a43#comment-429218
  7. Anonymous

    legitimate work from home opportunities amazon work from home work from home opportunities fifth harmony work from home quick ways to make money home work work from home jobs amazon money online best ways to make money online making money on youtube https://make-money-blogs.com/# - online money
  8. Anonymous

    making money on youtube online casino real money how does facebook make money teletech work from home best work from home jobs how to make money fast make money online work at home companies best way to make passive income how to make easy money https://make-money-blogs.com/# - make extra money from home
  9. Anonymous

    what is coronavirus in cats coronavirus. what is mers coronavirus coronavirus vaccine schedule coronavirus causes coronavirus sars coronavirus vaccine for dogs what is mers coronavirus how long does feline coronavirus survive coronavirus pneumonia https://pharm-usa-official.com/coronavirus/# - enteric coronavirus
  10. Anonymous

    buy cialis online cheap cialis https://wowcialisnow.com/# - cialis online
  11. Anonymous

    adele weight loss weight loss plateau best diet for weight loss hypnosis for weight loss weight loss coffee best weight loss supplements medi weight loss before and after weight loss healthy recipes for weight loss safflower oil for weight loss https://weight-loss-blogs.com/# - best diet for weight loss
  12. Anonymous

    generic cialis buy generic cialis online https://wowcialisnow.com/# - cialis buy cialis online
  13. Anonymous

  14. Anonymous

    cialis cialis online https://wowcialisnow.com/# - cialis
  15. Anonymous

  16. Anonymous

    keely shaye smith weight loss weight loss blogs medical weight loss weight loss tips weight loss apps jorge garcia weight loss fast weight loss weight loss gabourey sidibe weight loss before and after quick weight loss https://weight-loss-blogs.com/# - medi weight loss
  17. Anonymous

    buy cialis cialis https://wowcialisnow.com/# - online cialis http://images.google.com.mt/url?q=http://make-money-blogs.com/ https://images.google.mv/url?q=https://wowcialisnow.com/ https://maps.google.com.ni/url?q=http://make-money-blogs.com/ http://maps.google.ht/url?q=http://make-money-blogs.com/ http://maps.google.ci/url?q=https://wowcialisnow.com/
  18. Anonymous

    weight loss before and after dr oz weight loss weight loss meal plan jorge garcia weight loss best protein powder for weight loss apple cider vinegar weight loss gabourey sidibe weight loss weight loss before and after intermittent fasting weight loss fasting for weight loss https://weight-loss-blogs.com/# - honey boo boo weight loss
  19. Anonymous

    viagra before and after photos viagra boner mom viagra master gave me a viagra before he punished me natural equivalent to viagra does viagra cause angina viagra porn viagra viagra erection cum shot how much time before sex should i take viagra https://pharm-usa-official.com - viagra
  20. Anonymous

    how does viagra work viagra by mail viagra histroy of viagra viagra online feeling like a young buck on viagra sex viagra for men viagra wal mart price for viagra how to get viagra https://pharm-usa-official.com - viagra
  21. Anonymous

    weight loss calculator keto pills for weight loss how to reduce weight diet plans weight loss foods weight loss green smoothie lose weight fast for women medi weight loss how to reduce weight chrissy metz weight loss https://weight-loss-blogs.com - best diet for weight loss
  22. Anonymous

    buy tadalafil tablets tadalafil vs viagra liquid tadalafil mylan tadalafil vardenafil vs tadalafil tadalafil tablets 20 mg tadalafil lilly tadalafil 20 mg tadalafil prix en pharmacie tadalafil 5 mg https://supertadalafil.com/ - tadalafil cialis mylan tadalafil tadalafil generic cialis 20 mg tadalafil generic tadalafil 20 mg prix tadalafil online canadian pharmacy tadalafil 5 mg tadalafil 40 mg buy tadalafil online tadalafil reviews cialis generic tadalafil https://xtadalafilx.com/ - generic cialis tadalafil
  23. Anonymous

    tadalafil powder cialis generic cialis tadalafil buy tadalafil online generic cialis tadalafil 20mg tadalafil en ligne tadalafil en ligne tadalafil 20mg prix liquid tadalafil tadalafil online canadian pharmacy cialis-impuissance tadalafil https://supertadalafil.com/ - tadalafil cialis buy tadalafil tadalafil biogaran 20 mg prix generic tadalafil tadalafil cost cvs tadalafil 20mg avis generic cialis tadalafil 20 mg from india tadalafil side effects cialis tadalafil tadalafil side effects prix tadalafil https://xtadalafilx.com/ - tadalafil 20mg
  24. Anonymous

    testosterone supplements free testosterone testosterone cypionate best testosterone booster low testosterone symptoms in men testosterone testosterone cream low testosterone symptoms male hormones testosterone foods https://pharm-usa-official.com/testosterone.php - how to increase testosterone
  25. Anonymous

    generic levitra levitra canada levitra coupon levitra price order levitra buy levitra online cialis 20mg buy levitra online levitra com levitra 20 https://drugstoreonliner.com/ - levitra coupon
  26. Anonymous

    Viagra and Cialis have different approved uses, but they re both used to treat ED.Avanafil is not long-lived in the effects, but also on side effects very small.Brands vs Generics What Matters Most.However, it is clear that in the near future there will be guidelines regarding the standards of e-commerce medications.Several dietary supplements, herbal preparations, and food products are sold as remedies for erectile dysfunction. online viagra Cialis is recognized as an innovative tool in comparison with analogues, as it can be used by the course method for constant control of erection and potency.Fat man isn't about to back down.A large amount of alcohol can increase and increase the likelihood of side effects.There s a lot you could look at in terms of diet and physical activity, for example.When a person is aroused, the arteries dilate, causing the chambers to be filled with blood. viagra buy Cialis and Viagra are prescription drugs.First of all, the CGMP is responsible for relaxing the smooth musculature of the penis and dilating the blood vessels.Can moreover 1 an.Packing 9 glass bottles.What is more, anatomical abnormalities of the penis can also be a serious contraindication to applying any PDE5 inhibitors. https://pharm-usa-official.com - online viagra manufacturers, the agency has little recourse other than to issue alerts and urge healthcare professionals and patients to report any adverse reactions to the MedWatch reporting system online or by fax.9 __________ you remember to buy some milk.Prices vary depending on tablet size, with 25mg, 50mg and 100mg available.Furthermore, manifold applications for generic drugs are often approved to market a single product; this creates competition in the marketplace, naturally ensuing in lower prices.No description of the homepage has been found.
  27. Anonymous

    make you feel rich and my child leaves the mental jackets.As of April 16, 2018, Viagra Connect is available over the counter.Dizziness, palpitations or visual impairments are less frequent.New and Existing Cases of Bleeding.It was still so new that they had no idea what might happen. viagra buy - Periodic decline of hormones.Murad Sadiq, who runs a pharmacy in northern Cairo, says he always explains the side effects to customers but that they still insist on buying it.пёЏHow Much Is Viagra May help with your own body s ability to gain an erection naturally пёЏ Some Of The Other Common Names Of This Herb Are Erection Root And Sex Wood.Conditions of normally such drug on relationship than.ItРІР‚ s believed that around 90 of all medicines sold illegally are pretending to be Viagra, and that around 77 of online Viagra sales are counterfeits. viagra Very elegant option, but suitable only for slender fit people.10 tablets 850 rubles 85 rubles 20 tablets 1700p 10pc 10pc donate 56 roubles 30 tablets 2200r 10pc 10pc give 55 rubles 40 tablets 2700r 10pc give 54 rubles 50 tablets 3200r 10pc donate 53 roubles 100 tablets 5000 rubles 50 rubles.Fnaf Sfm Counting Sheep Safia.Cialis vs Viagra.allergic reaction priapism long-lasting and sometimes painful erection non-arteritic anterior ischemic optic neuropathy NAION , which is an eye condition that causes damage to your optic nerve sudden hearing loss low blood pressure, if the drugs are taken with certain other medications cardiovascular problems, such as heart attack, irregular heartbeat, and stroke, all of which mainly occur in people with heart disease. https://pharm-usa-official.com - viagra Exercises Routines FAQ and Glossary Other Resources Contact Us About Us.Their product s efficacy is basically self-evident.21 marriage in these activity for, inability cognitive where side found.Tablets should be taken inside, while drinking a lot of water.Therefore, in order to eliminate the factor of lack of excitatory factor before taking Viagra, you need to see a doctor andrologist to check the level of hormones in the blood.
  28. Anonymous

    11 You don t need to bring __________ to eat.The effect will differ depending on the individual and subsequent doses can be decreased to 25mg if the result is highly effective, or increased to a 100mg dose if 50mg proves ineffective.14 MB 00 04 40 7K.Other diseases in which the admission of Female Viagra is unacceptable.You can ask at the pharmacy counter for a quiet word or to have a conversation in a private room if they prefer - most pharmacies now have private consultation facilities. viagra generic Plasma myalgia activity at factors treatment are risk dysfunction insufficiencies stuffy 5.Rating 2.5 5 Efficiency Price quality Side effects.High blood pressure has the same mechanism of working.51 MB, 2 min and 40 seconds long and 192 Kbps.The main component of Viagra produced in India is sildenafil. viagra buy Steep Goals Under Music 6 Best Goals Made By Himself.These medications will not help you when you have taken an excess drink.How to get viagra canada I Drug interactions deviationism, nucleateed milliwatts, theophany generalists nitty-gritty.Viagra Gone Wrong Prank.It increases blood flow to the penis so that erection can be achieved upon getting sexual stimulation. https://pharm-usa-official.com - online viagra While Pfizer held the patent for sildenafil for many years, that patent expired in 2012 and opened the door to other companies being able to sell generics.The fact that it comes in a low-dose 2.Take the blue pill at least an hour and a half and ideally two hours after a meal and avoid consuming alcohol in the lead-up.Just like Viagra, Cialis is a phosphodiesterase type 5 inhibitor but its active ingredient is tadalafil rather than sildenafil.Not all companies selling Viagra are licensed and some may not take measures to safeguard your well-being.
  29. Anonymous

    winstar world casino lucky lady casino roof collapse https://playcasinoslotsx.com - double u casino weight loss programs best way to lose weight https://weight-loss-blogs.com - how to lose weight quickly how to make money from home how to make money https://make-money-blogs.com - how to make money from home
  30. Anonymous

    san manuel casino evander kane casino https://playcasinoslotsx.com - chumba casino weight loss pills lose weight fast https://weight-loss-blogs.com - best way to lose weight how to make money from home how to earn money online https://make-money-blogs.com - how to get money
  31. Anonymous

    viagra vs cialis buy cialis https://paydailoanz.com/cialis.php - viagra vs cialis generic name for cialis tadalafil reviews https://paydailoanz.com/tadalafil.php - tadalafil liquid generic levitra levitra online https://paydailoanz.com/levitra.php - online levitra online levitra cialis 20mg https://cbdoilnumber1.com/levitra/ - levitra dosage buy cialis online safely cialis generic https://cbdoilnumber1.com/cialis/ - cialis
  32. Anonymous

    hollywood casino play4fun double u casino https://playcasinoslotsx.com - doubledown casino losing weight weight loss programs https://weight-loss-blogs.com - how to lose weight fast how to make how to earn money online https://make-money-blogs.com - how to make money from home
Write a comment…