Class ModuleUserAttribute

java.lang.Object
com.easydesk.om.BaseModuleUserAttribute
com.easydesk.om.ModuleUserAttribute
All Implemented Interfaces:
Deletable, Orderable<ModuleUserAttribute>, Serializable, Comparable<ModuleUserAttribute>, ColumnAccessByName, ObjectModel, Persistent

public class ModuleUserAttribute extends BaseModuleUserAttribute implements Orderable<ModuleUserAttribute>, Deletable
This class is for dealing with Attributes associated to Users and Modules. User's choice of attributes to appear on the ItemList screen.
Version:
$Id: ModuleUserAttribute.java,v 1.32 2008/12/25 04:03:45 youngho Exp $
Author:
Youngho Cho
  • Field Details

    • COMMON_ATTRIBUTES

      public static final AttributeEnum[] COMMON_ATTRIBUTES
      모든 검색에 Default 로 나오는 속성 모든 검색은 Scope 를 기본으로 설정 @see EASYDESK-3681
  • Constructor Details

    • ModuleUserAttribute

      public ModuleUserAttribute()
      새로운 ModuleUserAttribute 인스턴스를 생성한다.
  • 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 BaseModuleUserAttribute
      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 - 삭제 중 오류가 발생한 경우