Uses of Class
com.atlassian.confluence.json.parser.JSONException

Packages that use JSONException
com.atlassian.confluence   
com.atlassian.confluence.it   
com.atlassian.confluence.it.admin   
com.atlassian.confluence.it.content   
com.atlassian.confluence.it.web   
com.atlassian.confluence.json   
com.atlassian.confluence.json.parser   
com.atlassian.confluence.rest   
 

Uses of JSONException in com.atlassian.confluence
 

Methods in com.atlassian.confluence that throw JSONException
 JSONObject AbstractConfluenceAcceptanceTest.setBlogLabels(Space space, String blogTitle, String labels)
          Add the specified labels to the blog
 JSONObject AbstractConfluenceAcceptanceTest.setPageLabels(String spaceKey, String pageTitle, String labels)
          Add the specified labels to the page
 void LabelsAcceptanceTest.testAddLabelIsCaseInsensitive()
           
 void LabelsAcceptanceTest.testAddLabelsToPage()
           
 void LabelsAcceptanceTest.testAddLabelToBlogpost()
           
 void LabelsAcceptanceTest.testAddLabelToPage()
           
 void PersonalLabelsAcceptanceTest.testAddPersonalLabelForCurrentUser()
           
 void PersonalLabelsAcceptanceTest.testAddPersonalLabelForDifferentUser()
           
 void PersonalLabelsAcceptanceTest.testAddPersonalLabelForSelfAndDifferentUser()
           
 void PersonalLabelsAcceptanceTest.testAddPersonalLabelForSelfAndInvalidLabel()
           
 void SpaceLabelsAcceptanceTest.testAddSuggestedSpaceLabel()
           
 void LabelsAcceptanceTest.testAlphaView()
           
 void PersonalLabelsAcceptanceTest.testAlphaViewDoesNotContainPersonalLabels()
           
 void SignupAcceptanceTest.testDisablingSignupRemovesShowsErrorOnSignupScreen()
           
 void AttachedImagesJsonAcceptanceTest.testDraftWithNoAttachments()
           
 void AttachedImagesJsonAcceptanceTest.testDraftWithOneImageAttachment()
           
 void LabelsAcceptanceTest.testEditLabel()
           
 void InviteUsersAcceptanceTest.testInviteFailsOnBadTokenAndDomainRestrictedSignup()
           
 void InviteUsersAcceptanceTest.testInviteFailsOnBadTokenAndNoPublicSignup()
           
 void InviteUsersAcceptanceTest.testInviteFailsOnProcessPhaseWithBadTokenAndNoPublicSignup()
           
 void InviteUsersAcceptanceTest.testInviteWorksWithWrongDomainOnDomainRestrictedSignup()
           
 void LabelsAcceptanceTest.testLabelNavigationLinksWithSpaceKey()
           
 void LabelsAcceptanceTest.testLabelServlet()
           
 void LabelsAcceptanceTest.testLabelWithSlashInIt()
           
 void AttachedImagesJsonAcceptanceTest.testPageWithMixedAttachments()
           
 void AttachedImagesJsonAcceptanceTest.testPageWithNoAttachments()
           
 void AttachedImagesJsonAcceptanceTest.testPageWithOneImageAttachment()
           
 void LabelsAcceptanceTest.testRemoveLabel()
           
 void PersonalLabelsAcceptanceTest.testUserLabelBrowser()
           
 void PersonalLabelsAcceptanceTest.testUserLabelBrowserDoesNotContainFavourites()
          Favourites are implemented as personal labels under the hood.
 void LabelsAcceptanceTest.testUserWithSpecialCharsInUsernameAddLabels()
          Tests to see if a user with special characters in their name can add global labels.
 void PersonalLabelsAcceptanceTest.testUserWithSpecialCharsInUsernameAddPersonalLabels()
          Tests to see if a user with special characters in their name can add personal and global labels.
 void LabelsAcceptanceTest.testViewLabelIsCaseInsensitive()
           
 void LabelsAcceptanceTest.testViewRemovedLabelID()
           
 void LabelsAcceptanceTest.testViewUndefinedLabelID()
           
 

Uses of JSONException in com.atlassian.confluence.it
 

Methods in com.atlassian.confluence.it that throw JSONException
static JSONObject RestHelper.getJsonResponse(com.sun.jersey.api.client.WebResource resource)
          Send a GET request to the provided WebResource and return the response as a JSON object.
static JSONObject RestHelper.postJson(String url, String jsonPayload, User user)
           
static void RestHelper.postJsonWithNoResponse(String url, String jsonPayload, User user)
           
 

Uses of JSONException in com.atlassian.confluence.it.admin
 

Methods in com.atlassian.confluence.it.admin that throw JSONException
 JSONObject SignupSettings.postSendUserInvites(String emailMessage, String[] recipientList)
           
 void UserSignupSettings.setSettings(boolean notify, String domains, boolean enable)
           
 

Uses of JSONException in com.atlassian.confluence.it.content
 

Methods in com.atlassian.confluence.it.content that throw JSONException
 void ShareContentHelper.share(long pageId, User user, String message, String... emails)
          Share the specified page as the specified user with one or more e-mail addressed.
 void ShareContentHelper.share(long pageId, User user, String message, User... usersToShareWith)
          Share the specified page as the specified user with one or more users.
 

Uses of JSONException in com.atlassian.confluence.it.web
 

Methods in com.atlassian.confluence.it.web that throw JSONException
static JSONArray JsonAssertions.arr(Object... args)
          Constructs a JSON array from the provided arguments.
static void JsonAssertions.assertJsonEquals(String message, JSONArray expected, JSONArray actual)
           
