magoffin.matt.ma2.web.service
Class GetCollectionListEndpoint

java.lang.Object
  extended by org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
      extended by magoffin.matt.ma2.web.service.GetCollectionListEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.ws.server.endpoint.MessageEndpoint

@Endpoint
public class GetCollectionListEndpoint
extends org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint

Web service endpoint for getting the list of collections for the current user.

Note that a BizContext must be available via BizContextUtil.getBizContext() prior to invoking this service, to pass the user authentication to the import.

Version:
$Revision: 87 $ $Date: 2007-12-03 20:50:19 +1300 (Mon, 03 Dec 2007) $
Author:
matt

Field Summary
 
Fields inherited from class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
logger
 
Constructor Summary
GetCollectionListEndpoint()
           
 
Method Summary
 GetCollectionListResponse getCollectionList(GetCollectionListRequest request)
          Get a list of all collections for the current user.
 DomainObjectFactory getDomainObjectFactory()
           
 UserBiz getUserBiz()
           
protected  java.lang.Object invokeInternal(java.lang.Object requestObject)
           
 void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
           
 void setUserBiz(UserBiz userBiz)
           
 
Methods inherited from class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
afterMarshallerSet, afterPropertiesSet, getMarshaller, getUnmarshaller, invoke, onMarshalResponse, onUnmarshalRequest, setMarshaller, setUnmarshaller
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetCollectionListEndpoint

public GetCollectionListEndpoint()
Method Detail

invokeInternal

protected java.lang.Object invokeInternal(java.lang.Object requestObject)
                                   throws java.lang.Exception
Specified by:
invokeInternal in class org.springframework.ws.server.endpoint.AbstractMarshallingPayloadEndpoint
Throws:
java.lang.Exception

getCollectionList

@SoapAction(value="http://msqr.us/matte/ws/GetCollectionList")
public GetCollectionListResponse getCollectionList(GetCollectionListRequest request)
Get a list of all collections for the current user.

Parameters:
request - the request
Returns:
the response

getUserBiz

public UserBiz getUserBiz()
Returns:
the userBiz

setUserBiz

public void setUserBiz(UserBiz userBiz)
Parameters:
userBiz - the userBiz to set

getDomainObjectFactory

public DomainObjectFactory getDomainObjectFactory()
Returns:
the domainObjectFactory

setDomainObjectFactory

public void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
Parameters:
domainObjectFactory - the domainObjectFactory to set