org.openregistry.core.web.resources
Class SystemOfRecordPeopleResource

java.lang.Object
  extended by org.openregistry.core.web.resources.SystemOfRecordPeopleResource

@Named
@Singleton
public final class SystemOfRecordPeopleResource
extends java.lang.Object

/** Root RESTful resource representing system of record view of people in Open Registry. This component is managed and autowired by Spring by means of context-component-scan, and served by Jersey when URI is matched against the @Path definition. This bean is a singleton, and therefore is thread-safe.

Since:
1.0
Author:
Dmitriy Kopylenko, Scott Battaglia

Constructor Summary
SystemOfRecordPeopleResource(PersonService personService, ReferenceRepository referenceRepository)
           
 
Method Summary
 javax.ws.rs.core.Response deletePerson(java.lang.String sorSourceId, java.lang.String sorPersonId, boolean mistake, java.lang.String terminationType)
           
 javax.ws.rs.core.Response processIncomingPerson(PersonRequestRepresentation personRequestRepresentation, java.lang.String sorSourceId, java.lang.String forceAdd)
           
 javax.ws.rs.core.Response updateIncomingPerson(java.lang.String sorSourceId, java.lang.String sorPersonId, PersonRequestRepresentation request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemOfRecordPeopleResource

@Inject
public SystemOfRecordPeopleResource(PersonService personService,
                                           ReferenceRepository referenceRepository)
Method Detail

processIncomingPerson

public javax.ws.rs.core.Response processIncomingPerson(PersonRequestRepresentation personRequestRepresentation,
                                                       java.lang.String sorSourceId,
                                                       java.lang.String forceAdd)

deletePerson

public javax.ws.rs.core.Response deletePerson(java.lang.String sorSourceId,
                                              java.lang.String sorPersonId,
                                              boolean mistake,
                                              java.lang.String terminationType)

updateIncomingPerson

public javax.ws.rs.core.Response updateIncomingPerson(java.lang.String sorSourceId,
                                                      java.lang.String sorPersonId,
                                                      PersonRequestRepresentation request)


Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.