|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.javamail.store.imap.Rights
public class Rights
Represents a set of rights associated with a user to manipulate the IMAP Store.
| Nested Class Summary | |
|---|---|
static class |
Rights.Right
An individual right for IMAP Store manipulation. |
| Constructor Summary | |
|---|---|
Rights()
Construct an empty set of Rights. |
|
Rights(Rights.Right right)
Construct a Rights set from a single Right instance. |
|
Rights(Rights list)
Construct a set of rights from an existing Rights set. |
|
Rights(String list)
Construct a Rights et from a character string. |
|
| Method Summary | |
|---|---|
void |
add(Rights.Right right)
Add a single Right to the set. |
void |
add(Rights list)
Merge a Rights set with this set. |
Object |
clone()
Clone a set of Rights. |
boolean |
contains(Rights.Right right)
Test if a Rights set contains a given Right. |
boolean |
contains(Rights list)
Test if this Rights set contains all of the Rights contained in another set. |
boolean |
equals(Rights list)
Test if two Rights sets are equivalent. |
Rights[] |
getRights()
Get an array of Rights contained in the set. |
int |
hashCode()
Compute a hashCode for the Rights set. |
void |
remove(Rights.Right right)
Remove a Right from the set. |
void |
remove(Rights list)
Remove a set of rights from the set. |
String |
toString()
Return a string value for the Rights set. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Rights()
public Rights(Rights.Right right)
right - The source Right.public Rights(Rights list)
list - The source Rights instance.public Rights(String list)
list - The source set of rights.| Method Detail |
|---|
public void add(Rights.Right right)
right - The new Right. If the Rigtht is already part of the Set, this is a nop.public void add(Rights list)
list - The source for the added Rights.public Object clone()
clone in class Objectpublic boolean contains(Rights.Right right)
right - The Right instance to test.
public boolean contains(Rights list)
list - The source Rights set for the test.
public boolean equals(Rights list)
list - The source rights set.
public Rights[] getRights()
public int hashCode()
hashCode in class Objectpublic void remove(Rights.Right right)
right - The single Right to remove.public void remove(Rights list)
list - The list of rights to be removed.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||