org.ow2.dragon.service
Class TransfertObjectAssemblerImpl
java.lang.Object
org.ow2.dragon.service.TransfertObjectAssemblerImpl
- All Implemented Interfaces:
- TransfertObjectAssembler
public class TransfertObjectAssemblerImpl
- extends java.lang.Object
- implements TransfertObjectAssembler
- Author:
- ofabre - eBM WebSourcing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STREET_NUMBER_KEY
public static final java.lang.String STREET_NUMBER_KEY
- See Also:
- Constant Field Values
COMPLEMENT_KEY
public static final java.lang.String COMPLEMENT_KEY
- See Also:
- Constant Field Values
STREET_KEY
public static final java.lang.String STREET_KEY
- See Also:
- Constant Field Values
COUNTRY_KEY
public static final java.lang.String COUNTRY_KEY
- See Also:
- Constant Field Values
STATE_KEY
public static final java.lang.String STATE_KEY
- See Also:
- Constant Field Values
ZIPCODE_KEY
public static final java.lang.String ZIPCODE_KEY
- See Also:
- Constant Field Values
CITY_KEY
public static final java.lang.String CITY_KEY
- See Also:
- Constant Field Values
TransfertObjectAssemblerImpl
public TransfertObjectAssemblerImpl()
setOrganizationUnitDAO
public void setOrganizationUnitDAO(OrganizationUnitDAO organizationUnitDAO)
setPostDAO
public void setPostDAO(PostDAO postDAO)
toServiceSpecTO
public ServiceSpecificationTO toServiceSpecTO(ServiceSpecification serviceSpecification)
- Specified by:
toServiceSpecTO in interface TransfertObjectAssembler
toBindingOpTO
public BindingOperationTO toBindingOpTO(BindingOperation bindingOperation)
toBindingTO
public BindingTO toBindingTO(Binding binding)
- Specified by:
toBindingTO in interface TransfertObjectAssembler
toEndpointTO
public EndpointTO toEndpointTO(Endpoint endpoint,
java.lang.String user)
- Specified by:
toEndpointTO in interface TransfertObjectAssembler
toOrganizationUnitBO
public void toOrganizationUnitBO(OrganizationUnitTO organizationUnitTO,
OrganizationUnit organizationUnitBO)
throws OrganizationException
- Create a BO copy of the given TO. Can be used for create or update
purposes
- Specified by:
toOrganizationUnitBO in interface TransfertObjectAssembler
- Parameters:
organizationUnitTO - must not be nullorganizationUnitBO - must not be null
- Throws:
OrganizationException
java.lang.NullPointerException - if bo or to is null
toOrganizationUnitTO
public OrganizationUnitTO toOrganizationUnitTO(OrganizationUnit organizationUnitBO)
- Specified by:
toOrganizationUnitTO in interface TransfertObjectAssembler
toPersonBO
public void toPersonBO(PersonTO personTO,
Person personBO)
throws OrganizationException
- Create a BO copy of the given TO. Can be used for create or update
purposes
- Specified by:
toPersonBO in interface TransfertObjectAssembler
- Parameters:
personTO - must not be nullpersonBO - must not be null
- Throws:
OrganizationException
java.lang.NullPointerException - if bo or to is null
toPersonTO
public PersonTO toPersonTO(Person person)
- Specified by:
toPersonTO in interface TransfertObjectAssembler
toPostBO
public void toPostBO(PostTO postTO,
Post postBO)
throws OrganizationException
- Create a BO copy of the given TO. Can be used for create or update
purposes
- Specified by:
toPostBO in interface TransfertObjectAssembler
- Parameters:
postTO - must not be nullpostBO - must not be null
- Throws:
java.lang.NullPointerException - if bo or to is null
OrganizationException
toPostTO
public PostTO toPostTO(Post post)
- Specified by:
toPostTO in interface TransfertObjectAssembler
toProtocolTO
public ProtocolTO toProtocolTO(java.util.Set<Standard> standards)
toPartyRequestOptions
public RequestOptions toPartyRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toPartyRequestOptions in interface TransfertObjectAssembler
toPersonRequestOptions
public RequestOptions toPersonRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toPersonRequestOptions in interface TransfertObjectAssembler
toPostRequestOptions
public RequestOptions toPostRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toPostRequestOptions in interface TransfertObjectAssembler
toEndpointRequestOptions
public RequestOptions toEndpointRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toEndpointRequestOptions in interface TransfertObjectAssembler
toServiceRequestOptions
public RequestOptions toServiceRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toServiceRequestOptions in interface TransfertObjectAssembler
toAgreementRequestOptions
public RequestOptions toAgreementRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toAgreementRequestOptions in interface TransfertObjectAssembler
toExecEnvManRequestOptions
public RequestOptions toExecEnvManRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toExecEnvManRequestOptions in interface TransfertObjectAssembler
toExecEnvRequestOptions
public RequestOptions toExecEnvRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toExecEnvRequestOptions in interface TransfertObjectAssembler
toFederationRequestOptions
public RequestOptions toFederationRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toFederationRequestOptions in interface TransfertObjectAssembler
toProcessorRequestOptions
public RequestOptions toProcessorRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toProcessorRequestOptions in interface TransfertObjectAssembler
toLinkRequestOptions
public RequestOptions toLinkRequestOptions(RequestOptionsTO requestOptionsTO)
- Specified by:
toLinkRequestOptions in interface TransfertObjectAssembler
toServiceInterfaceTO
public ServiceInterfaceTO toServiceInterfaceTO(ServiceInterface serviceInterface)
- Specified by:
toServiceInterfaceTO in interface TransfertObjectAssembler
toSpecifiedOperationTO
public SpecifiedOperationTO toSpecifiedOperationTO(SpecifiedOperation specifiedOperation)
toTechServiceBO
public void toTechServiceBO(TechnicalServiceTO technicalServiceTO,
TechnicalService technicalServiceBO)
- Create a BO copy of the given TO. Can be used for create or update
purposes
- Specified by:
toTechServiceBO in interface TransfertObjectAssembler
- Parameters:
technicalServiceTO - must not be nulltechnicalServiceBO - must not be null
- Throws:
java.lang.NullPointerException - if bo or to is null
toTechServiceTO
public TechnicalServiceTO toTechServiceTO(TechnicalService technicalService,
java.lang.String user)
- Specified by:
toTechServiceTO in interface TransfertObjectAssembler
toCategoriesTO
public java.util.List<KeyedRefTO> toCategoriesTO(CategoryBag categoryBag)
- Specified by:
toCategoriesTO in interface TransfertObjectAssembler
toIdentifiersTO
public java.util.List<KeyedRefTO> toIdentifiersTO(java.util.List<KeyedReference> identifierBag)
- Specified by:
toIdentifiersTO in interface TransfertObjectAssembler
toSimpleFileTO
public SimpleFileTO toSimpleFileTO(SimpleFile simpleFile)
- Specified by:
toSimpleFileTO in interface TransfertObjectAssembler
toRatingTO
public RatingTO toRatingTO(Rating rating)
- Specified by:
toRatingTO in interface TransfertObjectAssembler
toRatingBO
public void toRatingBO(RatingTO ratingTO,
Rating ratingBO)
- Specified by:
toRatingBO in interface TransfertObjectAssembler
toCommentsTO
public java.util.List<CommentTO> toCommentsTO(java.util.List<Comment> comments)
- Specified by:
toCommentsTO in interface TransfertObjectAssembler
toCommentsBO
public void toCommentsBO(java.util.List<CommentTO> commentsTO,
java.util.List<Comment> commentsBO)
- Specified by:
toCommentsBO in interface TransfertObjectAssembler
toEndpointBO
public void toEndpointBO(EndpointTO endpointTO,
Endpoint endpointBO)
- Specified by:
toEndpointBO in interface TransfertObjectAssembler
toIdentifierTO
public IdentifierTO toIdentifierTO(Identifier identifierBO)
- Specified by:
toIdentifierTO in interface TransfertObjectAssembler
toCategoryTO
public CategoryTO toCategoryTO(Category categoryBO)
- Specified by:
toCategoryTO in interface TransfertObjectAssembler
toCategoryValuesTO
public java.util.List<CategoryValueTO> toCategoryValuesTO(java.util.List<CategoryValue> valuesBO)
- Specified by:
toCategoryValuesTO in interface TransfertObjectAssembler
toProtocolTO
public ProtocolTO toProtocolTO(Protocol protocol)
- Specified by:
toProtocolTO in interface TransfertObjectAssembler
toTransportTO
public TransportTO toTransportTO(Transport transport)
- Specified by:
toTransportTO in interface TransfertObjectAssembler
Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.