org.alfresco.webservice.accesscontrol
Interface AccessControlServiceSoapPort

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AccessControlServiceSoapBindingStub

public interface AccessControlServiceSoapPort
extends java.rmi.Remote


Method Summary
 ACL[] addACEs(Predicate predicate, ACE[] aces)
          Adds a number of ACE's to a collection of references.
 java.lang.String[] addChildAuthorities(java.lang.String parentAuthority, java.lang.String[] authorities)
          Adds child authorities to a specified parent authority
 java.lang.String[] createAuthorities(java.lang.String parentAuthority, NewAuthority[] newAuthorites)
          Creates new authorities
 void deleteAuthorities(java.lang.String[] authorities)
          Delete authorities
 ACL[] getACLs(Predicate predicate, ACE filter)
          Get the list of the ACL's for a reference.
 java.lang.String[] getAllAuthorities(AuthorityFilter filter)
          Getsl aa the authorities avaialble in the repository.
 java.lang.String[] getAuthorities()
          Ges the authorities for the current user
 java.lang.String[] getChildAuthorities(java.lang.String authority, SiblingAuthorityFilter filter)
          Gets an authorities child authorities
 GetClassPermissionsResult[] getClassPermissions(java.lang.String[] classNames)
          Gets a list of the settable permissions for a list of classes.
 OwnerResult[] getOwners(Predicate predicate)
          Get the current node owner.
 java.lang.String[] getParentAuthorities(java.lang.String authority, SiblingAuthorityFilter filter)
          Gets an authorities parent authorities
 GetPermissionsResult[] getPermissions(Predicate predicate)
          Gets a list of the settable permissions for a set of references.
 HasPermissionsResult[] hasPermissions(Predicate predicate, java.lang.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(java.lang.String parentAuthority, java.lang.String[] authorities)
          Remove child authorities from the specified parent authority
 ACL[] setInheritPermission(Predicate predicate, boolean inheritPermission)
          Set the inherit permission property of a set of references.
 OwnerResult[] setOwners(Predicate predicate, java.lang.String owner)
          Sets the current node owner.
 

Method Detail

getACLs

ACL[] getACLs(Predicate predicate,
              ACE filter)
              throws java.rmi.RemoteException,
                     AccessControlFault
Get the list of the ACL's for a reference.

Throws:
java.rmi.RemoteException
AccessControlFault

addACEs

ACL[] addACEs(Predicate predicate,
              ACE[] aces)
              throws java.rmi.RemoteException,
                     AccessControlFault
Adds a number of ACE's to a collection of references.

Throws:
java.rmi.RemoteException
AccessControlFault

removeACEs

ACL[] removeACEs(Predicate predicate,
                 ACE[] aces)
                 throws java.rmi.RemoteException,
                        AccessControlFault
Removes ACE's from a collection of references.

Throws:
java.rmi.RemoteException
AccessControlFault

getPermissions

GetPermissionsResult[] getPermissions(Predicate predicate)
                                      throws java.rmi.RemoteException,
                                             AccessControlFault
Gets a list of the settable permissions for a set of references.

Throws:
java.rmi.RemoteException
AccessControlFault

getClassPermissions

GetClassPermissionsResult[] getClassPermissions(java.lang.String[] classNames)
                                                throws java.rmi.RemoteException,
                                                       AccessControlFault
Gets a list of the settable permissions for a list of classes.

Throws:
java.rmi.RemoteException
AccessControlFault

hasPermissions

HasPermissionsResult[] hasPermissions(Predicate predicate,
                                      java.lang.String[] permissions)
                                      throws java.rmi.RemoteException,
                                             AccessControlFault
Determines whether the current authenticated user has the permissions on each of the specified references.

Throws:
java.rmi.RemoteException
AccessControlFault

setInheritPermission

ACL[] setInheritPermission(Predicate predicate,
                           boolean inheritPermission)
                           throws java.rmi.RemoteException,
                                  AccessControlFault
Set the inherit permission property of a set of references.

Throws:
java.rmi.RemoteException
AccessControlFault

getOwners

OwnerResult[] getOwners(Predicate predicate)
                        throws java.rmi.RemoteException,
                               AccessControlFault
Get the current node owner.

Throws:
java.rmi.RemoteException
AccessControlFault

setOwners

OwnerResult[] setOwners(Predicate predicate,
                        java.lang.String owner)
                        throws java.rmi.RemoteException,
                               AccessControlFault
Sets the current node owner.

Throws:
java.rmi.RemoteException
AccessControlFault

getAllAuthorities

java.lang.String[] getAllAuthorities(AuthorityFilter filter)
                                     throws java.rmi.RemoteException,
                                            AccessControlFault
Getsl aa the authorities avaialble in the repository.

Throws:
java.rmi.RemoteException
AccessControlFault

getAuthorities

java.lang.String[] getAuthorities()
                                  throws java.rmi.RemoteException,
                                         AccessControlFault
Ges the authorities for the current user

Throws:
java.rmi.RemoteException
AccessControlFault

createAuthorities

java.lang.String[] createAuthorities(java.lang.String parentAuthority,
                                     NewAuthority[] newAuthorites)
                                     throws java.rmi.RemoteException,
                                            AccessControlFault
Creates new authorities

Throws:
java.rmi.RemoteException
AccessControlFault

deleteAuthorities

void deleteAuthorities(java.lang.String[] authorities)
                       throws java.rmi.RemoteException,
                              AccessControlFault
Delete authorities

Throws:
java.rmi.RemoteException
AccessControlFault

addChildAuthorities

java.lang.String[] addChildAuthorities(java.lang.String parentAuthority,
                                       java.lang.String[] authorities)
                                       throws java.rmi.RemoteException,
                                              AccessControlFault
Adds child authorities to a specified parent authority

Throws:
java.rmi.RemoteException
AccessControlFault

removeChildAuthorities

void removeChildAuthorities(java.lang.String parentAuthority,
                            java.lang.String[] authorities)
                            throws java.rmi.RemoteException,
                                   AccessControlFault
Remove child authorities from the specified parent authority

Throws:
java.rmi.RemoteException
AccessControlFault

getChildAuthorities

java.lang.String[] getChildAuthorities(java.lang.String authority,
                                       SiblingAuthorityFilter filter)
                                       throws java.rmi.RemoteException,
                                              AccessControlFault
Gets an authorities child authorities

Throws:
java.rmi.RemoteException
AccessControlFault

getParentAuthorities

java.lang.String[] getParentAuthorities(java.lang.String authority,
                                        SiblingAuthorityFilter filter)
                                        throws java.rmi.RemoteException,
                                               AccessControlFault
Gets an authorities parent authorities

Throws:
java.rmi.RemoteException
AccessControlFault


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.