mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
-Added WSDL for admin web service
- Modified Ant scripts to generate admin server stubs - Genreated server stubs - Add stub implmenetation of admin web service git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -6,7 +6,7 @@ import org.alfresco.repo.transaction.TransactionComponent;
|
||||
import org.alfresco.repo.webservice.AbstractWebService;
|
||||
import org.alfresco.repo.webservice.types.Predicate;
|
||||
|
||||
public class AccessControlService extends AbstractWebService implements AccessControlServiceSoapPort
|
||||
public class AccessControlWebService extends AbstractWebService implements AccessControlServiceSoapPort
|
||||
{
|
||||
private TransactionComponent transactionService = null;
|
||||
|
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* Licensed under the Mozilla Public License version 1.1
|
||||
* with a permitted attribution clause. You may obtain a
|
||||
* copy of the License at
|
||||
*
|
||||
* http://www.alfresco.org/legal/license.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific
|
||||
* language governing permissions and limitations under the
|
||||
* License.
|
||||
*/
|
||||
package org.alfresco.repo.webservice.administration;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
import org.alfresco.repo.transaction.TransactionComponent;
|
||||
import org.alfresco.repo.webservice.AbstractWebService;
|
||||
|
||||
/**
|
||||
* @author Roy Wetherall
|
||||
*/
|
||||
public class AdministrationWebService extends AbstractWebService implements
|
||||
AdministrationServiceSoapPort
|
||||
{
|
||||
private TransactionComponent transactionService = null;
|
||||
|
||||
public void setTransactionService(TransactionComponent transactionService)
|
||||
{
|
||||
this.transactionService = transactionService;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#queryUsers(org.alfresco.repo.webservice.administration.UserFilter)
|
||||
*/
|
||||
public UserQueryResults queryUsers(UserFilter filter)
|
||||
throws RemoteException, AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#fetchMoreUsers(java.lang.String)
|
||||
*/
|
||||
public UserQueryResults fetchMoreUsers(String querySession)
|
||||
throws RemoteException, AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#getUser(java.lang.String)
|
||||
*/
|
||||
public UserDetails getUser(String userName) throws RemoteException,
|
||||
AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#createUsers(org.alfresco.repo.webservice.administration.NewUserDetails[])
|
||||
*/
|
||||
public UserDetails[] createUsers(NewUserDetails[] newUsers)
|
||||
throws RemoteException, AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#updateUsers(org.alfresco.repo.webservice.administration.UserDetails[])
|
||||
*/
|
||||
public UserDetails[] updateUsers(UserDetails[] users)
|
||||
throws RemoteException, AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#changePassword(java.lang.String, java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void changePassword(String userName, String oldPassword,
|
||||
String newPassword) throws RemoteException, AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#deleteUsers(java.lang.String[])
|
||||
*/
|
||||
public void deleteUsers(String[] userNames) throws RemoteException,
|
||||
AdministrationFault
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
@@ -162,7 +162,22 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="accessControlWebService" class="org.alfresco.repo.webservice.accesscontrol.AccessControlService">
|
||||
<bean id="accessControlWebService" class="org.alfresco.repo.webservice.accesscontrol.AccessControlWebService">
|
||||
<property name="nodeService">
|
||||
<ref bean="NodeService"/>
|
||||
</property>
|
||||
<property name="searchService">
|
||||
<ref bean="SearchService"/>
|
||||
</property>
|
||||
<property name="namespaceService">
|
||||
<ref bean="NamespaceService"/>
|
||||
</property>
|
||||
<property name="transactionService">
|
||||
<ref bean="transactionComponent"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="administrationWebService" class="org.alfresco.repo.webservice.administration.AdministrationWebService">
|
||||
<property name="nodeService">
|
||||
<ref bean="NodeService"/>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user