com.trackstudio.securedkernel
Class SecuredFindAdapterManager

java.lang.Object
  extended by com.trackstudio.securedkernel.SecuredFindAdapterManager

public class SecuredFindAdapterManager
extends java.lang.Object

Класс SecuredFindAdapterManager содержит методы для поиска объектов по их ID.


Constructor Summary
SecuredFindAdapterManager()
           
 
Method Summary
 SecuredAttachmentBean findAttachmentById(SessionContext sc, java.lang.String id)
           
 SecuredBookmarkBean findBookmarkById(SessionContext sc, java.lang.String id)
          Ищет SecuredBookmarkBean по ID
 SecuredCategoryBean findCategoryById(SessionContext sc, java.lang.String id)
          Ищет SecuredCategoryBean по ID
 SecuredFilterBean findFilterById(SessionContext sc, java.lang.String id)
          Ищет SecuredFilterBean по ID
 SecuredMailImportBean findMailImportById(SessionContext sc, java.lang.String id)
          Ищет SecuredMailImportBean по ID
 SecuredMessageAttachmentBean findMessageAttachmentById(SessionContext sc, java.lang.String id)
          Ищет SecuredAttachmentBean по ID
 SecuredMessageBean findMessageById(SessionContext sc, java.lang.String id)
          Ищет SecuredMessageBean по ID
 SecuredMstatusBean findMstatusById(SessionContext sc, java.lang.String id)
          Ищет SecuredMstatusBean по ID
 SecuredNotificationBean findNotificationById(SessionContext sc, java.lang.String id)
          Ищет SecuredNotificationBean по ID
 SecuredPriorityBean findPriorityById(SessionContext sc, java.lang.String id)
          Ищет SecuredPriorityBean по ID
 SecuredPrstatusBean findPrstatusById(SessionContext sc, java.lang.String id)
          Ищет SecuredPrstatusBean по ID
 SecuredRegistrationBean findRegistrationById(SessionContext sc, java.lang.String id)
          Ищет SecuredRegistrationBean по ID
 SecuredReportBean findReportById(SessionContext sc, java.lang.String id)
          Ищет SecuredReportBean по ID
 SecuredResolutionBean findResolutionById(SessionContext sc, java.lang.String id)
          Ищет SecuredResolutionBean по ID
 SecuredStatusBean findStatusById(SessionContext sc, java.lang.String id)
          Ищет SecuredStatusBean по ID
 SecuredSubscriptionBean findSubscriptionById(SessionContext sc, java.lang.String id)
          Ищет SecuredSubscriptionBean по ID
 SecuredTaskAclBean findTaskAclById(SessionContext sc, java.lang.String id)
          Ищет SecuredTaskAclBean по ID
 SecuredTaskAttachmentBean findTaskAttachmentById(SessionContext sc, java.lang.String id)
          Ищет SecuredAttachmentBean по ID
 SecuredTaskBean findTaskById(SessionContext sc, java.lang.String id)
          Ищет SecuredTaskBean по ID
 SecuredTaskUDFBean findTaskUDFById(SessionContext sc, java.lang.String id)
          Ищет SecuredTaskUDFBean по ID
 SecuredTemplateBean findTemplateById(SessionContext sc, java.lang.String id)
          Ищет SecuredTemplateBean по ID
 SecuredTransitionBean findTransitionById(SessionContext sc, java.lang.String id)
          Ищет SecuredTransitionBean по ID
 SecuredUDFBean findUDFById(SessionContext sc, java.lang.String id)
          Ищет SecuredUDFBean по ID
 SecuredUdflistBean findUdflistById(SessionContext sc, java.lang.String id)
          Ищет SecuredUdflistBean по ID
 SecuredUserAclBean findUserAclById(SessionContext sc, java.lang.String id)
          Ищет SecuredUserAclBean по ID
 SecuredUserAttachmentBean findUserAttachmentById(SessionContext sc, java.lang.String id)
          Ищет SecuredAttachmentBean по ID
 SecuredUserBean findUserById(SessionContext sc, java.lang.String id)
          Ищет SecuredUserBean по ID
 SecuredUserUDFBean findUserUDFById(SessionContext sc, java.lang.String id)
          Ищет SecuredUserUDFBean по ID
 SecuredWorkflowBean findWorkflowById(SessionContext sc, java.lang.String id)
          Ищет SecuredWorkflowBean по ID
 SecuredWorkflowUDFBean findWorkflowUDFById(SessionContext sc, java.lang.String id)
          Ищет SecuredWorkflowUDFBean по ID
 java.lang.String quickGoHandler(SessionContext sc, java.lang.String key)
          Ищет ID задачи по строке поиска
 AttachmentCacheItem searchAttachmentById(SessionContext sc, java.lang.String id)
          Ищет AttachmentCacheItem по ID
 SecuredTaskBean searchTaskByQuickGo(SessionContext sc, java.lang.String key)
          Ищет ID задачи по строке поиска
 SecuredUserBean searchUserByQuickGo(SessionContext sc, java.lang.String key)
          Ищет ID пользователя по строке поиска
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredFindAdapterManager

