org.ow2.dragon.ui.uibeans.deployment
Class TechnicalServiceBean

java.lang.Object
  extended by org.ow2.dragon.ui.uibeans.deployment.TechnicalServiceBean

public class TechnicalServiceBean
extends java.lang.Object

Author:
ofabre - eBM Websourcing

Constructor Summary
TechnicalServiceBean()
           
 
Method Summary
 void clear()
          Clears the endpoint.
 java.lang.String create()
          Creates an endpoint object with current attributes
 java.lang.String delete()
          Deletes the current endpoint from the database
 java.lang.String deleteRole(javax.servlet.http.HttpServletRequest request)
          Delete a role of party
 java.lang.String getCategory()
           
 java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> getEndpoints()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.util.List<org.ow2.dragon.api.to.organization.OrgToTechServiceTO> getOrganizationRoles()
           
 java.lang.String getOtherInfo()
           
 java.util.List<org.ow2.dragon.api.to.organization.PersonToTechServiceTO> getPersonRoles()
           
 java.lang.String getPurpose()
           
 java.util.List<org.ow2.dragon.api.to.specification.ServiceSpecificationTO> getSpecsTO()
           
 java.lang.String getWsdlUrl()
           
 void load(javax.servlet.http.HttpServletRequest iRequest)
          Loads a technical service from the request parameter 'id'.
 void loadOrgRoles()
           
 void loadPersonRoles()
           
 void loadServiceSpecs()
           
 void reset()
          Resets changes made to the current endpoint attributes.
 java.lang.String save()
          Saves the current techService with changes.
 void setCategory(java.lang.String category)
           
 void setEndpoints(java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> endpoints)
           
 void setName(java.lang.String name)
           
 void setOtherInfo(java.lang.String otherInfo)
           
 void setPurpose(java.lang.String purpose)
           
 void setSpecsTO(java.util.List<org.ow2.dragon.api.to.specification.ServiceSpecificationTO> specsTO)
           
 void validate()
          Validate the endpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TechnicalServiceBean

public TechnicalServiceBean()
Method Detail

getWsdlUrl

public java.lang.String getWsdlUrl()
Returns:
the wsdlUrl

load

public void load(javax.servlet.http.HttpServletRequest iRequest)
          throws com.ebm_ws.infra.bricks.error.LocalizedError
Loads a technical service from the request parameter 'id'.

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

loadServiceSpecs

public void loadServiceSpecs()
                      throws com.ebm_ws.infra.bricks.error.LocalizedError
Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

save

public java.lang.String save()
                      throws com.ebm_ws.infra.bricks.error.LocalizedError
Saves the current techService with changes.

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

create

public java.lang.String create()
                        throws com.ebm_ws.infra.bricks.error.LocalizedError
Creates an endpoint object with current attributes

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

delete

public java.lang.String delete()
                        throws com.ebm_ws.infra.bricks.error.LocalizedError
Deletes the current endpoint from the database

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

reset

public void reset()
Resets changes made to the current endpoint attributes.


clear

public void clear()
Clears the endpoint.


validate

public void validate()
Validate the endpoint


loadPersonRoles

public void loadPersonRoles()
                     throws org.ow2.dragon.api.service.organization.OrganizationException,
                            DragonDelegateException
Throws:
org.ow2.dragon.api.service.organization.OrganizationException
DragonDelegateException

loadOrgRoles

public void loadOrgRoles()
                  throws org.ow2.dragon.api.service.organization.OrganizationException,
                         DragonDelegateException
Throws:
org.ow2.dragon.api.service.organization.OrganizationException
DragonDelegateException

deleteRole

public java.lang.String deleteRole(javax.servlet.http.HttpServletRequest request)
                            throws com.ebm_ws.infra.bricks.error.LocalizedError
Delete a role of party

Returns:
Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

getId

public java.lang.String getId()

getPersonRoles

public java.util.List<org.ow2.dragon.api.to.organization.PersonToTechServiceTO> getPersonRoles()

getOrganizationRoles

public java.util.List<org.ow2.dragon.api.to.organization.OrgToTechServiceTO> getOrganizationRoles()

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getPurpose

public java.lang.String getPurpose()
Returns:
the purpose

setPurpose

public void setPurpose(java.lang.String purpose)
Parameters:
purpose - the purpose to set

getOtherInfo

public java.lang.String getOtherInfo()
Returns:
the otherInfo

setOtherInfo

public void setOtherInfo(java.lang.String otherInfo)
Parameters:
otherInfo - the otherInfo to set

getCategory

public java.lang.String getCategory()
Returns:
the category

setCategory

public void setCategory(java.lang.String category)
Parameters:
category - the category to set

getEndpoints

public java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> getEndpoints()

setEndpoints

public void setEndpoints(java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> endpoints)

getSpecsTO

public java.util.List<org.ow2.dragon.api.to.specification.ServiceSpecificationTO> getSpecsTO()

setSpecsTO

public void setSpecsTO(java.util.List<org.ow2.dragon.api.to.specification.ServiceSpecificationTO> specsTO)


Copyright © 2008 eBMWebsourcing. All Rights Reserved.