Revision 5112
Added by daigle over 14 years ago
Metacat.java | ||
---|---|---|
220 | 220 |
throws InsufficientKarmaException, MetacatException, |
221 | 221 |
MetacatInaccessibleException; |
222 | 222 |
|
223 |
public String getAccessControl(String docid) |
|
224 |
throws InsufficientKarmaException, MetacatException,MetacatInaccessibleException; |
|
225 |
|
|
223 | 226 |
/** |
224 | 227 |
* set the access on an XML document in the repository. |
225 | 228 |
* |
... | ... | |
245 | 248 |
* reached or does not respond |
246 | 249 |
* @throws MetacatException when the metacat server generates another error |
247 | 250 |
*/ |
248 |
public String setAccess(String _docid, String _principal, String |
|
249 |
_permission, String _permType, String _permOrder ) |
|
250 |
throws InsufficientKarmaException, MetacatException, |
|
251 |
MetacatInaccessibleException; |
|
251 |
public String setAccess(String docid, String principal, String |
|
252 |
permission, String permType, String permOrder ) |
|
253 |
throws InsufficientKarmaException, MetacatException, MetacatInaccessibleException; |
|
252 | 254 |
|
255 |
public String setAccess(String docid, String accessBlock) |
|
256 |
throws InsufficientKarmaException, MetacatException, MetacatInaccessibleException; |
|
257 |
|
|
253 | 258 |
/** |
254 | 259 |
* When the MetacatFactory creates an instance it needs to set the |
255 | 260 |
* MetacatUrl to which connections should be made. |
Also available in: Unified diff
add getaccesscontrol and setaccess api calls