public SecuredFindAdapterManager()
Method Detail

findWorkflowById

public SecuredWorkflowBean findWorkflowById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredWorkflowBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredWorkflowBean
Throws:
GranException - при необходимости
See Also:
SecuredWorkflowBean

findCategoryById

public SecuredCategoryBean findCategoryById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredCategoryBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredCategoryBean
Throws:
GranException - при необходимости
See Also:
SecuredCategoryBean

findNotificationById

public SecuredNotificationBean findNotificationById(SessionContext sc,
                                                    java.lang.String id)
                                             throws GranException
Ищет SecuredNotificationBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredNotificationBean
Throws:
GranException - при необходимости
See Also:
SecuredNotificationBean

findFilterById

public SecuredFilterBean findFilterById(SessionContext sc,
                                        java.lang.String id)
                                 throws GranException
Ищет SecuredFilterBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredFilterBean
Throws:
GranException - при необходимости
See Also:
SecuredFilterBean

findPrstatusById

public SecuredPrstatusBean findPrstatusById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredPrstatusBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredPrstatusBean
Throws:
GranException - при необходимости
See Also:
SecuredPrstatusBean

findTemplateById

public SecuredTemplateBean findTemplateById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredTemplateBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredTemplateBean
Throws:
GranException - при необходимости
See Also:
SecuredTemplateBean

findSubscriptionById

public SecuredSubscriptionBean findSubscriptionById(SessionContext sc,
                                                    java.lang.String id)
                                             throws GranException
Ищет SecuredSubscriptionBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredSubscriptionBean
Throws:
GranException - при необходимости
See Also:
SecuredSubscriptionBean

findReportById

public SecuredReportBean findReportById(SessionContext sc,
                                        java.lang.String id)
                                 throws GranException
Ищет SecuredReportBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredReportBean
Throws:
GranException - при необходимости
See Also:
SecuredReportBean

findMailImportById

public SecuredMailImportBean findMailImportById(SessionContext sc,
                                                java.lang.String id)
                                         throws GranException
Ищет SecuredMailImportBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredMailImportBean
Throws:
GranException - при необходимости
See Also:
SecuredMailImportBean

findMessageById

public SecuredMessageBean findMessageById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredMessageBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredMessageBean
Throws:
GranException - при необходимости
See Also:
SecuredMessageBean

findMstatusById

public SecuredMstatusBean findMstatusById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredMstatusBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredMstatusBean
Throws:
GranException - при необходимости
See Also:
SecuredMstatusBean

findPriorityById

public SecuredPriorityBean findPriorityById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredPriorityBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredPriorityBean
Throws:
GranException - при необходимости
See Also:
SecuredPriorityBean

findUserAclById

public SecuredUserAclBean findUserAclById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredUserAclBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredUserAclBean
Throws:
GranException - при необходимости
See Also:
SecuredUserAclBean

findTaskAclById

public SecuredTaskAclBean findTaskAclById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredTaskAclBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredTaskAclBean
Throws:
GranException - при необходимости
See Also:
SecuredTaskAclBean

findResolutionById

public SecuredResolutionBean findResolutionById(SessionContext sc,
                                                java.lang.String id)
                                         throws GranException
Ищет SecuredResolutionBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredResolutionBean
Throws:
GranException - при необходимости
See Also:
SecuredResolutionBean

findStatusById

public SecuredStatusBean findStatusById(SessionContext sc,
                                        java.lang.String id)
                                 throws GranException
Ищет SecuredStatusBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredStatusBean
Throws:
GranException - при необходимости
See Also:
SecuredStatusBean

findTransitionById

public SecuredTransitionBean findTransitionById(SessionContext sc,
                                                java.lang.String id)
                                         throws GranException
Ищет SecuredTransitionBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredTransitionBean
Throws:
GranException - при необходимости
See Also:
SecuredTransitionBean

findTaskById

public SecuredTaskBean findTaskById(SessionContext sc,
                                    java.lang.String id)
                             throws GranException
Ищет SecuredTaskBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredTaskBean
Throws:
GranException - при необходимости
See Also:
SecuredTaskBean

