com.wewebu.ow.server.ecmimpl.opencmis.users.alfresco
Class AlfrescoRESTFulFactory

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.users.alfresco.AlfrescoRESTFulFactory

public class AlfrescoRESTFulFactory
extends Object

Factory to create RESTful resources.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
4.1.1.0

Constructor Summary
AlfrescoRESTFulFactory(String baseURL, String userName, String password)
           
 
Method Summary
 ListPeopleResource getPeopleResource(String filterQuery)
           
 GetPersonResource getPersonResource(String userName)
           
 ListGroupsResource listGroupsResource(String shortNameFilter)
           
 void setPassword(String password)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoRESTFulFactory

public AlfrescoRESTFulFactory(String baseURL,
                              String userName,
                              String password)
Parameters:
baseURL - baseURL to use for accessing Alfresco RESTful services.
password -
userName -
Method Detail

setPassword

public void setPassword(String password)

setUserName

public void setUserName(String userName)

listGroupsResource

public ListGroupsResource listGroupsResource(String shortNameFilter)
                                      throws OwRestException
Throws:
OwRestException

getPeopleResource

public ListPeopleResource getPeopleResource(String filterQuery)
                                     throws OwRestException
Throws:
OwRestException

getPersonResource

public GetPersonResource getPersonResource(String userName)
                                    throws OwRestException
Throws:
OwRestException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.