Class EmblemAttribute

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

public class EmblemAttribute extends StringAttribute
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:
  • Constructor Details

    • EmblemAttribute

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

    • getPath

      public String getPath(String size) throws Exception
      Emblem 의 Repository 경로를 구한다.

      Emblem 이 없으면 ( Module ItemType Emblem > ) Global ItemType Emblem > Module Emblem > EasyDesk Emblem 을 적용한다.

      Parameters:
      size - (variant)
      Returns:
      Emblem 파일의 Repository 경로
      Throws:
      Exception - 경로를 구하는 중 오류가 발생한 경우
    • fixedEmblemPath

      public static String fixedEmblemPath(String pathname)
      검색 결과에서 Emblem Path 를 Default Thumbnail 크기 (w70) 로 Fixed 한다.
      Parameters:
      pathname - emblem 파일 경로
      Returns:
      size added path
    • fixedEmblemPath

      public static String fixedEmblemPath(String pathname, String size)
      Emblem Path 에 크기(variant)를 붙인 경로를 구한다.
      Parameters:
      pathname - emblem 파일 경로
      size - variant 크기 (예: w70h80)
      Returns:
      size added path