XCC/J 3.1-9

com.marklogic.xcc
Class ContentCapability

java.lang.Object
  extended bycom.marklogic.xcc.ContentCapability

public final class ContentCapability
extends Object

A typesafe enumeration class defining permission capability values.


Field Summary
static ContentCapability EXECUTE
          Execution is allowed
static ContentCapability INSERT
          Inserts are allowed
static ContentCapability READ
          Reads are allowed
static ContentCapability UPDATE
          Updates are allowed
 
Method Summary
 String getSymbol()
          Used internally.
 String toString()
          A human-readable name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READ

public static final ContentCapability READ
Reads are allowed


INSERT

public static final ContentCapability INSERT
Inserts are allowed


UPDATE

public static final ContentCapability UPDATE
Updates are allowed


EXECUTE

public static final ContentCapability EXECUTE
Execution is allowed

Method Detail

getSymbol

public String getSymbol()
Used internally.

Returns:
A single-char encoding symbol.

toString

public String toString()
A human-readable name.

Returns:
A String name for this capability.

XCC/J 3.1-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com