org.ow2.dragon.ui.uibeans.sla
Class ServicePropertiesBean

java.lang.Object
  extended by org.ow2.dragon.ui.uibeans.sla.ServicePropertiesBean

public class ServicePropertiesBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Constructor Summary
ServicePropertiesBean()
           
ServicePropertiesBean(AgreementBean agreementBean, org.ow2.dragon.api.to.sla.ServicePropertiesTO spTO)
          Loads a technical service from the request parameter 'id'.
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String create(MetricBean firstMetric)
          Creates an object with current attributes
 java.lang.String delete()
          Deletes the current endpoint from the database
 java.util.List<MetricBean> getMetrics()
           
 java.lang.String getName()
           
 java.lang.String getServiceName()
           
 org.ow2.dragon.api.to.sla.ServicePropertiesTO getSpTO()
           
 void reset()
          Resets changes made to the current endpoint attributes.
 java.lang.String save()
           
 void setName(java.lang.String name)
           
 void setServiceName(java.lang.String serviceName)
           
 void setServicePropertiesTO()
           
 void setSpTO(org.ow2.dragon.api.to.sla.ServicePropertiesTO spTO)
           
 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

ServicePropertiesBean

public ServicePropertiesBean()

ServicePropertiesBean

public ServicePropertiesBean(AgreementBean agreementBean,
                             org.ow2.dragon.api.to.sla.ServicePropertiesTO spTO)
Loads a technical service from the request parameter 'id'.

Method Detail

save

public java.lang.String save()
                      throws com.ebm_ws.infra.bricks.error.LocalizedError
Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

setServicePropertiesTO

public void setServicePropertiesTO()

create

public java.lang.String create(MetricBean firstMetric)
                        throws com.ebm_ws.infra.bricks.error.LocalizedError
Creates an 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 agreement.


validate

public void validate()
Validate the endpoint


getName

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

setName

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

getServiceName

public java.lang.String getServiceName()

setServiceName

public void setServiceName(java.lang.String serviceName)

getMetrics

public java.util.List<MetricBean> getMetrics()

getSpTO

public org.ow2.dragon.api.to.sla.ServicePropertiesTO getSpTO()
Returns:
the spTO

setSpTO

public void setSpTO(org.ow2.dragon.api.to.sla.ServicePropertiesTO spTO)
Parameters:
spTO - the spTO to set


Copyright © 2008 eBMWebsourcing. All Rights Reserved.