com.trackstudio.kernel.manager
Class FilterManager

java.lang.Object
  extended bycom.trackstudio.kernel.manager.KernelManager
      extended bycom.trackstudio.kernel.manager.FilterManager

public class FilterManager
extends KernelManager


Field Summary
 
Fields inherited from class com.trackstudio.kernel.manager.KernelManager
hu
 
Method Summary
 java.lang.String copyTaskFilter(java.lang.String filterId, java.lang.String currentTaskId, java.lang.String locale, java.lang.String userId)
           
 java.lang.String copyUserFilter(java.lang.String filterId, java.lang.String locale, java.lang.String userId)
           
 java.lang.String createSubscriber(java.lang.String userId, java.lang.String taskId, java.lang.String filterId, java.sql.Timestamp startDate, java.sql.Timestamp stopDate, java.sql.Timestamp nextRun, java.lang.Integer interval, java.lang.String templateId)
           
 java.lang.String createTaskFilter(java.lang.String name, java.lang.String description, boolean priv, java.lang.String taskId, java.lang.String ownerId, java.lang.String filterTypeId)
           
 java.lang.String createUserFilter(java.lang.String name, java.lang.String description, boolean priv, java.lang.String ownerId)
           
 void deleteTaskFilter(java.lang.String filterId)
           
 void deleteUserFilter(java.lang.String filterId)
           
 java.util.List getAllTaskFilterList(java.lang.String taskId)
           
 java.lang.String getCurrentTaskFilterId(java.lang.String taskId, java.lang.String userId)
           
 java.lang.String getCurrentUserFilterId(java.lang.String userId, java.lang.String ownerId)
           
protected  java.util.List getFilterNotificationList(java.lang.String filterId)
           
protected  java.util.List getFilterSubscriptionList(java.lang.String filterId)
           
 java.util.List getFilterTypeList()
           
protected static FilterManager getInstance()
           
 java.util.List getNotificationList(java.lang.String filterId, java.lang.String taskId)
           
 java.util.List getSubscriberList(java.lang.String filterId, java.lang.String taskId)
           
 java.util.List getTaskFilterList(java.lang.String taskId, java.lang.String userId)
           
 TaskFValue getTaskFValue(java.lang.String filterId)
           
 java.util.List getUserFilterList(java.lang.String currentUserId, java.lang.String ownerId)
           
 UserFValue getUserFValue(java.lang.String filterId)
           
 java.util.List getUserNotificationList(java.lang.String userId)
           
 java.util.List getUserSubscriptionList(java.lang.String userId)
           
 java.lang.String setCurrentFilter(java.lang.String taskId, java.lang.String userId, java.lang.String filterId)
           
 java.lang.String setCurrentUserFilter(java.lang.String userId, java.lang.String filterId, java.lang.String ownerId)
           
 void setFValue(java.lang.String filterId, FValue map)
           
 void setNotification(java.lang.String filterId, java.lang.String userId, java.lang.String taskId, java.lang.String templateId)
           
 void unsetNotification(java.lang.String notificationId)
           
 void unSubscribe(java.lang.String subscribeId)
           
 void updateNotification(java.lang.String notificationId, java.lang.String templateId)
           
 void updateSubscriber(java.lang.String subscriberId, java.lang.String templateId, java.sql.Timestamp startDate, java.sql.Timestamp stopDate, java.sql.Timestamp nextRun, java.lang.Integer interval)
           
 void updateTaskFilter(java.lang.String filterId, java.lang.String name, java.lang.String description, boolean priv)
           
 void updateUserFilter(java.lang.String filterId, java.lang.String name, java.lang.String description, boolean priv)
           
 
Methods inherited from class com.trackstudio.kernel.manager.KernelManager
getAcl, getAttachment, getCategory, getEmailType, getFilter, getFind, getIndex, getLicense, getLongText, getMailImport, getMessage, getPrstatus, getRegistration, getReport, getScript, getStep, getTask, getTSInfo, getUdf, getUser, getWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

protected static FilterManager getInstance()

updateTaskFilter

public void updateTaskFilter(java.lang.String filterId,
                             java.lang.String name,
                             java.lang.String description,
                             boolean priv)
                      throws GranException
Throws:
GranException

updateUserFilter

public void updateUserFilter(java.lang.String filterId,
                             java.lang.String name,
                             java.lang.String description,
                             boolean priv)
                      throws GranException
Throws:
GranException

getFilterTypeList

public java.util.List getFilterTypeList()
                                 throws GranException
Throws:
GranException

getUserFilterList

public java.util.List getUserFilterList(java.lang.String currentUserId,
                                        java.lang.String ownerId)
                                 throws GranException
Throws:
GranException

getTaskFilterList

public java.util.List getTaskFilterList(java.lang.String taskId,
                                        java.lang.String userId)
                                 throws GranException
