gran.app.adapter.external.find
Class BaseSecuredFindAdapter

java.lang.Object
  extended bygran.app.adapter.external.find.BaseSecuredFindAdapter
All Implemented Interfaces:
Adapter, SecuredAdapter, SecuredFindAdapter

public class BaseSecuredFindAdapter
extends java.lang.Object
implements SecuredFindAdapter


Constructor Summary
BaseSecuredFindAdapter()
           
 
Method Summary
 SecuredAclBean findAclByIdImpl(SessionContext sc, java.lang.String aclId, SecuredAclBean result)
          Returns Acl by Id.
 SecuredAttachmentBean findAttachmentByIdImpl(SessionContext sc, java.lang.String attachmentId, SecuredAttachmentBean result)
           
 SecuredCategoryBean findCategoryByIdImpl(SessionContext sc, java.lang.String categoryId, SecuredCategoryBean result)
          Returns Category by Id.
 SecuredContentTypeBean findContentTypeByIdImpl(SessionContext sc, java.lang.String contentTypeId, SecuredContentTypeBean result)
          Returns ContentType by Id.
 SecuredCurrentFilterBean findCurrentFilterByIdImpl(SessionContext sc, java.lang.String id, SecuredCurrentFilterBean result)
           
 SecuredEmailTypeBean findEmailTypeByIdImpl(SessionContext sc, java.lang.String emailTypeId, SecuredEmailTypeBean result)
          Returns EmailType by Id.
 SecuredFilterBean findFilterByIdImpl(SessionContext sc, java.lang.String filterId, SecuredFilterBean result)
          Returns Filter by Id.
 SecuredFilterTypeBean findFilterTypeByIdImpl(SessionContext sc, java.lang.String filterTypeId, SecuredFilterTypeBean result)
          Returns FilterType by Id.
 SecuredMailImportBean findMailImportByIdImpl(SessionContext sc, java.lang.String mailImportId, SecuredMailImportBean result)
          Returns MailImport by Id.
 SecuredMessageBean findMessageByIdImpl(SessionContext sc, java.lang.String messageId, SecuredMessageBean result)
          Returns Message by Id.
 SecuredMstatusBean findMstatusByIdImpl(SessionContext sc, java.lang.String mstatusId, SecuredMstatusBean result)
          Returns Mstatus by Id.
 SecuredNotificationBean findNotificationByIdImpl(SessionContext sc, java.lang.String notificationId, SecuredNotificationBean result)
           
 SecuredPriorityBean findPriorityByIdImpl(SessionContext sc, java.lang.String priorityId, SecuredPriorityBean result)
          Returns Priority by Id.
 SecuredPrstatusBean findPrstatusByIdImpl(SessionContext sc, java.lang.String prstatusId, SecuredPrstatusBean result)
          Returns Prstatus by Id.
 SecuredRegistrationBean findRegistrationByIdImpl(SessionContext sc, java.lang.String registrationId, SecuredRegistrationBean result)
          Returns Registration by Id.
 SecuredReportBean findReportByIdImpl(SessionContext sc, java.lang.String reportId, SecuredReportBean result)
          Returns Report by Id.
 SecuredResolutionBean findResolutionByIdImpl(SessionContext sc, java.lang.String resolutionId, SecuredResolutionBean result)
          Returns Resolution by Id.
 SecuredScriptBean findScriptByIdImpl(SessionContext sc, java.lang.String scriptId, SecuredScriptBean result)
          Returns a SecuredScriptBean by ID
 SecuredStatusBean findStatusByIdImpl(SessionContext sc, java.lang.String statusId, SecuredStatusBean result)
          Returns Status by Id.
 SecuredSubscriberBean findSubscriberByIdImpl(SessionContext sc, java.lang.String subscriberId, SecuredSubscriberBean result)
          Returns Subscriber by Id.
 SecuredTaskBean findTaskByIdImpl(SessionContext sc, java.lang.String taskId, SecuredTaskBean result)
          Returns Task by Id.
 SecuredTaskUDFBean findTaskUDFByIdImpl(SessionContext sc, java.lang.String taskUdfId, SecuredTaskUDFBean result)
          Returns TaskUdf by Id.
 SecuredTransitionBean findTransitionByIdImpl(SessionContext sc, java.lang.String statusId, SecuredTransitionBean result)
           
 SecuredUDFBean findUDFByIdImpl(SessionContext sc, java.lang.String udfId, SecuredUDFBean result)
          Returns Udf by Id.
 SecuredUdflistBean findUdflistByIdImpl(SessionContext sc, java.lang.String udflistId, SecuredUdflistBean result)
          Returns Udflist by Id.
 SecuredUserBean findUserByIdImpl(SessionContext sc, java.lang.String userId, SecuredUserBean result)
          Returns User by Id.
 SecuredUserUDFBean findUserUDFByIdImpl(SessionContext sc, java.lang.String userUdfId, SecuredUserUDFBean result)
          Returns UserUdf by Id.
 SecuredWorkflowBean findWorkflowByIdImpl(SessionContext sc, java.lang.String workflowId, SecuredWorkflowBean result)
          Returns Workflow by Id.
 SecuredWorkflowUDFBean findWorkflowUDFByIdImpl(SessionContext sc, java.lang.String workflowUdfId, SecuredWorkflowUDFBean result)
          Returns WorkflowUdf by Id.
 java.lang.String getDescription()
          Get description of adapter as plain text
 boolean init()
          Initialize adapter.
 java.lang.String quickGoHandlerImpl(SessionContext sc, java.lang.String key, java.lang.String result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecuredFindAdapter

public BaseSecuredFindAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

findWorkflowByIdImpl

public SecuredWorkflowBean findWorkflowByIdImpl(SessionContext sc,
                                                java.lang.String workflowId,
                                                SecuredWorkflowBean result)
                                         throws GranException
Description copied from interface: SecuredFindAdapter
Returns Workflow by Id. Available via SOAP.

Specified by:
findWorkflowByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
workflowId -
result -
Returns:
Workflow
Throws:
GranException
See Also:
SecuredWorkflowBean

findCategoryByIdImpl

public SecuredCategoryBean findCategoryByIdImpl(SessionContext sc,
                                                java.lang.String categoryId,
                                                SecuredCategoryBean result)
                                         throws GranException
Description copied from interface: SecuredFindAdapter
Returns Category by Id. Available via SOAP.

Specified by:
findCategoryByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
categoryId -
result -
Returns:
Category
Throws:
GranException
See Also:
SecuredCategoryBean

findFilterByIdImpl

public SecuredFilterBean findFilterByIdImpl(SessionContext sc,
                                            java.lang.String filterId,
                                            SecuredFilterBean result)
                                     throws GranException
Description copied from interface: SecuredFindAdapter
Returns Filter by Id. Available via SOAP.

Specified by:
findFilterByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
filterId -
result -
Returns:
Filter
Throws:
GranException
See Also:
SecuredFilterBean

findPrstatusByIdImpl

public SecuredPrstatusBean findPrstatusByIdImpl(SessionContext sc,
                                                java.lang.String prstatusId,
                                                SecuredPrstatusBean result)
                                         throws GranException
Description copied from interface: SecuredFindAdapter
Returns Prstatus by Id. Available via SOAP.

Specified by:
findPrstatusByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
prstatusId -
result -
Returns:
Prstatus
Throws:
GranException
See Also:
SecuredPrstatusBean

findEmailTypeByIdImpl

public SecuredEmailTypeBean findEmailTypeByIdImpl(SessionContext sc,
                                                  java.lang.String emailTypeId,
                                                  SecuredEmailTypeBean result)
                                           throws GranException
Description copied from interface: SecuredFindAdapter
Returns EmailType by Id. Available via SOAP.

Specified by:
findEmailTypeByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
emailTypeId -
result -
Returns:
EmailType
Throws:
GranException
See Also:
SecuredEmailTypeBean

findSubscriberByIdImpl

public SecuredSubscriberBean findSubscriberByIdImpl(SessionContext sc,
                                                    java.lang.String subscriberId,
                                                    SecuredSubscriberBean result)
                                             throws GranException
Description copied from interface: SecuredFindAdapter
Returns Subscriber by Id. Available via SOAP.

Specified by:
findSubscriberByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
subscriberId -
result -
Returns:
Subscriber
Throws:
GranException
See Also:
SecuredSubscriberBean

findReportByIdImpl

public SecuredReportBean findReportByIdImpl(SessionContext sc,
                                            java.lang.String reportId,
                                            SecuredReportBean result)
                                     throws GranException
Description copied from interface: SecuredFindAdapter
Returns Report by Id. Available via SOAP.

Specified by:
findReportByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
reportId -
result -
Returns:
Report
Throws:
GranException
See Also:
SecuredReportBean

findMailImportByIdImpl

public SecuredMailImportBean findMailImportByIdImpl(SessionContext sc,
                                                    java.lang.String mailImportId,
                                                    SecuredMailImportBean result)
                                             throws GranException
Description copied from interface: SecuredFindAdapter
Returns MailImport by Id. Available via SOAP.

Specified by:
findMailImportByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
mailImportId -
result -
Returns:
MailImport
Throws:
GranException
See Also:
SecuredMailImportBean

findContentTypeByIdImpl

public SecuredContentTypeBean findContentTypeByIdImpl(SessionContext sc,
                                                      java.lang.String contentTypeId,
                                                      SecuredContentTypeBean result)
                                               throws GranException
Description copied from interface: SecuredFindAdapter
Returns ContentType by Id. Available via SOAP.

Specified by:
findContentTypeByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
contentTypeId -
result -
Returns:
ContentType
Throws:
GranException
See Also:
SecuredContentTypeBean

findFilterTypeByIdImpl

public SecuredFilterTypeBean findFilterTypeByIdImpl(SessionContext sc,
                                                    java.lang.String filterTypeId,
                                                    SecuredFilterTypeBean result)
                                             throws GranException
Description copied from interface: SecuredFindAdapter
Returns FilterType by Id. Available via SOAP.

Specified by:
findFilterTypeByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
filterTypeId -
result -
Returns:
FilterType
Throws:
GranException
See Also:
SecuredFilterTypeBean

findMessageByIdImpl

public SecuredMessageBean findMessageByIdImpl(SessionContext sc,
                                              java.lang.String messageId,
                                              SecuredMessageBean result)
                                       throws GranException
Description copied from interface: SecuredFindAdapter
Returns Message by Id. Available via SOAP.

Specified by:
findMessageByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
messageId -
result -
Returns:
Message
Throws:
GranException
See Also:
SecuredMessageBean

findMstatusByIdImpl

public SecuredMstatusBean findMstatusByIdImpl(SessionContext sc,
                                              java.lang.String mstatusId,
                                              SecuredMstatusBean result)
                                       throws GranException
Description copied from interface: SecuredFindAdapter
Returns Mstatus by Id. Available via SOAP.

Specified by:
findMstatusByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
mstatusId -
result -
Returns:
Mstatus
Throws:
GranException
See Also:
SecuredMstatusBean

findPriorityByIdImpl

public SecuredPriorityBean findPriorityByIdImpl(SessionContext sc,
                                                java.lang.String priorityId,
                                                SecuredPriorityBean result)
                                         throws GranException
Description copied from interface: SecuredFindAdapter
Returns Priority by Id. Available via SOAP.

Specified by:
findPriorityByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
priorityId -
result -
Returns:
Priority
Throws:
GranException
See Also:
SecuredPriorityBean

findCurrentFilterByIdImpl

public SecuredCurrentFilterBean findCurrentFilterByIdImpl(SessionContext sc,
                                                          java.lang.String id,
                                                          SecuredCurrentFilterBean result)
                                                   throws GranException
Throws:
GranException

findAclByIdImpl

public SecuredAclBean findAclByIdImpl(SessionContext sc,
                                      java.lang.String aclId,
                                      SecuredAclBean result)
                               throws GranException
Description copied from interface: SecuredFindAdapter
Returns Acl by Id. Available via SOAP.

Specified by:
findAclByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
aclId -
result -
Returns:
Acl
Throws:
GranException
See Also:
SecuredAclBean

findResolutionByIdImpl

public SecuredResolutionBean findResolutionByIdImpl(SessionContext sc,
                                                    java.lang.String resolutionId,
                                                    SecuredResolutionBean result)
                                             throws GranException
Description copied from interface: SecuredFindAdapter
Returns Resolution by Id. Available via SOAP.

Specified by:
findResolutionByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
resolutionId -
result -
Returns:
Resolution
Throws:
GranException
See Also:
SecuredResolutionBean

findStatusByIdImpl

public SecuredStatusBean findStatusByIdImpl(SessionContext sc,
                                            java.lang.String statusId,
                                            SecuredStatusBean result)
                                     throws GranException
Description copied from interface: SecuredFindAdapter
Returns Status by Id. Available via SOAP.

Specified by:
findStatusByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
statusId -
result -
Returns:
Status
Throws:
GranException
See Also:
SecuredStatusBean

findTransitionByIdImpl

public SecuredTransitionBean findTransitionByIdImpl(SessionContext sc,
                                                    java.lang.String statusId,
                                                    SecuredTransitionBean result)
                                             throws GranException
Specified by:
findTransitionByIdImpl in interface SecuredFindAdapter
Throws:
GranException

findTaskByIdImpl

public SecuredTaskBean findTaskByIdImpl(SessionContext sc,
                                        java.lang.String taskId,
                                        SecuredTaskBean result)
                                 throws GranException
Description copied from interface: SecuredFindAdapter
Returns Task by Id. Available via SOAP.

Specified by:
findTaskByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
taskId -
result -
Returns:
Task
Throws:
GranException
See Also:
SecuredTaskBean

findTaskUDFByIdImpl

public SecuredTaskUDFBean findTaskUDFByIdImpl(SessionContext sc,
                                              java.lang.String taskUdfId,
                                              SecuredTaskUDFBean result)
                                       throws GranException
Description copied from interface: SecuredFindAdapter
Returns TaskUdf by Id.

Specified by:
findTaskUDFByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
taskUdfId -
result -
Returns:
TaskUdf
Throws:
GranException
See Also:
SecuredTaskUDFBean

findUdflistByIdImpl

public SecuredUdflistBean findUdflistByIdImpl(SessionContext sc,
                                              java.lang.String udflistId,
                                              SecuredUdflistBean result)
                                       throws GranException
Description copied from interface: SecuredFindAdapter
Returns Udflist by Id. Available via SOAP.

Specified by:
findUdflistByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
udflistId -
result -
Returns:
UdfList
Throws:
GranException
See Also:
SecuredUdflistBean

findUserByIdImpl

public SecuredUserBean findUserByIdImpl(SessionContext sc,
                                        java.lang.String userId,
                                        SecuredUserBean result)
                                 throws GranException
Description copied from interface: SecuredFindAdapter
Returns User by Id. Available via SOAP.

Specified by:
findUserByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
userId -
result -
Returns:
User
Throws:
GranException
See Also:
SecuredUserBean

findUserUDFByIdImpl

public SecuredUserUDFBean findUserUDFByIdImpl(SessionContext sc,
                                              java.lang.String userUdfId,
                                              SecuredUserUDFBean result)
                                       throws GranException
Description copied from interface: SecuredFindAdapter
Returns UserUdf by Id.

Specified by:
findUserUDFByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
userUdfId -
result -
Returns:
UserUdf
Throws:
GranException
See Also:
SecuredUserUDFBean

findWorkflowUDFByIdImpl

public SecuredWorkflowUDFBean findWorkflowUDFByIdImpl(SessionContext sc,
                                                      java.lang.String workflowUdfId,
                                                      SecuredWorkflowUDFBean result)
                                               throws GranException
Description copied from interface: SecuredFindAdapter
Returns WorkflowUdf by Id.

Specified by:
findWorkflowUDFByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
workflowUdfId -
result -
Returns:
WorkflowUdf
Throws:
GranException
See Also:
SecuredWorkflowUDFBean

findRegistrationByIdImpl

public SecuredRegistrationBean findRegistrationByIdImpl(SessionContext sc,
                                                        java.lang.String registrationId,
                                                        SecuredRegistrationBean result)
                                                 throws GranException
Description copied from interface: SecuredFindAdapter
Returns Registration by Id. Available via SOAP.

Specified by:
findRegistrationByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
registrationId -
result -
Returns:
Registration
Throws:
GranException
See Also:
SecuredRegistrationBean

findNotificationByIdImpl

public SecuredNotificationBean findNotificationByIdImpl(SessionContext sc,
                                                        java.lang.String notificationId,
                                                        SecuredNotificationBean result)
                                                 throws GranException
Specified by:
findNotificationByIdImpl in interface SecuredFindAdapter
Throws:
GranException

findScriptByIdImpl

public SecuredScriptBean findScriptByIdImpl(SessionContext sc,
                                            java.lang.String scriptId,
                                            SecuredScriptBean result)
                                     throws GranException
Description copied from interface: SecuredFindAdapter
Returns a SecuredScriptBean by ID

Specified by:
findScriptByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
scriptId -
result -
Returns:
Script
Throws:
GranException

findAttachmentByIdImpl

public SecuredAttachmentBean findAttachmentByIdImpl(SessionContext sc,
                                                    java.lang.String attachmentId,
                                                    SecuredAttachmentBean result)
                                             throws GranException
Specified by:
findAttachmentByIdImpl in interface SecuredFindAdapter
Throws:
GranException

quickGoHandlerImpl

public java.lang.String quickGoHandlerImpl(SessionContext sc,
                                           java.lang.String key,
                                           java.lang.String result)
                                    throws GranException
Specified by:
quickGoHandlerImpl in interface SecuredFindAdapter
Throws:
GranException

findUDFByIdImpl

public SecuredUDFBean findUDFByIdImpl(SessionContext sc,
                                      java.lang.String udfId,
                                      SecuredUDFBean result)
                               throws GranException
Description copied from interface: SecuredFindAdapter
Returns Udf by Id. Available via SOAP.

Specified by:
findUDFByIdImpl in interface SecuredFindAdapter
Parameters:
sc -
udfId -
result -
Returns:
TaskUdf
Throws:
GranException
See Also:
SecuredUDFBean


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