org.alfresco.webservice.accesscontrol
Class AccessControlServiceSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by org.alfresco.webservice.accesscontrol.AccessControlServiceSoapBindingStub
All Implemented Interfaces:
java.rmi.Remote, javax.xml.rpc.Stub, AccessControlServiceSoapPort

public class AccessControlServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements AccessControlServiceSoapPort


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
AccessControlServiceSoapBindingStub()
           
AccessControlServiceSoapBindingStub(javax.xml.rpc.Service service)
           
AccessControlServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
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
protected  org.apache.axis.client.Call createCall()
           
 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.
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessControlServiceSoapBindingStub

public AccessControlServiceSoapBindingStub()
                                    throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AccessControlServiceSoapBindingStub

public AccessControlServiceSoapBindingStub(java.net.URL endpointURL,
                                           javax.xml.rpc.Service service)
                                    throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AccessControlServiceSoapBindingStub

public AccessControlServiceSoapBindingStub(javax.xml.rpc.Service service)
                                    throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

createCall

protected org.apache.axis.client.Call createCall()
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getACLs

public ACL[] getACLs(Predicate predicate,
                     ACE filter)
              throws java.rmi.RemoteException,
                     AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Get the list of the ACL's for a reference.

Specified by:
getACLs in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

addACEs

public ACL[] addACEs(Predicate predicate,
                     ACE[] aces)
              throws java.rmi.RemoteException,
                     AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Adds a number of ACE's to a collection of references.

Specified by:
addACEs in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

removeACEs

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

Specified by:
removeACEs in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getPermissions

public GetPermissionsResult[] getPermissions(Predicate predicate)
                                      throws java.rmi.RemoteException,
                                             AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Gets a list of the settable permissions for a set of references.

Specified by:
getPermissions in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getClassPermissions

public GetClassPermissionsResult[] getClassPermissions(java.lang.String[] classNames)
                                                throws java.rmi.RemoteException,
                                                       AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Gets a list of the settable permissions for a list of classes.

Specified by:
getClassPermissions in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

hasPermissions

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

Specified by:
hasPermissions in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

setInheritPermission

public ACL[] setInheritPermission(Predicate predicate,
                                  boolean inheritPermission)
                           throws java.rmi.RemoteException,
                                  AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Set the inherit permission property of a set of references.

Specified by:
setInheritPermission in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getOwners

public OwnerResult[] getOwners(Predicate predicate)
                        throws java.rmi.RemoteException,
                               AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Get the current node owner.

Specified by:
getOwners in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

setOwners

public OwnerResult[] setOwners(Predicate predicate,
                               java.lang.String owner)
                        throws java.rmi.RemoteException,
                               AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Sets the current node owner.

Specified by:
setOwners in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getAllAuthorities

public java.lang.String[] getAllAuthorities(AuthorityFilter filter)
                                     throws java.rmi.RemoteException,
                                            AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Getsl aa the authorities avaialble in the repository.

Specified by:
getAllAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getAuthorities

public java.lang.String[] getAuthorities()
                                  throws java.rmi.RemoteException,
                                         AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Ges the authorities for the current user

Specified by:
getAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

createAuthorities

public java.lang.String[] createAuthorities(java.lang.String parentAuthority,
                                            NewAuthority[] newAuthorites)
                                     throws java.rmi.RemoteException,
                                            AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Creates new authorities

Specified by:
createAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

deleteAuthorities

public void deleteAuthorities(java.lang.String[] authorities)
                       throws java.rmi.RemoteException,
                              AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Delete authorities

Specified by:
deleteAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

addChildAuthorities

public java.lang.String[] addChildAuthorities(java.lang.String parentAuthority,
                                              java.lang.String[] authorities)
                                       throws java.rmi.RemoteException,
                                              AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Adds child authorities to a specified parent authority

Specified by:
addChildAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

removeChildAuthorities

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

Specified by:
removeChildAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getChildAuthorities

public java.lang.String[] getChildAuthorities(java.lang.String authority,
                                              SiblingAuthorityFilter filter)
                                       throws java.rmi.RemoteException,
                                              AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Gets an authorities child authorities

Specified by:
getChildAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault

getParentAuthorities

public java.lang.String[] getParentAuthorities(java.lang.String authority,
                                               SiblingAuthorityFilter filter)
                                        throws java.rmi.RemoteException,
                                               AccessControlFault
Description copied from interface: AccessControlServiceSoapPort
Gets an authorities parent authorities

Specified by:
getParentAuthorities in interface AccessControlServiceSoapPort
Throws:
java.rmi.RemoteException
AccessControlFault


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