Package com.easydesk.om
Class NotificationFilter
java.lang.Object
com.easydesk.om.BaseNotificationFilter
com.easydesk.om.NotificationFilter
- All Implemented Interfaces:
Deletable,Serializable,ColumnAccessByName,ObjectModel,Persistent
- Author:
- Youngho Cho
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()DOCUMENT ME!booleandelete(EasyDeskUser user) Delete the record.booleandelete(EasyDeskUser user, boolean overrideLock) Delete the record.filter 의 대상 사용자를 구한다.filter 가 적용되는 Module 을 구한다.DOCUMENT ME!booleanDOCUMENT ME!static booleanisEnabledFor(Module module, EasyDeskUser receiver) determines whether specific user has enabled notifications in given module.static booleanisEnabledFor(Module module, EasyDeskUser receiver, ActivitySetType type, Integer ManagerId) determines whether user has enabled notifications for given activityType in given module.voidsave()Stores the object in the database.voidsetEasyDeskUser(EasyDeskUser user) DOCUMENT ME!voidDOCUMENT ME!voidDOCUMENT ME!Methods inherited from class com.easydesk.om.BaseNotificationFilter
copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getActivitySetType, getActivitySetType, getAttributeOption, getAttributeOption, getByName, getByPeerName, getByPosition, getEasyDeskModule, getEasyDeskModule, getEasyDeskUserImpl, getEasyDeskUserImpl, getFieldNames, getForeignKeyForActivitySetType, getForeignKeyForAttributeOption, getForeignKeyForEasyDeskModule, getForeignKeyForEasyDeskUserImpl, getManagerId, getModuleId, getPeer, getPrimaryKey, getTableMap, getTypeId, getUserId, hashCode, isCacheOnSave, isFilterState, isLoading, isModified, isNew, isSaving, isSendDetail, isSendSelf, resetModified, save, save, setActivitySetType, setActivitySetTypeKey, setAttributeOption, setAttributeOptionKey, setByName, setByPeerName, setByPosition, setDeleted, setEasyDeskModule, setEasyDeskModuleKey, setEasyDeskUserImpl, setEasyDeskUserImplKey, setFilterState, setLoading, setManagerId, setModified, setModuleId, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey, setSaving, setSendDetail, setSendSelf, setTypeId, setUserId, toString, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
Constructor Details
-
NotificationFilter
public NotificationFilter()새로운NotificationFilter인스턴스를 생성한다.
-
-
Method Details
-
save
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.- Specified by:
savein interfacePersistent- Overrides:
savein classBaseNotificationFilter- Throws:
Exception- 저장 중 오류가 발생한 경우
-
getNotificationManager
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
setNotificationManager
DOCUMENT ME!- Parameters:
option- DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-
getModule
filter 가 적용되는 Module 을 구한다.- Returns:
- Module
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
setModule
DOCUMENT ME!- Parameters:
module- DOCUMENT ME!
-
getEasyDeskUser
filter 의 대상 사용자를 구한다.- Returns:
- EasyDeskUser
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
setEasyDeskUser
DOCUMENT ME!- Parameters:
user- DOCUMENT ME!
-
isEnabledFor
public static boolean isEnabledFor(Module module, EasyDeskUser receiver, ActivitySetType type, Integer ManagerId) throws TorqueException determines whether user has enabled notifications for given activityType in given module.- Parameters:
module- 대상 Modulereceiver- 통지를 받을 사용자type- 대상 ActivitySetTypeManagerId- 통지 방법(notification manager) id- Returns:
- true/false
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
isEnabledFor
determines whether specific user has enabled notifications in given module.- Parameters:
module- 대상 Modulereceiver- 통지를 받을 사용자- Returns:
- true/false
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
isDeleted
public boolean isDeleted()DOCUMENT ME!- Overrides:
isDeletedin classBaseNotificationFilter- Returns:
- DOCUMENT ME!
-
delete
Delete the record. -
delete
Delete the record. -
delete
DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-