Class UserDataBean

java.lang.Object
ecmwf.ecpds.master.plugin.http.dao.users.UserDataBean
All Implemented Interfaces:
ecmwf.web.model.AttributedBean, ecmwf.web.model.ModelBean, ecmwf.web.model.users.UserData

public class UserDataBean extends Object implements ecmwf.web.model.users.UserData
The Class UserDataBean.
  • Constructor Details

    • UserDataBean

      public UserDataBean(String s)
      Instantiates a new user data bean.
      Parameters:
      s - the s
  • Method Details

    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
    • getAttribute

      public String getAttribute(String name) throws ecmwf.web.model.ModelException
      Gets the attribute.
      Specified by:
      getAttribute in interface ecmwf.web.model.AttributedBean
      Throws:
      ecmwf.web.model.ModelException
    • getAttribute

      public String getAttribute(String name, String defaultValue)
      Gets the attribute.
      Specified by:
      getAttribute in interface ecmwf.web.model.AttributedBean
    • getSafeAttribute

      public String getSafeAttribute(String name)
      Gets the safe attribute.
      Specified by:
      getSafeAttribute in interface ecmwf.web.model.AttributedBean
    • getAttribute

      public String getAttribute(String name, String defaultValue, String prefix, String suffix)
      Gets the attribute.
      Specified by:
      getAttribute in interface ecmwf.web.model.AttributedBean
    • setAttribute

      public void setAttribute(String name, String value)
      Sets the attribute.
      Specified by:
      setAttribute in interface ecmwf.web.model.AttributedBean
    • dump

      public String dump(int mode)
      Dump.
      Specified by:
      dump in interface ecmwf.web.model.AttributedBean
    • setId

      public void setId(String id)
      Sets the id.
      Specified by:
      setId in interface ecmwf.web.model.ModelBean
    • getId

      public String getId()
      Gets the id.
      Specified by:
      getId in interface ecmwf.web.model.ModelBean
    • getIntId

      public int getIntId()
      Gets the int id.
      Specified by:
      getIntId in interface ecmwf.web.model.ModelBean
    • isNew

      public boolean isNew()
      Checks if is new.
      Specified by:
      isNew in interface ecmwf.web.model.ModelBean
    • getAttributeValue

      public Object getAttributeValue(String name) throws ecmwf.web.model.ModelException
      Gets the attribute value.
      Specified by:
      getAttributeValue in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
    • getAttrs

      public Map<String,String> getAttrs()
      Gets the attrs.
      Specified by:
      getAttrs in interface ecmwf.web.model.AttributedBean
    • save

      public void save() throws ecmwf.web.model.ModelException
      Save.
      Specified by:
      save in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • insert

      public void insert() throws ecmwf.web.model.ModelException
      Insert.
      Specified by:
      insert in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • delete

      public void delete() throws ecmwf.web.model.ModelException
      Delete.
      Specified by:
      delete in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • save

      public void save(Object context) throws ecmwf.web.model.ModelException
      Save.
      Specified by:
      save in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • insert

      public void insert(Object context) throws ecmwf.web.model.ModelException
      Insert.
      Specified by:
      insert in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • delete

      public void delete(Object context) throws ecmwf.web.model.ModelException
      Delete.
      Specified by:
      delete in interface ecmwf.web.model.ModelBean
      Throws:
      ecmwf.web.model.ModelException
    • hasAttribute

      public boolean hasAttribute(String name)
      Checks for attribute.
      Specified by:
      hasAttribute in interface ecmwf.web.model.AttributedBean
    • getAttributeNames

      public Iterator<?> getAttributeNames()
      Gets the attribute names.
      Specified by:
      getAttributeNames in interface ecmwf.web.model.AttributedBean