|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.equanda.auth.AuthAndConfigProviderAdapter
org.equanda.auth.MapAuthAndConfigProvider
public class MapAuthAndConfigProvider
AuthAndConfigProvider implementation which use a map as storage.
| Constructor Summary | |
|---|---|
MapAuthAndConfigProvider()
|
|
| Method Summary | |
|---|---|
Set<String> |
getKeys()
|
void |
put(String key,
AuthAndConfig value)
|
void |
remove(String key)
|
void |
setDelete(String key)
Set the key to allow delete |
void |
setDisplayList(String key)
Set the key to allow list |
void |
setDisplayPrint(String key)
Set the key to allow print |
void |
setDisplaySummary(String key)
Set the key to allow summary |
void |
setHidden(String key)
Set hidden |
void |
setReadable(String key)
Set the key readable/viewable? |
void |
setWritable(String key)
Set the key writable/editable? |
| Methods inherited from class org.equanda.auth.AuthAndConfigProviderAdapter |
|---|
hasKey, isDeletable, isDisplayList, isDisplayPrint, isDisplaySummary, isReadable, isWritable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.equanda.client.AuthAndConfigProvider |
|---|
hasKey, isDeletable, isDisplayList, isDisplayPrint, isDisplaySummary, isReadable, isWritable |
| Constructor Detail |
|---|
public MapAuthAndConfigProvider()
| Method Detail |
|---|
public void put(String key,
AuthAndConfig value)
public void remove(String key)
public Set<String> getKeys()
public void setReadable(String key)
MutableAuthAndConfigProvider
setReadable in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setWritable(String key)
MutableAuthAndConfigProvider
setWritable in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setDelete(String key)
MutableAuthAndConfigProvider
setDelete in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setDisplayList(String key)
MutableAuthAndConfigProvider
setDisplayList in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setDisplaySummary(String key)
MutableAuthAndConfigProvider
setDisplaySummary in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setDisplayPrint(String key)
MutableAuthAndConfigProvider
setDisplayPrint in interface MutableAuthAndConfigProviderkey - key to set authorization forpublic void setHidden(String key)
MutableAuthAndConfigProvider
setHidden in interface MutableAuthAndConfigProviderkey - key to set authorization for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||