Bees v0.5.0 API

bees.core.resource
Class AccountSpec

java.lang.Object
  |
  +--bees.core.Capability
        |
        +--bees.core.resource.AccountSpec
All Implemented Interfaces:
CapabilitySpec
Direct Known Subclasses:
Account

public class AccountSpec
extends Capability
implements CapabilitySpec


Fields inherited from class bees.core.Capability
DELETE_PERMISSION, id, INVALID_ID
 
Constructor Summary
AccountSpec()
          Construct an empty AccountSpec object.
AccountSpec(PairChain pc)
           
 
Method Summary
 SpecCapabilityFactory getFactory()
           
 PairChain getPairChain()
           
 void revoke()
          Revoke access to the capability.
 CapabilitySpec specFromBytes(byte[] flattened)
          Initialize this object from the given flattened version of the object.
 byte[] toBytes()
           
 java.lang.String toString()
           
 
Methods inherited from class bees.core.Capability
checkPermission, clear, clonePermission, deleteCapability, equals, fromBytes, fromBytes, revokedPermission, revokePermission, revokePermissions, valid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountSpec

public AccountSpec(PairChain pc)

AccountSpec

public AccountSpec()
Construct an empty AccountSpec object.
Method Detail

getFactory

public SpecCapabilityFactory getFactory()
Specified by:
getFactory in interface CapabilitySpec
See Also:
CapabilitySpec.getFactory()

specFromBytes

public final CapabilitySpec specFromBytes(byte[] flattened)
Description copied from interface: CapabilitySpec
Initialize this object from the given flattened version of the object.
Specified by:
specFromBytes in interface CapabilitySpec
See Also:
CapabilitySpec.specFromBytes(byte[])

toBytes

public byte[] toBytes()

revoke

public void revoke()
Description copied from class: Capability
Revoke access to the capability.
Overrides:
revoke in class Capability

getPairChain

public PairChain getPairChain()

toString

public java.lang.String toString()
Overrides:
toString in class Capability
Following copied from class: bees.core.Capability
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/