findTaskUDFById

public SecuredTaskUDFBean findTaskUDFById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredTaskUDFBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredTaskUDFBean
Throws:
GranException - при необходимости
See Also:
SecuredTaskUDFBean

findUdflistById

public SecuredUdflistBean findUdflistById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredUdflistBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredUdflistBean
Throws:
GranException - при необходимости
See Also:
SecuredUdflistBean

findUserById

public SecuredUserBean findUserById(SessionContext sc,
                                    java.lang.String id)
                             throws GranException
Ищет SecuredUserBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredUserBean
Throws:
GranException - при необходимости
See Also:
SecuredUserBean

findUserUDFById

public SecuredUserUDFBean findUserUDFById(SessionContext sc,
                                          java.lang.String id)
                                   throws GranException
Ищет SecuredUserUDFBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredUserUDFBean
Throws:
GranException - при необходимости
See Also:
SecuredUserUDFBean

findWorkflowUDFById

public SecuredWorkflowUDFBean findWorkflowUDFById(SessionContext sc,
                                                  java.lang.String id)
                                           throws GranException
Ищет SecuredWorkflowUDFBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredWorkflowUDFBean
Throws:
GranException - при необходимости
See Also:
SecuredWorkflowUDFBean

findRegistrationById

public SecuredRegistrationBean findRegistrationById(SessionContext sc,
                                                    java.lang.String id)
                                             throws GranException
Ищет SecuredRegistrationBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredRegistrationBean
Throws:
GranException - при необходимости
See Also:
SecuredRegistrationBean

findTaskAttachmentById

public SecuredTaskAttachmentBean findTaskAttachmentById(SessionContext sc,
                                                        java.lang.String id)
                                                 throws GranException
Ищет SecuredAttachmentBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredAttachmentBean
Throws:
GranException - при необходимости
See Also:
SecuredAttachmentBean

findUserAttachmentById

public SecuredUserAttachmentBean findUserAttachmentById(SessionContext sc,
                                                        java.lang.String id)
                                                 throws GranException
Ищет SecuredAttachmentBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredAttachmentBean
Throws:
GranException - при необходимости
See Also:
SecuredAttachmentBean

findAttachmentById

public SecuredAttachmentBean findAttachmentById(SessionContext sc,
                                                java.lang.String id)
                                         throws GranException
Throws:
GranException

findMessageAttachmentById

public SecuredMessageAttachmentBean findMessageAttachmentById(SessionContext sc,
                                                              java.lang.String id)
                                                       throws GranException
Ищет SecuredAttachmentBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredAttachmentBean
Throws:
GranException - при необходимости
See Also:
SecuredAttachmentBean

findBookmarkById

public SecuredBookmarkBean findBookmarkById(SessionContext sc,
                                            java.lang.String id)
                                     throws GranException
Ищет SecuredBookmarkBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredBookmarkBean
Throws:
GranException - при необходимости
See Also:
SecuredBookmarkBean

searchAttachmentById

public AttachmentCacheItem searchAttachmentById(SessionContext sc,
                                                java.lang.String id)
                                         throws GranException
Ищет AttachmentCacheItem по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
AttachmentCacheItem
Throws:
GranException - при необходимости
See Also:
AttachmentCacheItem

findUDFById

public SecuredUDFBean findUDFById(SessionContext sc,
                                  java.lang.String id)
                           throws GranException
Ищет SecuredUDFBean по ID

Parameters:
sc - сессия пользователя
id - ID искомого объекта
Returns:
SecuredUDFBean
Throws:
GranException - при необходимости
See Also:
SecuredUDFBean

quickGoHandler

public java.lang.String quickGoHandler(SessionContext sc,
                                       java.lang.String key)
                                throws GranException
Ищет ID задачи по строке поиска

Parameters:
sc - сессия пользователя
key - строка поиска
Returns:
ID пользователя
Throws:
GranException - при необходимости

searchTaskByQuickGo

public SecuredTaskBean searchTaskByQuickGo(SessionContext sc,
                                           java.lang.String key)
                                    throws GranException
Ищет ID задачи по строке поиска

Parameters:
sc - сессия пользователя
key - строка поиска
Returns:
ID пользователя
Throws:
GranException - при необходимости

searchUserByQuickGo

public SecuredUserBean searchUserByQuickGo(SessionContext sc,
                                           java.lang.String key)
                                    throws GranException
Ищет ID пользователя по строке поиска

Parameters:
sc - сессия пользователя
key - строка поиска
Returns:
ID пользователя
Throws:
GranException - при необходимости


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