Throws:
GranException

getAllTaskFilterList

public java.util.List getAllTaskFilterList(java.lang.String taskId)
                                    throws GranException
Throws:
GranException

getUserNotificationList

public java.util.List getUserNotificationList(java.lang.String userId)
                                       throws GranException
Throws:
GranException

getFilterNotificationList

protected java.util.List getFilterNotificationList(java.lang.String filterId)
                                            throws GranException
Throws:
GranException

getUserSubscriptionList

public java.util.List getUserSubscriptionList(java.lang.String userId)
                                       throws GranException
Throws:
GranException

getFilterSubscriptionList

protected java.util.List getFilterSubscriptionList(java.lang.String filterId)
                                            throws GranException
Throws:
GranException

copyTaskFilter

public java.lang.String copyTaskFilter(java.lang.String filterId,
                                       java.lang.String currentTaskId,
                                       java.lang.String locale,
                                       java.lang.String userId)
                                throws GranException
Throws:
GranException

copyUserFilter

public java.lang.String copyUserFilter(java.lang.String filterId,
                                       java.lang.String locale,
                                       java.lang.String userId)
                                throws GranException
Throws:
GranException

getUserFValue

public UserFValue getUserFValue(java.lang.String filterId)
                         throws GranException
Throws:
GranException

getTaskFValue

public TaskFValue getTaskFValue(java.lang.String filterId)
                         throws GranException
Throws:
GranException

getSubscriberList

public java.util.List getSubscriberList(java.lang.String filterId,
                                        java.lang.String taskId)
                                 throws GranException
Throws:
GranException

unSubscribe

public void unSubscribe(java.lang.String subscribeId)
                 throws GranException
Throws:
GranException

createSubscriber

public java.lang.String createSubscriber(java.lang.String userId,
                                         java.lang.String taskId,
                                         java.lang.String filterId,
                                         java.sql.Timestamp startDate,
                                         java.sql.Timestamp stopDate,
                                         java.sql.Timestamp nextRun,
                                         java.lang.Integer interval,
                                         java.lang.String templateId)
                                  throws GranException
Throws:
GranException

updateSubscriber

public void updateSubscriber(java.lang.String subscriberId,
                             java.lang.String templateId,
                             java.sql.Timestamp startDate,
                             java.sql.Timestamp stopDate,
                             java.sql.Timestamp nextRun,
                             java.lang.Integer interval)
                      throws GranException
Throws:
GranException

getCurrentTaskFilterId

public java.lang.String getCurrentTaskFilterId(java.lang.String taskId,
                                               java.lang.String userId)
                                        throws GranException
Throws:
GranException

setCurrentFilter

public java.lang.String setCurrentFilter(java.lang.String taskId,
                                         java.lang.String userId,
                                         java.lang.String filterId)
                                  throws GranException
Throws:
GranException

setNotification

public void setNotification(java.lang.String filterId,
                            java.lang.String userId,
                            java.lang.String taskId,
                            java.lang.String templateId)
                     throws GranException
Throws:
GranException

updateNotification

public void updateNotification(java.lang.String notificationId,
                               java.lang.String templateId)
                        throws GranException
Throws:
GranException

unsetNotification

public void unsetNotification(java.lang.String notificationId)
                       throws GranException
Throws:
GranException

getNotificationList

public java.util.List getNotificationList(java.lang.String filterId,
                                          java.lang.String taskId)
                                   throws GranException
Throws:
GranException

getCurrentUserFilterId

public java.lang.String getCurrentUserFilterId(java.lang.String userId,
                                               java.lang.String ownerId)
                                        throws GranException
Throws:
GranException

setCurrentUserFilter

public java.lang.String setCurrentUserFilter(java.lang.String userId,
                                             java.lang.String filterId,
                                             java.lang.String ownerId)
                                      throws GranException
Throws:
GranException

createTaskFilter

public java.lang.String createTaskFilter(java.lang.String name,
                                         java.lang.String description,
                                         boolean priv,
                                         java.lang.String taskId,
                                         java.lang.String ownerId,
                                         java.lang.String filterTypeId)
                                  throws GranException
Throws:
GranException

createUserFilter

public java.lang.String createUserFilter(java.lang.String name,
                                         java.lang.String description,
                                         boolean priv,
                                         java.lang.String ownerId)
                                  throws GranException
Throws:
GranException

deleteTaskFilter

public void deleteTaskFilter(java.lang.String filterId)
                      throws GranException
Throws:
GranException

deleteUserFilter

public void deleteUserFilter(java.lang.String filterId)
                      throws GranException
Throws:
GranException

setFValue

public void setFValue(java.lang.String filterId,
                      FValue map)
               throws GranException
Throws:
GranException


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.