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

Constructor Summary
GuaranteeBean()
          Default constructor
GuaranteeBean(com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms gTO, ManagedAgreementBean mab)
          Constructor
 
Method Summary
 java.lang.String create(ManagedAgreementBean mab)
          Creates an object with current attributes
 java.lang.String delete(ManagedAgreementBean mab)
          Deletes the current endpoint from the database
 java.lang.String deleteServiceScope(java.lang.String name)
          Deletes the current endpoint from the database
 BusinessValueBean getBusinessBean()
           
 com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms getGTO()
           
 ManagedAgreementBean getMab()
           
 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 init(java.lang.String idGuarantee, ManagedAgreementBean mab)
          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 setGTO(com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms gto)
           
 void setMab(ManagedAgreementBean mab)
           
 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)
           
 java.lang.String verifToAddOperationToGuarantee()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuaranteeBean

public GuaranteeBean()
Default constructor


GuaranteeBean

public GuaranteeBean(com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms gTO,
                     ManagedAgreementBean mab)
              throws org.ow2.opensuit.core.error.LocalizedError
Constructor

Throws:
org.ow2.opensuit.core.error.LocalizedError
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

init

public void init(java.lang.String idGuarantee,
                 ManagedAgreementBean mab)
          throws org.ow2.opensuit.core.error.LocalizedError
Loads a technical service from the request parameter 'id'.

Throws:
org.ow2.opensuit.core.error.LocalizedError

save

public java.lang.String save()
                      throws org.ow2.opensuit.core.error.LocalizedError
Throws:
org.ow2.opensuit.core.error.LocalizedError

delete

public java.lang.String delete(ManagedAgreementBean mab)
                        throws org.ow2.opensuit.core.error.LocalizedError
Deletes the current endpoint from the database

Throws:
org.ow2.opensuit.core.error.LocalizedError

deleteServiceScope

public java.lang.String deleteServiceScope(java.lang.String name)
                                    throws org.ow2.opensuit.core.error.LocalizedError
Deletes the current endpoint from the database

Throws:
org.ow2.opensuit.core.error.LocalizedError

create

public java.lang.String create(ManagedAgreementBean mab)
                        throws org.ow2.opensuit.core.error.LocalizedError
Creates an object with current attributes

Throws:
org.ow2.opensuit.core.error.LocalizedError

verifToAddOperationToGuarantee

public java.lang.String verifToAddOperationToGuarantee()
                                                throws org.ow2.opensuit.core.error.LocalizedError
Parameters:
ag -
Throws:
org.ow2.opensuit.core.error.LocalizedError

reset

public void reset()
           throws org.ow2.opensuit.core.error.LocalizedError
Resets changes made to the current endpoint attributes.

Throws:
org.ow2.opensuit.core.error.LocalizedError

getObligatedList

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

getName

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

setName

public void setName(java.lang.String name)
Parameters:
name - the name 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

getGTO

public com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms getGTO()
Returns:
the gTO

getQualifyingConditionBean

public QualifyingConditionBean getQualifyingConditionBean()
Returns:
the qualifyingConditionBean

setQualifyingConditionBean

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

getMab

public ManagedAgreementBean getMab()

setMab

public void setMab(ManagedAgreementBean mab)

setGTO

public void setGTO(com.ebmwebsourcing.agreement.definition.api.GuaranteeTerms gto)


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.