Class PreBuildScheduleAttribute

All Implemented Interfaces:
Touchable, Touched, Viewable, Cacheable, Observed, Retrievable, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class PreBuildScheduleAttribute extends FileAttribute implements Touchable
The skeleton for this class was autogenerated by Torque on: [Sat Dec 04 21:34:36 KST 2021] 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.
See Also:
  • Field Details

  • Constructor Details

    • PreBuildScheduleAttribute

      public PreBuildScheduleAttribute()
      Creates a new PreBuildScheduleAttribute object.
  • Method Details

    • getData

      public String getData(Scope scope, String date) throws Exception
      scope 와 날짜에 해당하는 pre-build 일정 데이터를 구한다.
      Parameters:
      scope - 대상 scope, null 이면 빈 문자열을 반환한다.
      date - yyyyMM format
      Returns:
      String { }, { }
      Throws:
      Exception - 파일을 읽는 중 오류가 발생한 경우
    • getDirectory

      public File getDirectory() throws Exception
      Repository
      Specified by:
      getDirectory in interface Touchable
      Returns:
      File
      Throws:
      Exception - folder 를 구하는 중 오류가 발생한 경우
    • getExtension

      public String getExtension() throws Exception
      DOCUMENT ME!
      Specified by:
      getExtension in interface Touched
      Overrides:
      getExtension in class FileAttribute
      Returns:
      DOCUMENT ME!
      Throws:
      Exception - DOCUMENT ME!
    • getFile

      public File getFile(Scope scope, String date) throws Exception
      해당 File 을 찾는다.
      Parameters:
      scope - 대상 scope
      date - yyyyMM format
      Returns:
      scope 와 날짜에 해당하는 파일
      Throws:
      Exception - 파일 경로를 구하는 중 오류가 발생한 경우
    • setFileItem

      public void setFileItem(org.apache.commons.fileupload.FileItem v)
      Set the value of file.
      Overrides:
      setFileItem in class FileAttribute
      Parameters:
      v - Value to assign to file.