Package com.easydesk.om
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
This interface declared the methods that any object deleted from persistent storage
- Author:
- Youngho Cho
-
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(EasyDeskUser user) Checks if user has permission to delete module-item type mapping.booleandelete(EasyDeskUser user, boolean overrideLock) Checks if user has permission to delete module-item type mapping.Methods inherited from interface org.apache.torque.om.ObjectModel
getPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKeyMethods inherited from interface org.apache.torque.om.Persistent
save, save, save
-
Method Details
-
delete
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
Checks if user has permission to delete module-item type mapping.- Parameters:
user- who is actingoverrideLock- lock 이 걸려 있어도 삭제할지 여부- Returns:
- true success false not success
- Throws:
Exception- 삭제 중 오류가 발생한 경우
-