Class LocalizedOptionInfo

java.lang.Object
com.easydesk.om.BaseLocalizedOptionInfo
com.easydesk.om.LocalizedOptionInfo
All Implemented Interfaces:
Deletable, Localized, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class LocalizedOptionInfo extends BaseLocalizedOptionInfo implements Deletable, Localized
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

    • LocalizedOptionInfo

      public LocalizedOptionInfo()
      새로운 LocalizedOptionInfo 인스턴스를 생성한다.
  • 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 BaseLocalizedOptionInfo
      Throws:
      Exception - 저장 중 오류가 발생한 경우
    • 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 - 삭제 중 오류가 발생한 경우
    • getAttributeOption

      public AttributeOption getAttributeOption() throws TorqueException
      localize 대상 AttributeOption 을 구한다. same as getAttributeOptionRelatedByOptionId()
      Returns:
      AttributeOption
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우
    • setAttributeOption

      public void setAttributeOption(AttributeOption option) throws TorqueException
      localize 대상 AttributeOption 을 설정한다. same as setAttributeOptionRelatedByOptionId(option)
      Parameters:
      option - 대상 AttributeOption
      Throws:
      TorqueException - 설정 중 오류가 발생한 경우
    • 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!
    • getNewInstance

      public static LocalizedOptionInfo getNewInstance(AttributeOption lang, AttributeOption option, ItemType type, Module module) throws TorqueException
      새 LocalizedOptionInfo 를 생성한다.
      Parameters:
      lang - 언어 option
      option - localize 대상 AttributeOption
      type - 대상 ItemType
      module - 대상 Module
      Returns:
      새 LocalizedOptionInfo
      Throws:
      TorqueException - 생성 중 오류가 발생한 경우