|
Class AccessList
|
| Inner Class Summary | |
|---|---|
public class |
Entries class |
| Field Summary | |
|---|---|
protected Map |
|
private final static String |
|
private final static String |
|
String |
|
private final static String |
|
public boolean |
Entry name |
public ID |
Entry ID entry id |
public String |
Entry name |
private final static String |
|
boolean |
|
private final static String |
|
private final static String |
|
private final static transient Logger |
Log4J Logger |
private final static String |
|
private final static String |
|
| Constructor Summary | |
|---|---|
public |
Default Constructor |
public |
AccessList(Element root) Construct from a StructuredDocument |
public |
AccessList(InputStream stream) Intialize access list from an InputStream |
public |
AccessList(Map map) Constructor for the HealthMessage object |
public |
Entry(ID id, String name, boolean access) Creates a Entry with id and name |
| Method Summary | |
|---|---|
public void |
add(AccessList.Entry entry) |
public boolean |
equals(Object obj) |
public int |
hashCode() |
public String |
toString() |
public Map |
gets the entries list |
public static String |
All messages have a type (in xml this is !doctype) which
identifies the message |
public String |
gets the description |
public Document |
getDocument(MimeMediaType asMimeType) {@inheritDoc} |
public boolean |
gets the description |
public void |
init(File fromFile) Intialize access list from a file |
private void |
init(InputStream stream) |
protected void |
initialize(TextElement doc) Process an individual element from the document. |
public boolean |
isAllowed(ID id) |
public void |
refresh(File file) |
public void |
refresh(InputStream stream) |
private void |
refresh(AccessList acl) sets the entries list |
public void |
remove(AccessList.Entry entry) |
public void |
setDescrption(String description) sets description |
public void |
setEntries(Map map) sets the entries list |
public void |
setGrantAll(boolean grantAll) gets the description |
public String |
toString() returns the document string representation of this object |
| Field Detail |
| Constructor Detail |
| Method Detail |