Interface Deletable

All Superinterfaces:
ObjectModel, Persistent
All Known Implementing Classes:
AttributeAttributeGroup, AttributeGroup, EasyDeskValidator, ItemTypeAttribute, ItemTypeOption, LocalizedConditionInfo, LocalizedErrorInfo, LocalizedListInfo, LocalizedOptionInfo, ModuleAttribute, ModuleUserAttribute, NotificationFilter, NotificationStatus, NotificationType, QueryUser, QueryValue, Transition

public interface Deletable extends Persistent
This interface declared the methods that any object deleted from persistent storage
Author:
Youngho Cho
  • Method Details

    • delete

      boolean delete(EasyDeskUser user) throws Exception
      Checks if user has permission to delete module-item type mapping.
      Parameters:
      user - who is acting
      Returns:
      true success false not success
      Throws:
      Exception - 삭제 중 오류가 발생한 경우
    • delete

      boolean delete(EasyDeskUser user, boolean overrideLock) throws Exception
      Checks if user has permission to delete module-item type mapping.
      Parameters:
      user - who is acting
      overrideLock - lock 이 걸려 있어도 삭제할지 여부
      Returns:
      true success false not success
      Throws:
      Exception - 삭제 중 오류가 발생한 경우