1 | <?php |
||
21 | class AclService extends AbstractBrowserBindingService implements AclServiceInterface |
||
22 | { |
||
23 | /** |
||
24 | * Adds or removes the given ACEs to or from the ACL of the object. |
||
25 | * |
||
26 | * @param string $repositoryId The identifier for the repository. |
||
27 | * @param string $objectId The identifier of the object. |
||
28 | * @param AclInterface|null $addAces The ACEs to be added. |
||
29 | * @param AclInterface|null $removeAces The ACEs to be removed. |
||
30 | * @param AclPropagation|null $aclPropagation Specifies how ACEs should be handled. |
||
31 | * @param ExtensionDataInterface|null $extension |
||
32 | * @return AclInterface the ACL of the object |
||
33 | */ |
||
34 | public function applyAcl( |
||
44 | |||
45 | /** |
||
46 | * Get the ACL currently applied to the specified object. |
||
47 | * |
||
48 | * @param string $repositoryId The identifier for the repository. |
||
49 | * @param string $objectId The identifier of the object. |
||
50 | * @param boolean $onlyBasicPermissions The repository SHOULD make a best effort to fully express the native |
||
51 | * security applied to the object. |
||
52 | * <code>true</code> indicates that the client requests that the returned ACL be expressed using |
||
53 | * only the CMIS basic permissions. |
||
54 | * <code>false</code> indicates that the server may respond using either solely CMIS basic permissions, |
||
55 | * or repository specific permissions or some combination of both. |
||
56 | * @param ExtensionDataInterface|null $extension |
||
57 | * @return AclInterface the ACL of the object |
||
58 | */ |
||
59 | public function getAcl( |
||
67 | } |
||
68 |