org.ow2.dragon.ui.businessdelegate.spring.sla
Class SLAManagerImpl
java.lang.Object
org.ow2.dragon.ui.businessdelegate.spring.sla.SLAManagerImpl
- All Implemented Interfaces:
- org.ow2.dragon.api.service.sla.SLAManager
public class SLAManagerImpl
- extends java.lang.Object
- implements org.ow2.dragon.api.service.sla.SLAManager
- Author:
- nsalatge - eBM WebSourcing
|
Constructor Summary |
SLAManagerImpl(org.springframework.context.ApplicationContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLAManagerImpl
public SLAManagerImpl(org.springframework.context.ApplicationContext context)
importServiceDefFile
public java.lang.String importServiceDefFile(org.w3c.dom.Document domDocument)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
importServiceDefFile in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
importServiceDefFile
public java.lang.String importServiceDefFile(org.w3c.dom.Element domElement)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
importServiceDefFile in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
importServiceDefFile
public java.lang.String importServiceDefFile(org.xml.sax.InputSource inputSource)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
importServiceDefFile in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
importServiceDefFile
public java.lang.String importServiceDefFile(java.lang.String wsdlURI)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
importServiceDefFile in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
exportServiceDefFile
public java.lang.String exportServiceDefFile(java.lang.String id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
exportServiceDefFile in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createAgreement
public java.lang.Long createAgreement(org.ow2.dragon.api.to.sla.AgreementTO agreementTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getAgreement
public org.ow2.dragon.api.to.sla.AgreementTO getAgreement(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getAllAgreements
public java.util.List<org.ow2.dragon.api.to.sla.AgreementTO> getAllAgreements(org.ow2.dragon.api.to.RequestOptionsTO requestOptionsTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getAllAgreements in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeAgreement
public void removeAgreement(java.lang.Long agreementId)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateAgreement
public java.lang.Long updateAgreement(org.ow2.dragon.api.to.sla.AgreementTO agreementTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createBusinessValue
public java.lang.Long createBusinessValue(org.ow2.dragon.api.to.sla.BusinessValueTO bvTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createBusinessValue in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createCompensation
public java.lang.Long createCompensation(org.ow2.dragon.api.to.sla.BusinessValueTO bvTO,
org.ow2.dragon.api.to.sla.CompensationTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createCompensation in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createMetric
public java.lang.Long createMetric(org.ow2.dragon.api.to.sla.MetricTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createMetric in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createServiceDescriptionTerm
public java.lang.Long createServiceDescriptionTerm(org.ow2.dragon.api.to.sla.ServiceDescriptionTermTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createServiceDescriptionTerm in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createServiceProperties
public java.lang.Long createServiceProperties(org.ow2.dragon.api.to.sla.ServicePropertiesTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createServiceProperties in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createServiceReference
public java.lang.Long createServiceReference(org.ow2.dragon.api.to.sla.ServiceReferenceTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createServiceReference in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createServiceSelector
public java.lang.Long createServiceSelector(org.ow2.dragon.api.to.sla.ServiceSelectorTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createServiceSelector in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getBusinessValue
public org.ow2.dragon.api.to.sla.BusinessValueTO getBusinessValue(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getBusinessValue in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getCompensation
public org.ow2.dragon.api.to.sla.CompensationTO getCompensation(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getCompensation in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getGuarantee
public org.ow2.dragon.api.to.sla.GuaranteeTO getGuarantee(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getGuarantee in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getMetric
public org.ow2.dragon.api.to.sla.MetricTO getMetric(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getMetric in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getServiceDescriptionTerm
public org.ow2.dragon.api.to.sla.ServiceDescriptionTermTO getServiceDescriptionTerm(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getServiceDescriptionTerm in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getServiceProperties
public org.ow2.dragon.api.to.sla.ServicePropertiesTO getServiceProperties(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getServiceProperties in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getServiceReference
public org.ow2.dragon.api.to.sla.ServiceReferenceTO getServiceReference(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getServiceReference in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getServiceSelector
public org.ow2.dragon.api.to.sla.ServiceSelectorTO getServiceSelector(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getServiceSelector in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeBusinessValue
public void removeBusinessValue(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeBusinessValue in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeCompensation
public void removeCompensation(java.lang.Long bvTO,
java.lang.Long cTO,
org.ow2.dragon.api.to.sla.CompensationTO.Type type)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeCompensation in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeGuarantee
public void removeGuarantee(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeGuarantee in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeMetric
public void removeMetric(java.lang.Long agreementTO,
java.lang.Long mTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeMetric in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeServiceDescriptionTerm
public void removeServiceDescriptionTerm(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeServiceDescriptionTerm in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeServiceProperties
public void removeServiceProperties(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeServiceProperties in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeServiceReference
public void removeServiceReference(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeServiceReference in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeServiceSelector
public void removeServiceSelector(java.lang.Long gTO,
java.lang.Long ssTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeServiceSelector in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateBusinessValue
public java.lang.Long updateBusinessValue(org.ow2.dragon.api.to.sla.BusinessValueTO bvTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateBusinessValue in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateCompensation
public java.lang.Long updateCompensation(org.ow2.dragon.api.to.sla.CompensationTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateCompensation in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateGuarantee
public java.lang.Long updateGuarantee(org.ow2.dragon.api.to.sla.GuaranteeTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateGuarantee in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateMetric
public java.lang.Long updateMetric(org.ow2.dragon.api.to.sla.MetricTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateMetric in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateServiceDescriptionTerm
public java.lang.Long updateServiceDescriptionTerm(org.ow2.dragon.api.to.sla.ServiceDescriptionTermTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateServiceDescriptionTerm in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateServiceProperties
public java.lang.Long updateServiceProperties(org.ow2.dragon.api.to.sla.ServicePropertiesTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateServiceProperties in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateServiceReference
public java.lang.Long updateServiceReference(org.ow2.dragon.api.to.sla.ServiceReferenceTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateServiceReference in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateServiceSelector
public java.lang.Long updateServiceSelector(org.ow2.dragon.api.to.sla.ServiceSelectorTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateServiceSelector in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createServiceLevelObjective
public java.lang.Long createServiceLevelObjective(org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createServiceLevelObjective in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getServiceLevelObjective
public org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO getServiceLevelObjective(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getServiceLevelObjective in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeServiceLevelObjective
public void removeServiceLevelObjective(java.lang.Long id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeServiceLevelObjective in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateServiceLevelObjective
public java.lang.Long updateServiceLevelObjective(org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO cTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateServiceLevelObjective in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeGuarantee
public void removeGuarantee(java.lang.Long a,
java.lang.Long g)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeGuarantee in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createGuarantee
public java.lang.Long createGuarantee(org.ow2.dragon.api.to.sla.AgreementTO aTO,
org.ow2.dragon.api.to.sla.GuaranteeTO gTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createGuarantee in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createManagedAgreement
public java.lang.String createManagedAgreement(org.ow2.dragon.api.to.sla.ManagedAgreementTO managedAgreementTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createManagedAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getAllManagedAgreements
public java.util.List<org.ow2.dragon.api.to.sla.ManagedAgreementTO> getAllManagedAgreements(org.ow2.dragon.api.to.RequestOptionsTO requestOptionsTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getAllManagedAgreements in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
getManagedAgreement
public org.ow2.dragon.api.to.sla.ManagedAgreementTO getManagedAgreement(java.lang.String id)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
getManagedAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
removeManagedAgreement
public void removeManagedAgreement(java.lang.String agreementId)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
removeManagedAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
searchManagedAgreement
public java.util.List<org.ow2.dragon.api.to.sla.ManagedAgreementTO> searchManagedAgreement(java.lang.String searchCriteria,
java.util.List<java.lang.String> searchedProperties,
org.ow2.dragon.api.to.RequestOptionsTO iOptions)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
searchManagedAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
updateManagedAgreement
public java.lang.String updateManagedAgreement(org.ow2.dragon.api.to.sla.ManagedAgreementTO managedAgreementTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
updateManagedAgreement in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createJBIXml
public java.lang.String createJBIXml(org.ow2.dragon.api.to.sla.ManagedAgreementTO maTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createJBIXml in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
createProbeSettingsXml
public java.lang.String createProbeSettingsXml(org.ow2.dragon.api.to.sla.ManagedAgreementTO maTO)
throws org.ow2.dragon.api.service.sla.SLAServiceException
- Specified by:
createProbeSettingsXml in interface org.ow2.dragon.api.service.sla.SLAManager
- Throws:
org.ow2.dragon.api.service.sla.SLAServiceException
Copyright © 2008 eBMWebsourcing. All Rights Reserved.