org.ow2.dragon.service.organization
Class PartyManagerImpl

java.lang.Object
  extended by org.ow2.dragon.service.organization.PartyManagerImpl
All Implemented Interfaces:
PartyManager

public class PartyManagerImpl
extends java.lang.Object
implements PartyManager

Author:
ofabre - eBM WebSourcing

Constructor Summary
PartyManagerImpl()
           
 
Method Summary
 java.util.List<PartyTO> getAllParties(RequestOptionsTO requestOptionsTO)
          Return the list of all parties in the registry, persons and organization units
 PartyTO getParty(java.lang.String partyId)
          Retrieve a party matching the given ID.
 PartyDAO getPartyDAO()
           
 void setPartyDAO(PartyDAO partyDAO)
           
 void setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartyManagerImpl

public PartyManagerImpl()
Method Detail

getAllParties

public java.util.List<PartyTO> getAllParties(RequestOptionsTO requestOptionsTO)
Description copied from interface: PartyManager
Return the list of all parties in the registry, persons and organization units

Specified by:
getAllParties in interface PartyManager
Parameters:
requestOptionsTO - sort, pagination and case sensitive parameters, could be null
Returns:
the List of all parties in the registry, PersonTO s and OrganizationUnitTOs. Can't be null, could be empty

getParty

public PartyTO getParty(java.lang.String partyId)
                 throws OrganizationException
Description copied from interface: PartyManager
Retrieve a party matching the given ID. Could be a person or an organization unit

Specified by:
getParty in interface PartyManager
Parameters:
partyId - a party ID
Returns:
a party matching the given ID. Can be a PersonTO or an OrganizationUnitTO. Can't be null, could be empty
Throws:
OrganizationException - if no party found for the given id

getPartyDAO

public PartyDAO getPartyDAO()
Returns:
the partyDAO

setPartyDAO

public void setPartyDAO(PartyDAO partyDAO)
Parameters:
partyDAO - the partyDAO to set

setTransfertObjectAssembler

public void setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.