org.exoplatform.clouddrive.box
Class BoxAPI

java.lang.Object
  extended by org.exoplatform.clouddrive.box.BoxAPI

public class BoxAPI
extends Object

All calls to Box API here. Created by The eXo Platform SAS.

Version:
$Id: BoxAPI.java 00000 Aug 30, 2013 pnedonosko $
Author:
Peter Nedonosko

Nested Class Summary
static class BoxAPI.ChangesLink
           
 
Field Summary
static String BOX_APP_URL
          URL of Box app.
static String BOX_EMBED_URL
          URL patter for Embedded UI of Box file.
static String BOX_EMBED_URL_SSO
           
static Set<String> BOX_EVENTS
           
static String BOX_FILE_URL
          URL prefix for Box files' UI.
protected static String BOX_FILES_PATH
          Not official part of the path used in file services with Box API.
static String BOX_ITEM_STATE_ACTIVE
          Box item_status for active items.
static String BOX_ITEM_STATE_TRASHED
          Box item_status for trashed items.
static String BOX_NOTE_EXT
          Extension for Box's webdoc files.
static String BOX_NOTE_MIMETYPE
          Custom mimetype for Box's note files.
static int BOX_PAGE_SIZE
          Pagination size used within Box API.
static String BOX_ROOT_ID
          Id of root folder on Box.
static String BOX_TRASH_ID
          Id of Trash folder on Box.
static Pattern BOX_URL_CUSTOM_PATTERN
           
static Pattern BOX_URL_MAKE_CUSTOM_PATTERN
           
static String BOX_WEBDOCUMENT_EXT
          Extension for Box's webdoc files.
static String BOX_WEBDOCUMENT_MIMETYPE
          Custom mimetype for Box's webdoc files.
protected static org.exoplatform.services.log.Log LOG
           
static String NO_STATE
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.exoplatform.services.log.Log LOG

BOX_PAGE_SIZE

public static final int BOX_PAGE_SIZE
Pagination size used within Box API.

See Also:
Constant Field Values

NO_STATE

public static final String NO_STATE
See Also:
Constant Field Values

BOX_ROOT_ID

public static final String BOX_ROOT_ID
Id of root folder on Box.

See Also:
Constant Field Values

BOX_TRASH_ID

public static final String BOX_TRASH_ID
Id of Trash folder on Box.

See Also:
Constant Field Values

BOX_ITEM_STATE_ACTIVE

public static final String BOX_ITEM_STATE_ACTIVE
Box item_status for active items.

See Also:
Constant Field Values

BOX_ITEM_STATE_TRASHED

public static final String BOX_ITEM_STATE_TRASHED
Box item_status for trashed items.

See Also:
Constant Field Values

BOX_APP_URL

public static final String BOX_APP_URL
URL of Box app.

See Also:
Constant Field Values

BOX_FILES_PATH

protected static final String BOX_FILES_PATH
Not official part of the path used in file services with Box API.

See Also:
Constant Field Values

BOX_FILE_URL

public static final String BOX_FILE_URL
URL prefix for Box files' UI.

See Also:
Constant Field Values

BOX_WEBDOCUMENT_EXT

public static final String BOX_WEBDOCUMENT_EXT
Extension for Box's webdoc files.

See Also:
Constant Field Values

BOX_WEBDOCUMENT_MIMETYPE

public static final String BOX_WEBDOCUMENT_MIMETYPE
Custom mimetype for Box's webdoc files.

See Also:
Constant Field Values

BOX_NOTE_EXT

public static final String BOX_NOTE_EXT
Extension for Box's webdoc files.

See Also:
Constant Field Values

BOX_NOTE_MIMETYPE

public static final String BOX_NOTE_MIMETYPE
Custom mimetype for Box's note files.

See Also:
Constant Field Values

BOX_EMBED_URL

public static final String BOX_EMBED_URL
URL patter for Embedded UI of Box file. Based on:
http://stackoverflow.com/questions/12816239/box-com-embedded-file-folder-viewer-code-via-api http://developers.box.com/box-embed/

See Also:
Constant Field Values

BOX_EMBED_URL_SSO

public static final String BOX_EMBED_URL_SSO
See Also:
Constant Field Values

BOX_URL_CUSTOM_PATTERN

public static final Pattern BOX_URL_CUSTOM_PATTERN

BOX_URL_MAKE_CUSTOM_PATTERN

public static final Pattern BOX_URL_MAKE_CUSTOM_PATTERN

BOX_EVENTS

public static final Set<String> BOX_EVENTS


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.