gran.app.adapter.external.filter
Class SecuredFilterAdapterManager
java.lang.Object
gran.app.adapter.external.filter.SecuredFilterAdapterManager
- public class SecuredFilterAdapterManager
- extends java.lang.Object
|
Method Summary |
java.lang.String |
cloneTaskFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String currentTaskId)
|
java.lang.String |
cloneUserFilter(SessionContext sc,
java.lang.String filterId)
|
java.lang.String |
createSubscriber(SessionContext sc,
java.lang.String name,
java.lang.String userId,
java.lang.String groupId,
java.lang.String taskId,
java.lang.String filterId)
|
java.lang.String |
createTaskFilter(SessionContext sc,
java.lang.String name,
java.lang.String description,
boolean priv,
java.lang.String taskId,
java.lang.String ownerId,
java.lang.String type)
|
java.lang.String |
createUserFilter(SessionContext sc,
java.lang.String toUserId,
java.lang.String name,
java.lang.String description,
boolean priv)
|
void |
deleteTaskFilter(SessionContext sc,
java.lang.String filterId)
|
void |
deleteUserFilter(SessionContext sc,
java.lang.String filterId)
|
java.lang.String |
getCurrentTaskFilterId(SessionContext sc,
java.lang.String taskId)
|
java.lang.String |
getCurrentUserFilterId(SessionContext sc,
java.lang.String userId)
|
java.util.ArrayList |
getFilterTypeList(SessionContext sc)
|
java.util.List |
getNotificationList(SessionContext sc,
java.lang.String filterId,
java.lang.String taskId)
|
java.util.List |
getPrstatusNotificationList(SessionContext sc,
java.lang.String prstatusId)
|
java.util.List |
getPrstatusSubscriptionList(SessionContext sc,
java.lang.String prstatusId)
|
java.util.List |
getSubscriberList(SessionContext sc,
java.lang.String filterId,
java.lang.String taskId)
|
java.util.ArrayList |
getTaskFilterList(SessionContext sc,
java.lang.String taskId)
|
SecuredTaskFValueBean |
getTaskFValue(SessionContext sc,
java.lang.String filterId)
|
java.util.ArrayList |
getUserFilterList(SessionContext sc,
java.lang.String userId)
|
SecuredUserFValueBean |
getUserFValue(SessionContext sc,
java.lang.String filterId)
|
java.util.List |
getUserNotificationList(SessionContext sc,
java.lang.String userId)
|
java.util.List |
getUserSubscriptionList(SessionContext sc,
java.lang.String userId)
|
java.lang.String |
setCurrentFilter(SessionContext sc,
java.lang.String taskId,
java.lang.String filterId)
|
java.lang.String |
setCurrentUserFilter(SessionContext sc,
java.lang.String userId,
java.lang.String filterId)
|
void |
setFValue(SessionContext sc,
java.lang.String filterId,
SecuredTaskFValueBean map)
|
void |
setFValue(SessionContext sc,
java.lang.String filterId,
SecuredUserFValueBean map)
|
java.lang.String |
setNotification(SessionContext sc,
java.lang.String name,
java.lang.String filterId,
java.lang.String userId,
java.lang.String groupId,
java.lang.String taskId)
|
void |
unsetNotification(SessionContext sc,
java.lang.String notificationid)
|
void |
unSubscribe(SessionContext sc,
java.lang.String subscriberId)
|
void |
updateNotification(SessionContext sc,
java.lang.String notificationId,
java.lang.String name,
java.lang.String templateId,
java.lang.String condition)
|
void |
updateSubscriber(SessionContext sc,
java.lang.String subscriberId,
java.lang.String name,
java.lang.String templateId,
long startDate,
long stopDate,
long nextRun,
java.lang.Integer interval)
|
void |
updateTaskFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String name,
java.lang.String description,
boolean priv)
updates existing filter. |
void |
updateUserFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String name,
java.lang.String description,
boolean priv)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecuredFilterAdapterManager
public SecuredFilterAdapterManager(java.util.ArrayList adapters)
getUserNotificationList
public java.util.List getUserNotificationList(SessionContext sc,
java.lang.String userId)
throws GranException
- Throws:
GranException
getPrstatusNotificationList
public java.util.List getPrstatusNotificationList(SessionContext sc,
java.lang.String prstatusId)
throws GranException
- Throws:
GranException
getUserSubscriptionList
public java.util.List getUserSubscriptionList(SessionContext sc,
java.lang.String userId)
throws GranException
- Throws:
GranException
getPrstatusSubscriptionList
public java.util.List getPrstatusSubscriptionList(SessionContext sc,
java.lang.String prstatusId)
throws GranException
- Throws:
GranException
getTaskFilterList
public java.util.ArrayList getTaskFilterList(SessionContext sc,
java.lang.String taskId)
throws GranException
- Throws:
GranException
getTaskFValue
public SecuredTaskFValueBean getTaskFValue(SessionContext sc,
java.lang.String filterId)
throws GranException
- Throws:
GranException
getUserFValue
public SecuredUserFValueBean getUserFValue(SessionContext sc,
java.lang.String filterId)
throws GranException
- Throws:
GranException
setFValue
public void setFValue(SessionContext sc,
java.lang.String filterId,
SecuredTaskFValueBean map)
throws GranException
- Throws:
GranException
setFValue
public void setFValue(SessionContext sc,
java.lang.String filterId,
SecuredUserFValueBean map)
throws GranException
- Throws:
GranException
getSubscriberList
public java.util.List getSubscriberList(SessionContext sc,
java.lang.String filterId,
java.lang.String taskId)
throws GranException
- Throws:
GranException
unSubscribe
public void unSubscribe(SessionContext sc,
java.lang.String subscriberId)
throws GranException
- Throws:
GranException
updateSubscriber
public void updateSubscriber(SessionContext sc,
java.lang.String subscriberId,
java.lang.String name,
java.lang.String templateId,
long startDate,
long stopDate,
long nextRun,
java.lang.Integer interval)
throws GranException
- Throws:
GranException
createSubscriber
public java.lang.String createSubscriber(SessionContext sc,
java.lang.String name,
java.lang.String userId,
java.lang.String groupId,
java.lang.String taskId,
java.lang.String filterId)
throws GranException
- Throws:
GranException
createTaskFilter
public java.lang.String createTaskFilter(SessionContext sc,
java.lang.String name,
java.lang.String description,
boolean priv,
java.lang.String taskId,
java.lang.String ownerId,
java.lang.String type)
throws GranException
- Throws:
GranException
createUserFilter
public java.lang.String createUserFilter(SessionContext sc,
java.lang.String toUserId,
java.lang.String name,
java.lang.String description,
boolean priv)
throws GranException
- Throws:
GranException
cloneTaskFilter
public java.lang.String cloneTaskFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String currentTaskId)
throws GranException
- Throws:
GranException
cloneUserFilter
public java.lang.String cloneUserFilter(SessionContext sc,
java.lang.String filterId)
throws GranException
- Throws:
GranException
updateTaskFilter
public void updateTaskFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String name,
java.lang.String description,
boolean priv)
throws GranException
- updates existing filter.
- Parameters:
filterId - identifiername - name of the filterdescription - filter description
- Throws:
GranException
updateUserFilter
public void updateUserFilter(SessionContext sc,
java.lang.String filterId,
java.lang.String name,
java.lang.String description,
boolean priv)
throws GranException
- Throws:
GranException
deleteTaskFilter
public void deleteTaskFilter(SessionContext sc,
java.lang.String filterId)
throws GranException
- Throws:
GranException
deleteUserFilter
public void deleteUserFilter(SessionContext sc,
java.lang.String filterId)
throws GranException
- Throws:
GranException
getCurrentTaskFilterId
public java.lang.String getCurrentTaskFilterId(SessionContext sc,
java.lang.String taskId)
throws GranException
- Throws:
GranException
getCurrentUserFilterId
public java.lang.String getCurrentUserFilterId(SessionContext sc,
java.lang.String userId)
throws GranException
- Throws:
GranException
setCurrentFilter
public java.lang.String setCurrentFilter(SessionContext sc,
java.lang.String taskId,
java.lang.String filterId)
throws GranException
- Throws:
GranException
setCurrentUserFilter
public java.lang.String setCurrentUserFilter(SessionContext sc,
java.lang.String userId,
java.lang.String filterId)
throws GranException
- Throws:
GranException
getNotificationList
public java.util.List getNotificationList(SessionContext sc,
java.lang.String filterId,
java.lang.String taskId)
throws GranException
- Throws:
GranException
setNotification
public java.lang.String setNotification(SessionContext sc,
java.lang.String name,
java.lang.String filterId,
java.lang.String userId,
java.lang.String groupId,
java.lang.String taskId)
throws GranException
- Throws:
GranException
updateNotification
public void updateNotification(SessionContext sc,
java.lang.String notificationId,
java.lang.String name,
java.lang.String templateId,
java.lang.String condition)
throws GranException
- Throws:
GranException
unsetNotification
public void unsetNotification(SessionContext sc,
java.lang.String notificationid)
throws GranException
- Throws:
GranException
getFilterTypeList
public java.util.ArrayList getFilterTypeList(SessionContext sc)
throws GranException
- Throws:
GranException
getUserFilterList
public java.util.ArrayList getUserFilterList(SessionContext sc,
java.lang.String userId)
throws GranException
- Throws:
GranException
Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.