org.ccnx.ccn.profiles.security.access.group.MembershipListObject Class Reference
This class records the membership list of a Group, which can consist of individual users or other groups).
More...
List of all members.
Public Member Functions |
| MembershipListObject (ContentName name, Collection data, SaveType saveType, CCNHandle handle) throws IOException |
| Write constructors.
|
| MembershipListObject (ContentName name, Collection data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException |
| MembershipListObject (ContentName name, java.util.Collection< Link > data, SaveType saveType, CCNHandle handle) throws IOException |
| MembershipListObject (ContentName name, java.util.Collection< Link > data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException |
| MembershipListObject (ContentName name, Link[] contents, SaveType saveType, CCNHandle handle) throws IOException |
| MembershipListObject (ContentName name, Link[] contents, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException |
| MembershipListObject (ContentName name, Collection data, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNFlowControl flowControl) throws IOException |
| MembershipListObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException |
| Read constructor -- opens existing object.
|
| MembershipListObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException |
| MembershipListObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException |
| MembershipListObject (ContentName name, PublisherPublicKeyDigest publisher, CCNFlowControl flowControl) throws ContentDecodingException, IOException |
| MembershipListObject (ContentObject firstBlock, CCNFlowControl flowControl) throws ContentDecodingException, IOException |
Collection | membershipList () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
| Returns the membership list as a collection.
|
Detailed Description
This class records the membership list of a Group, which can consist of individual users or other groups).
This is sometimes redundant with other representations of the membership of a Group or association; it would be good in future work to make explicit membership lists optional (TODO).
Might want to define its own tag for encoding; right now it encodes as a straight Collection.
Constructor & Destructor Documentation
org.ccnx.ccn.profiles.security.access.group.MembershipListObject.MembershipListObject |
( |
ContentName |
name, |
|
|
Collection |
data, |
|
|
SaveType |
saveType, |
|
|
CCNHandle |
handle | |
|
) |
| | throws IOException |
Write constructors.
Prepare to save object.
- Parameters:
-
| name | |
| data | |
| saveType | |
| handle | |
- Exceptions:
-
Read constructor -- opens existing object.
- Parameters:
-
- Exceptions:
-
| ContentDecodingException | |
| IOException | |
Member Function Documentation
Returns the membership list as a collection.
- Returns:
- Exceptions:
-
| ContentNotReadyException | |
| ContentGoneException | |
| ErrorStateException | |
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/profiles/security/access/group/MembershipListObject.java