public class AccessControlWebService extends AbstractWebService implements AccessControlServiceSoapPort
contentService, dictionaryService, namespaceService, nodeService, querySessionCache, searchService, serviceRegistry| Constructor and Description |
|---|
AccessControlWebService() |
| Modifier and Type | Method and Description |
|---|---|
ACL[] |
addACEs(Predicate predicate,
ACE[] aces)
Adds a number of ACE's to a collection of references.
|
String[] |
addChildAuthorities(String parentAuthority,
String[] authorities)
Add an existing authority as a child of another authority.
|
String[] |
createAuthorities(String parentAuthority,
NewAuthority[] newAuthorites)
Creates a new authority under a given parent authority.
|
void |
deleteAuthorities(String[] authorities)
Delete existing authority
|
ACL[] |
getACLs(Predicate predicate,
ACE filter)
Get the list of the ACL's for a reference.
|
String[] |
getAllAuthorities(AuthorityFilter filter)
Get all authorities that match the filter
|
String[] |
getAuthorities()
Gets all the authorities that the current user belongs to
|
String[] |
getChildAuthorities(String authority,
SiblingAuthorityFilter filter)
Gets all the child authorities of a given authority, taking into account a filter
|
GetClassPermissionsResult[] |
getClassPermissions(String[] classNames)
Gets a list of the settable permissions for a list of classes.
|
OwnerResult[] |
getOwners(Predicate predicate)
Get the current node owner.
|
String[] |
getParentAuthorities(String authority,
SiblingAuthorityFilter filter)
Gets all the parent authorities of a given authority, taking into account a filter
|
GetPermissionsResult[] |
getPermissions(Predicate predicate)
Gets a list of the settable permissions for a set of references.
|
HasPermissionsResult[] |
hasPermissions(Predicate predicate,
String[] permissions)
Determines whether the current authenticated user has the permissions
on each of the specified references.
|
ACL[] |
removeACEs(Predicate predicate,
ACE[] aces)
Removes ACE's from a collection of references.
|
void |
removeChildAuthorities(String parentAuthority,
String[] authorities)
Remove a child authority
|
void |
setAuthorityService(AuthorityService authorityService)
Set the authentication service
|
ACL[] |
setInheritPermission(Predicate predicate,
boolean inheritPermission)
Set the inherit permission property of a set of references.
|
void |
setOwnableService(OwnableService ownableService)
Set the ownable service
|
OwnerResult[] |
setOwners(Predicate predicate,
String owner)
Sets the current node owner.
|
void |
setPermissionService(PermissionService permissionService)
Set the permissions service
|
void |
setTransactionService(TransactionServiceImpl transactionService)
Set the transaction service
|
setContentService, setDictionaryService, setNamespaceService, setNodeService, setQuerySessionCache, setSearchService, setServiceRegistrypublic void setTransactionService(TransactionServiceImpl transactionService)
transactionService - the transaction servicepublic void setPermissionService(PermissionService permissionService)
permissionService - the permissions servicepublic void setOwnableService(OwnableService ownableService)
ownableService - the ownable servicepublic void setAuthorityService(AuthorityService authorityService)
authorityService - the authentication servicepublic ACL[] getACLs(Predicate predicate, ACE filter) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortpublic ACL[] addACEs(Predicate predicate, ACE[] aces) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortpublic ACL[] removeACEs(Predicate predicate, ACE[] aces) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortpublic GetPermissionsResult[] getPermissions(Predicate predicate) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortgetPermissions in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.getPermissions(org.alfresco.repo.webservice.types.Predicate)public GetClassPermissionsResult[] getClassPermissions(String[] classNames) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortgetClassPermissions in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.getClassPermissions(java.lang.String[])public HasPermissionsResult[] hasPermissions(Predicate predicate, String[] permissions) throws RemoteException, AccessControlFault
AccessControlServiceSoapPorthasPermissions in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.hasPermissions(org.alfresco.repo.webservice.types.Predicate, java.lang.String[])public ACL[] setInheritPermission(Predicate predicate, boolean inheritPermission) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortsetInheritPermission in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.setInheritPermission(org.alfresco.repo.webservice.types.Predicate, boolean)public OwnerResult[] getOwners(Predicate predicate) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortgetOwners in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.getOwners(org.alfresco.repo.webservice.types.Predicate)public OwnerResult[] setOwners(Predicate predicate, String owner) throws RemoteException, AccessControlFault
AccessControlServiceSoapPortsetOwners in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.setOwners(org.alfresco.repo.webservice.types.Predicate, java.lang.String)public String[] addChildAuthorities(String parentAuthority, String[] authorities) throws RemoteException, AccessControlFault
addChildAuthorities in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.addChildAuthorities(java.lang.String, java.lang.String[])public String[] createAuthorities(String parentAuthority, NewAuthority[] newAuthorites) throws RemoteException, AccessControlFault
public void deleteAuthorities(String[] authorities) throws RemoteException, AccessControlFault
deleteAuthorities in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.deleteAuthorities(java.lang.String[])public String[] getAllAuthorities(AuthorityFilter filter) throws RemoteException, AccessControlFault
getAllAuthorities in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.getAllAuthorities(org.alfresco.repo.webservice.accesscontrol.AuthorityFilter)public String[] getAuthorities() throws RemoteException, AccessControlFault
getAuthorities in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.getAuthorities()public String[] getChildAuthorities(String authority, SiblingAuthorityFilter filter) throws RemoteException, AccessControlFault
public String[] getParentAuthorities(String authority, SiblingAuthorityFilter filter) throws RemoteException, AccessControlFault
public void removeChildAuthorities(String parentAuthority, String[] authorities) throws RemoteException, AccessControlFault
removeChildAuthorities in interface AccessControlServiceSoapPortRemoteExceptionAccessControlFaultAccessControlServiceSoapPort.removeChildAuthorities(java.lang.String, java.lang.String[])Copyright © 2005–2014 Alfresco Software. All rights reserved.