org.ccnx.ccn.profiles.security.access.group.ACL.ACLOperation Class Reference

This class represents the operations that can be performed on an ACL, such as add or delete readers, writers or managers. More...

Inheritance diagram for org.ccnx.ccn.profiles.security.access.group.ACL.ACLOperation:

org.ccnx.ccn.io.content.Link org.ccnx.ccn.impl.encoding.GenericXMLEncodable org.ccnx.ccn.impl.encoding.XMLEncodable org.ccnx.ccn.impl.encoding.XMLEncodable

List of all members.

Public Member Functions

 ACLOperation (String label, Link linkRef)
long getElementLabel ()
 Allow the encoder/decoder to retrieve the top-level element name programmatically.

Static Public Member Functions

static ACLOperation addReaderOperation (Link linkRef)
static ACLOperation removeReaderOperation (Link linkRef)
static ACLOperation addWriterOperation (Link linkRef)
static ACLOperation removeWriterOperation (Link linkRef)
static ACLOperation addManagerOperation (Link linkRef)
static ACLOperation removeManagerOperation (Link linkRef)

Static Public Attributes

static final String LABEL_ADD_READER = "+r"
static final String LABEL_ADD_WRITER = "+rw"
static final String LABEL_ADD_MANAGER = "+rw+"
static final String LABEL_DEL_READER = "-r"
static final String LABEL_DEL_WRITER = "-rw"
static final String LABEL_DEL_MANAGER = "-rw+"


Detailed Description

This class represents the operations that can be performed on an ACL, such as add or delete readers, writers or managers.

Member Function Documentation

long org.ccnx.ccn.profiles.security.access.group.ACL.ACLOperation.getElementLabel (  )  [virtual]

Allow the encoder/decoder to retrieve the top-level element name programmatically.

This allows subclasses to rename elements without changing their encoder/decoders.

Returns:
the element label to use, as a key in a loaded encoding dictionary

Reimplemented from org.ccnx.ccn.io.content.Link.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:04 2012 for Content-Centric Networking in Java by  doxygen 1.5.6