eu.europa.tmsearch.services.resources
Class RepresentativeResource

java.lang.Object
  extended by eu.europa.tmsearch.services.resources.util.CacheableResponseSupport
      extended by eu.europa.tmsearch.services.resources.RepresentativeResource

@Component
@Scope(value="request")
public class RepresentativeResource
extends CacheableResponseSupport

A implementtation of Applicant resource as per TM-Search RFC v1.0 using JAX-RS

See Also:
TradeMarkImage, TradeMark

Constructor Summary
RepresentativeResource()
           
 
Method Summary
 javax.ws.rs.core.HttpHeaders getHttpHeaders()
           
 eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType getRepresentative()
           
 javax.ws.rs.core.Response getRepresentative(java.lang.String representativeId)
          Dereferences a Representative resource to TM-Search XML representation by its id.
 RepresentativeService getRepresentativeService()
           
 javax.ws.rs.core.Request getRequest()
           
 java.lang.String getTransactionCode()
           
 javax.ws.rs.core.UriInfo getUriInfo()
           
 void setHttpHeaders(javax.ws.rs.core.HttpHeaders httpHeaders)
           
 void setRepresentative(eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType representative)
           
 void setRepresentativeService(RepresentativeService representativeService)
           
 void setRequest(javax.ws.rs.core.Request request)
           
 void setTransactionCode(java.lang.String transactionCode)
           
 void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
           
 
Methods inherited from class eu.europa.tmsearch.services.resources.util.CacheableResponseSupport
checkForStaleResource, checkForValidResource, getDateTimeStamp, getETagGenerator, getExpires, getLastModified, setETagGenerator, setExpires, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepresentativeResource

public RepresentativeResource()
Method Detail

getRepresentative

public javax.ws.rs.core.Response getRepresentative(java.lang.String representativeId)
                                            throws BusinessServiceException,
                                                   ResourceNotFoundException
Dereferences a Representative resource to TM-Search XML representation by its id.

Parameters:
representativeId - A representative id
Returns:
A TM-View XML Applicant representation of the representative data
Throws:
{@link - ResourceNotFoundException} BusinessServiceException
BusinessServiceException
ResourceNotFoundException

getRequest

public javax.ws.rs.core.Request getRequest()

setRequest

public void setRequest(javax.ws.rs.core.Request request)

getUriInfo

public javax.ws.rs.core.UriInfo getUriInfo()

setUriInfo

public void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)

getHttpHeaders

public javax.ws.rs.core.HttpHeaders getHttpHeaders()

setHttpHeaders

public void setHttpHeaders(javax.ws.rs.core.HttpHeaders httpHeaders)

getRepresentativeService

public RepresentativeService getRepresentativeService()

setRepresentativeService

public void setRepresentativeService(RepresentativeService representativeService)

getRepresentative

public eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType getRepresentative()

setRepresentative

public void setRepresentative(eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType representative)

getTransactionCode

public java.lang.String getTransactionCode()

setTransactionCode

public void setTransactionCode(java.lang.String transactionCode)


Copyright © 2009. All Rights Reserved.