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

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

public class ServiceReferenceBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Constructor Summary
ServiceReferenceBean()
           
ServiceReferenceBean(org.ow2.dragon.api.to.sla.ServiceReferenceTO srTO)
          Loads a technical service from the request parameter 'id'.
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String delete()
          Deletes the current endpoint from the database
 java.lang.String getEpr()
           
 java.lang.String getName()
           
 java.lang.String getServiceName()
           
 org.ow2.dragon.api.to.sla.ServiceReferenceTO getSrTO()
           
 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 setServiceReferenceTO()
           
 void setSrTO(org.ow2.dragon.api.to.sla.ServiceReferenceTO srTO)
           
 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

ServiceReferenceBean

public ServiceReferenceBean()

ServiceReferenceBean

public ServiceReferenceBean(org.ow2.dragon.api.to.sla.ServiceReferenceTO srTO)
Loads a technical service from the request parameter 'id'.

Method Detail

getEpr

public java.lang.String getEpr()

save

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

setServiceReferenceTO

public void setServiceReferenceTO()

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)

getSrTO

public org.ow2.dragon.api.to.sla.ServiceReferenceTO getSrTO()
Returns:
the srTO

setSrTO

public void setSrTO(org.ow2.dragon.api.to.sla.ServiceReferenceTO srTO)
Parameters:
srTO - the srTO to set


Copyright © 2008 eBMWebsourcing. All Rights Reserved.