Package com.easydesk.om
Class NotificationType
java.lang.Object
com.easydesk.om.BaseNotificationType
com.easydesk.om.NotificationType
- All Implemented Interfaces:
Deletable,Identifiable<Integer>,Serializable,ColumnAccessByName,ObjectModel,Persistent
public class NotificationType
extends BaseNotificationType
implements Deletable, Identifiable<Integer>
NotificationType, one to one corresponding to ActivitySetType Scope 에 따라서 Notification 대상이 결정된다. ActivitySetType 이
생성되면 동시에 따라서 생성된다. NotificationType Scope explain
- Global --> Module 에서는 설정할 수 없다. ADMIN_CONFIGURE 를 가지고 있어야 한다. NotificationFiltering 이 적용되지 않는다. ( 법적인 공지, 역할 변경등 Global 개인 정보의 변경에 대한 대상자에게 통지등 )
- Personal --> NotificationFiltering 이 적용되지 않는다. ( Password 변경등 Personal 개인 정보의 변경에 대한 대상자에게 통지등 )
- Author:
- Youngho Cho
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(EasyDeskUser user) Delete the record.booleandelete(EasyDeskUser user, boolean overrideLock) Delete the record.getId()Get the Id of the Identifiable Entity.getName()DOCUMENT ME!DOCUMENT ME!설정이 안되면 ActivtySetType Name 을 구한다.voidsave()Stores the object in the database.voidSets the Id of the Identifiable Entity.Methods inherited from class com.easydesk.om.BaseNotificationType
copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getActivitySetType, getActivitySetType, getByName, getByPeerName, getByPosition, getEasyDeskRoleImpl, getEasyDeskRoleImpl, getFieldNames, getForeignKeyForActivitySetType, getForeignKeyForEasyDeskRoleImpl, getForeignKeyForScope, getOwnerId, getPeer, getPrimaryKey, getScope, getScope, getScopeId, getTableMap, getTypeId, hashCode, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isSaving, resetModified, save, save, setActivitySetType, setActivitySetTypeKey, setByName, setByPeerName, setByPosition, setDeleted, setEasyDeskRoleImpl, setEasyDeskRoleImplKey, setLoading, setModified, setNew, setOwnerId, setPrimaryKey, setPrimaryKey, setSaving, setScope, setScopeId, setScopeKey, setTemplate, setTypeId, 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
-
NotificationType
public NotificationType()새로운NotificationType인스턴스를 생성한다.
-
-
Method Details
-
getId
Description copied from interface:IdentifiableGet the Id of the Identifiable Entity.- Specified by:
getIdin interfaceIdentifiable<Integer>- Returns:
- name which is unique field name key for { uidKeyName, queryKey } pair
-
setId
Description copied from interface:IdentifiableSets the Id of the Identifiable Entity.- Specified by:
setIdin interfaceIdentifiable<Integer>- Parameters:
id- The new Id of the entity
-
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 classBaseNotificationType- Throws:
Exception
-
getName
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
delete
Delete the record. -
delete
Delete the record. -
getTemplate
설정이 안되면 ActivtySetType Name 을 구한다. TODO : Notification 에서 Velocity template Engine 를 계속 사용할 지 여부를 결정해야 한다.- Overrides:
getTemplatein classBaseNotificationType- Returns:
- template
-
getOwnerUser
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-