static void JsonAssertions.assertJsonEquals(String message, JSONObject expected, JSONObject actual)
           
static void JsonAssertions.assertJsonEquals(String message, Object expected, Object actual)
           
static void JsonAssertions.assertJsonHasProperties(String message, JSONObject expectedProperties, JSONObject actual)
           
static JSONObject JsonAssertions.obj(Object... args)
          Constructs a JSON object from the provided arguments.
 

Uses of JSONException in com.atlassian.confluence.json
 

Methods in com.atlassian.confluence.json that throw JSONException
 String JSONAction.getJSONString()
          Deprecated.  
 

Uses of JSONException in com.atlassian.confluence.json.parser
 

Methods in com.atlassian.confluence.json.parser that return JSONException
 JSONException JSONTokener.syntaxError(String message)
          Deprecated. Make a JSONException to signal a syntax error.
 

Methods in com.atlassian.confluence.json.parser that throw JSONException
 JSONObject JSONObject.accumulate(String key, Object value)
          Accumulate values under a key.
 JSONObject JSONObject.append(String key, Object value)
          Append values to the array under a key.
 Object JSONArray.get(int index)
          Deprecated. Get the object value associated with an index.
 Object JSONObject.get(String key)
          Get the value object associated with a key.
 boolean JSONArray.getBoolean(int index)
          Deprecated. Get the boolean value associated with an index.
 boolean JSONObject.getBoolean(String key)
          Get the boolean value associated with a key.
 double JSONArray.getDouble(int index)
          Deprecated. Get the double value associated with an index.
 double JSONObject.getDouble(String key)
          Get the double value associated with a key.
 int JSONArray.getInt(int index)
          Deprecated. Get the int value associated with an index.
 int JSONObject.getInt(String key)
          Get the int value associated with a key.
 JSONArray JSONArray.getJSONArray(int index)
          Deprecated. Get the JSONArray associated with an index.
 JSONArray JSONObject.getJSONArray(String key)
          Get the JSONArray value associated with a key.
 JSONObject JSONArray.getJSONObject(int index)
          Deprecated. Get the JSONObject associated with an index.
 JSONObject JSONObject.getJSONObject(String key)
          Get the JSONObject value associated with a key.
 long JSONArray.getLong(int index)
          Deprecated. Get the long value associated with an index.
 long JSONObject.getLong(String key)
          Get the long value associated with a key.
 String JSONArray.getString(int index)
          Deprecated. Get the string associated with an index.
 String JSONObject.getString(String key)
          Get the string associated with a key.
 String JSONArray.join(String separator)
          Deprecated. Make a string from the contents of this JSONArray.
 char JSONTokener.next(char c)
          Deprecated. Consume the next character, and check that it matches a specified character.
 String JSONTokener.next(int n)
          Deprecated. Get the next n characters.
 char JSONTokener.nextClean()
          Deprecated. Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
 String JSONTokener.nextString(char quote)
          Deprecated. Return the characters up to the next close quote character.
 Object JSONTokener.nextValue()
          Deprecated. Get the next value.
static String JSONObject.numberToString(Number n)
          Produce a string from a Number.
 JSONArray JSONArray.put(double value)
          Deprecated. Append a double value.
 JSONArray JSONArray.put(int index, boolean value)
          Deprecated. Put or replace a boolean value in the JSONArray.
 JSONArray JSONArray.put(int index, Collection value)
          Deprecated. Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
 JSONArray JSONArray.put(int index, double value)
          Deprecated. Put or replace a double value.
 JSONArray JSONArray.put(int index, int value)
          Deprecated. Put or replace an int value.
 JSONArray JSONArray.put(int index, long value)
          Deprecated. Put or replace a long value.
 JSONArray JSONArray.put(int index, Map value)
          Deprecated. Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
 JSONArray JSONArray.put(int index, Object value)
          Deprecated. Put or replace an object value in the JSONArray.
 JSONObject JSONObject.put(String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.put(String key, Collection value)
          Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
 JSONObject JSONObject.put(String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(String key, Map value)
          Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
 JSONObject JSONObject.put(String key, Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.putOpt(String key, Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
 JSONArray JSONObject.toJSONArray(JSONArray names)
          Produce a JSONArray containing the values of the members of this JSONObject.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Deprecated. Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
 String JSONObject.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONObject.
 String JSONArray.toString(int indentFactor)
          Deprecated. Make a prettyprinted JSON text of this JSONArray.
 Writer JSONObject.write(Writer writer)
          Write the contents of the JSONObject as JSON text to a writer.
 Writer JSONArray.write(Writer writer)
          Deprecated. Write the contents of the JSONArray as JSON text to a writer.
 

Constructors in com.atlassian.confluence.json.parser that throw JSONException
JSONArray(JSONTokener x)
          Deprecated. Construct a JSONArray from a JSONTokener.
JSONArray(Object array)
          Deprecated. Construct a JSONArray from an array
JSONArray(String source)
          Deprecated. Construct a JSONArray from a source JSON text.
JSONObject(JSONObject jo, String[] names)
          Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener x)
          Construct a JSONObject from a JSONTokener.
JSONObject(String source)
          Construct a JSONObject from a source JSON text string.
 

Uses of JSONException in com.atlassian.confluence.rest
 

Methods in com.atlassian.confluence.rest that throw JSONException
protected  JSONObject AbstractRestAcceptanceTest.doGet(com.sun.jersey.api.client.WebResource resource)
           
 void RestSearchAcceptanceTest.testAnonymousSearchPermissions()
           
 



Copyright © 2003-2012 Atlassian. All Rights Reserved.