public class ContentRestrictionResource extends Object
Constructor and Description |
---|
ContentRestrictionResource(ContentRestrictionService service) |
Modifier and Type | Method and Description |
---|---|
Map<OperationKey,ContentRestriction> |
byOperation(ContentId id,
String expand)
Returns info about all restrictions by operation
|
ContentRestriction |
forOperation(ContentId id,
OperationKey opKey,
String expand,
int start,
int limit)
Returns info about all restrictions of given operation
|
public ContentRestrictionResource(ContentRestrictionService service)
@PublicApi public Map<OperationKey,ContentRestriction> byOperation(ContentId id, String expand)
Returns info about all restrictions by operation
id
- the id of the contentexpand
- a comma separated list of properties to expand on the content properties. Default value: group.@PublicApi public ContentRestriction forOperation(ContentId id, OperationKey opKey, String expand, int start, int limit)
Returns info about all restrictions of given operation
id
- the id of the contentopKey
- key of the operationexpand
- a comma separated list of properties to expand on the content properties. Default value: group.start
- pagination startlimit
- pagination limitCopyright © 2003–2017 Atlassian. All rights reserved.