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

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

public class GuaranteeBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Field Summary
static java.lang.String SERVICE_CONSUMER
           
static java.lang.String SERVICE_PROVIDER
           
 
Constructor Summary
GuaranteeBean()
          Default constructor
GuaranteeBean(org.ow2.dragon.api.to.sla.GuaranteeTO gTO)
          Constructor
 
Method Summary
 java.lang.String addServiceScopes(AgreementBean ag)
          Creates an object with current attributes
 void clear()
          Clears the agreement.
 java.lang.String create(AgreementBean ag)
          Creates an object with current attributes
 java.lang.String delete(AgreementBean ag)
          Deletes the current endpoint from the database
 java.lang.String deleteServiceScope(javax.servlet.http.HttpServletRequest request)
          Deletes the current endpoint from the database
 BusinessValueBean getBusinessBean()
           
 org.ow2.dragon.api.to.sla.GuaranteeTO getGTO()
           
 long getId()
           
 java.lang.String getName()
           
 java.lang.String getObligated()
           
static java.util.List<java.lang.String> getObligatedList()
           
 QualifyingConditionBean getQualifyingConditionBean()
           
 java.util.List<java.lang.String> getSelectedOperations()
           
 java.util.List<ServiceSelectorBean> getServiceScopesBean()
           
 ServiceLevelObjectiveBean getSloBean()
           
 void load(javax.servlet.http.HttpServletRequest iRequest)
          Loads a technical service from the request parameter 'id'.
 void reset()
          Resets changes made to the current endpoint attributes.
 java.lang.String save()
           
 void setBusinessBean(BusinessValueBean business)
           
 void setGuaranteeTO()
           
 void setId(long id)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setObligated(java.lang.String obligated)
           
 void setQualifyingConditionBean(QualifyingConditionBean qualifyingConditionBean)
           
 void setSelectedOperations(java.util.List<java.lang.String> selectedOperations)
           
 void setServiceScopesBean(java.util.List<ServiceSelectorBean> serviceScope)
           
 void setSloBean(ServiceLevelObjectiveBean slo)
           
 void validate()
          Validate the endpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_CONSUMER

public static final java.lang.String SERVICE_CONSUMER
See Also:
Constant Field Values

SERVICE_PROVIDER

public static final java.lang.String SERVICE_PROVIDER
See Also:
Constant Field Values
Constructor Detail

GuaranteeBean

public GuaranteeBean()
Default constructor


GuaranteeBean

public GuaranteeBean(org.ow2.dragon.api.to.sla.GuaranteeTO gTO)
Constructor

Method Detail

getSelectedOperations

public java.util.List<java.lang.String> getSelectedOperations()
Returns:
the selectedOperations

setSelectedOperations

public void setSelectedOperations(java.util.List<java.lang.String> selectedOperations)
Parameters:
selectedOperations - the selectedOperations to set

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

save

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

setGuaranteeTO

public void setGuaranteeTO()

delete

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

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

deleteServiceScope

public java.lang.String deleteServiceScope(javax.servlet.http.HttpServletRequest request)
                                    throws com.ebm_ws.infra.bricks.error.LocalizedError
Deletes the current endpoint from the database

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

create

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

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

addServiceScopes

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

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

reset

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


getObligatedList

public static java.util.List<java.lang.String> getObligatedList()

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

getId

public long getId()
Returns:
the id

setId

public void setId(long id)
Parameters:
id - the id to set

getBusinessBean

public BusinessValueBean getBusinessBean()
Returns:
the business

setBusinessBean

public void setBusinessBean(BusinessValueBean business)
Parameters:
business - the business to set

getObligated

public java.lang.String getObligated()
Returns:
the obligated

setObligated

public void setObligated(java.lang.String obligated)
Parameters:
obligated - the obligated to set

getServiceScopesBean

public java.util.List<ServiceSelectorBean> getServiceScopesBean()
Returns:
the serviceScope

setServiceScopesBean

public void setServiceScopesBean(java.util.List<ServiceSelectorBean> serviceScope)
Parameters:
serviceScope - the serviceScope to set

getSloBean

public ServiceLevelObjectiveBean getSloBean()
Returns:
the slo

setSloBean

public void setSloBean(ServiceLevelObjectiveBean slo)
Parameters:
slo - the slo to set

setId

public void setId(java.lang.Long id)
Parameters:
id - the id to set

getGTO

public org.ow2.dragon.api.to.sla.GuaranteeTO getGTO()
Returns:
the gTO

getQualifyingConditionBean

public QualifyingConditionBean getQualifyingConditionBean()
Returns:
the qualifyingConditionBean

setQualifyingConditionBean

public void setQualifyingConditionBean(QualifyingConditionBean qualifyingConditionBean)
Parameters:
qualifyingConditionBean - the qualifyingConditionBean to set


Copyright © 2008 eBMWebsourcing. All Rights Reserved.