Class LocalizedErrorInfo

java.lang.Object
com.easydesk.om.BaseLocalizedErrorInfo
com.easydesk.om.LocalizedErrorInfo
All Implemented Interfaces:
Deletable, Localized, ValidateErrorInfo, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class LocalizedErrorInfo extends BaseLocalizedErrorInfo implements Deletable, Localized, ValidateErrorInfo
The skeleton for this class was autogenerated by Torque on: [Sun Mar 06 17:06:04 KST 2022] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
  • Constructor Details

    • LocalizedErrorInfo

      public LocalizedErrorInfo()
      새로운 LocalizedErrorInfo 인스턴스를 생성한다.
  • Method Details

    • save

      public void save() throws Exception
      Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
      Specified by:
      save in interface Persistent
      Overrides:
      save in class BaseLocalizedErrorInfo
      Throws:
      Exception - 저장 중 오류가 발생한 경우
    • getExpect

      public String getExpect()
      DOCUMENT ME!
      Specified by:
      getExpect in interface ValidateErrorInfo
      Returns:
      DOCUMENT ME!
    • setExpect

      public void setExpect(String expect)
      DOCUMENT ME!
      Specified by:
      setExpect in interface ValidateErrorInfo
      Parameters:
      expect - DOCUMENT ME!
    • getReason

      public String getReason()
      DOCUMENT ME!
      Specified by:
      getReason in interface ValidateErrorInfo
      Returns:
      DOCUMENT ME!
    • setReason

      public void setReason(String expect)
      DOCUMENT ME!
      Specified by:
      setReason in interface ValidateErrorInfo
      Parameters:
      expect - DOCUMENT ME!
    • delete

      public boolean delete(EasyDeskUser user) throws Exception
      Delete the record.
      Specified by:
      delete in interface Deletable
      Parameters:
      user - who is acting
      Returns:
      true success false not success
      Throws:
      Exception - 삭제 중 오류가 발생한 경우
    • delete

      public boolean delete(EasyDeskUser user, boolean overrideLock) throws Exception
      Delete the record.
      Specified by:
      delete in interface Deletable
      Parameters:
      user - who is acting
      overrideLock - lock 이 걸려 있어도 삭제할지 여부
      Returns:
      true success false not success
      Throws:
      Exception - 삭제 중 오류가 발생한 경우
    • setLang

      public void setLang(AttributeOption option) throws TorqueException
      DOCUMENT ME!
      Parameters:
      option - DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • getLang

      public AttributeOption getLang() throws TorqueException
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • getLocale

      public Locale getLocale()
      DOCUMENT ME!
      Specified by:
      getLocale in interface Localized
      Returns:
      DOCUMENT ME!
    • setLocale

      public void setLocale(Locale locale)
      DOCUMENT ME!
      Specified by:
      setLocale in interface Localized
      Parameters:
      locale - DOCUMENT ME!
    • setProperties

      public void setProperties(Localized localized)
      DOCUMENT ME!
      Specified by:
      setProperties in interface Localized
      Parameters:
      localized - DOCUMENT ME!
    • setModified

      public void setModified(Localized localized)
      DOCUMENT ME!
      Specified by:
      setModified in interface Localized
      Parameters:
      localized - DOCUMENT ME!
    • getKey

      public String getKey()
      DOCUMENT ME!
      Specified by:
      getKey in interface Localized
      Returns:
      DOCUMENT ME!