Java Doc for WizardManager.java in  » ERP-CRM-Financial » sakai » org » theospi » portfolio » wizard » mgt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.theospi.portfolio.wizard.mgt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.theospi.portfolio.wizard.mgt.WizardManager

All known Subclasses:   org.theospi.portfolio.wizard.mgt.impl.WizardManagerImpl,
WizardManager
public interface WizardManager extends WorkflowEnabledManager(Code)


Field Summary
final public static  StringEXPOSED_WIZARD_KEY
    
final public static  intWIZARD_DELETE_CHECK
    
final public static  intWIZARD_EDIT_CHECK
    
final public static  intWIZARD_EXPORT_CHECK
    
final public static  intWIZARD_NO_CHECK
    
final public static  intWIZARD_OPERATE_CHECK
    
final public static  StringWIZARD_PARAM_ID
    
final public static  intWIZARD_VIEW_CHECK
    


Method Summary
public  voidcheckWizardAccess(Id id)
     Checks if the current user is authorized to review all the types of Reviews.
public  WizardcreateNew()
    
public  ReferencedecorateReference(Wizard wizard, String reference)
    
public  voiddeleteObjects(List deletedItems)
    
public  voiddeletePreviewWizardData(Wizard wizard)
    
public  voiddeleteWizard(Wizard wizard)
    
public  ListfindPagesByWizard(Id wizardId)
     Find all WizardPageSequence objects associated with this wizard (e.g.
public  ListfindPublishedWizards(List sites)
    
public  ListfindPublishedWizards(String siteId)
    
public  ListfindPublishedWizards(List sites, boolean lazy)
    
public  List<WizardPageDefinition>findWizardPageDefs(String siteId)
     Method to get each wizard page definition for the site identified by the given site identifier.
public  List<WizardPageDefinition>findWizardPageDefs(String siteId, boolean deep)
     Method to get each wizard page definition for the site identified by the given site identifier, optionally loading each with it's wizard pages.
Parameters:
  siteId - The identifier of the site.
Parameters:
  deep - True if each wizard page definition should be loaded with it'swizard pages.
public  ListfindWizardsByOwner(String ownerId, String siteId)
    
public  CollectiongetAvailableForms(String siteId, String type)
    
public  CompletedWizardgetCompletedWizard(Id completedWizardId)
    
public  CompletedWizardgetCompletedWizard(Wizard wizard)
    
public  CompletedWizardgetCompletedWizard(Wizard wizard, String userId)
    
public  CompletedWizardgetCompletedWizard(Wizard wizard, String userId, boolean create)
    
public  CompletedWizardgetCompletedWizardByPage(Id pageId)
    
public  ListgetCompletedWizardPagesByPageDef(Id id)
    
public  ListgetCompletedWizardsByWizardId(String wizardId)
    
public  intgetSubmittedPageCount(CompletedWizard wizard)
    
public  intgetTotalPageCount(Wizard wizard)
    
public  WizardgetWizard(Id wizardId)
     Gets a wizard given its id.
public  WizardgetWizard(Id wizardId, int checkAuthz)
     gets a wizard given its id.
public  WizardgetWizard(String id)
     Gets a wizard given its id.
public  WizardgetWizard(String id, int checkAuthz)
     gets a wizard given its id.
public  StringgetWizardEntityProducer()
    
public  AgentgetWizardIdOwner(Id wizardId)
     This is the light weight method of getting the owner of a wizard given its id.
public  StringgetWizardIdSiteId(Id wizardId)
     This is the light weight method of getting the site id of a wizard given its id.
public  WizardPageDefinitiongetWizardPageDefinition(Id id)
     Method to get the wizard page definition identified by the given identifier object.
public  WizardPageDefinitiongetWizardPageDefinition(Id id, boolean deep)
     Method to get the wizard page definition identified by the given identifier object, optionally loading it with it's wizard pages.
Parameters:
  id - The identifier object that uniquely identifies the wizard pagedefinition.
Parameters:
  deep - True if the wizard page definition should be loaded with it'swizard pages.
public  WizardPageSequencegetWizardPageSeqByDef(Id id)
    
public  ListgetWizardsForWarehousing()
    
public  booleanimportResource(Id worksite, String reference)
    
public  ListlistAllWizardsByOwner(String owner, String siteId)
    
public  ListlistWizardsByType(String owner, String siteId, String type)
    
public  voidpreviewWizard(Wizard wizard)
    
public  voidpublishWizard(Wizard wizard)
    
public  CompletedWizardsaveWizard(CompletedWizard wizard)
    
public  WizardsaveWizard(Wizard wizard)
     Saves a Wizard to storage.

Field Detail
EXPOSED_WIZARD_KEY
final public static String EXPOSED_WIZARD_KEY(Code)



WIZARD_DELETE_CHECK
final public static int WIZARD_DELETE_CHECK(Code)



WIZARD_EDIT_CHECK
final public static int WIZARD_EDIT_CHECK(Code)



WIZARD_EXPORT_CHECK
final public static int WIZARD_EXPORT_CHECK(Code)



WIZARD_NO_CHECK
final public static int WIZARD_NO_CHECK(Code)



WIZARD_OPERATE_CHECK
final public static int WIZARD_OPERATE_CHECK(Code)



WIZARD_PARAM_ID
final public static String WIZARD_PARAM_ID(Code)



WIZARD_VIEW_CHECK
final public static int WIZARD_VIEW_CHECK(Code)





Method Detail
checkWizardAccess
public void checkWizardAccess(Id id)(Code)
Checks if the current user is authorized to review all the types of Reviews. If the user is the owner or the user is authorized then the Reviews are read in and pushed into the security advisor.
Parameters:
  id - Id of the wizard to check



createNew
public Wizard createNew()(Code)
creates a new Wizard in the current site owned by the current user Wizard



decorateReference
public Reference decorateReference(Wizard wizard, String reference)(Code)



deleteObjects
public void deleteObjects(List deletedItems)(Code)



deletePreviewWizardData
public void deletePreviewWizardData(Wizard wizard)(Code)
Unlock resources and delete completed wizards from a preview wizard



deleteWizard
public void deleteWizard(Wizard wizard)(Code)
Removes a wizard from storage
Parameters:
  wizard -



findPagesByWizard
public List findPagesByWizard(Id wizardId)(Code)
Find all WizardPageSequence objects associated with this wizard (e.g. useful for unlocking associated resources prior to deleting wizard).



findPublishedWizards
public List findPublishedWizards(List sites)(Code)

Parameters:
  sites - A list of site Ids (Strings)



findPublishedWizards
public List findPublishedWizards(String siteId)(Code)



findPublishedWizards
public List findPublishedWizards(List sites, boolean lazy)(Code)



findWizardPageDefs
public List<WizardPageDefinition> findWizardPageDefs(String siteId)(Code)
Method to get each wizard page definition for the site identified by the given site identifier. The wizard page definitions are not loaded with their wizard pages.
Parameters:
  siteId - The identifier of the site. A list of wizard page definitions for this site.



findWizardPageDefs
public List<WizardPageDefinition> findWizardPageDefs(String siteId, boolean deep)(Code)
Method to get each wizard page definition for the site identified by the given site identifier, optionally loading each with it's wizard pages.
Parameters:
  siteId - The identifier of the site.
Parameters:
  deep - True if each wizard page definition should be loaded with it'swizard pages. A list of wizard page definitions for this site.



findWizardsByOwner
public List findWizardsByOwner(String ownerId, String siteId)(Code)



getAvailableForms
public Collection getAvailableForms(String siteId, String type)(Code)



getCompletedWizard
public CompletedWizard getCompletedWizard(Id completedWizardId)(Code)



getCompletedWizard
public CompletedWizard getCompletedWizard(Wizard wizard)(Code)



getCompletedWizard
public CompletedWizard getCompletedWizard(Wizard wizard, String userId)(Code)



getCompletedWizard
public CompletedWizard getCompletedWizard(Wizard wizard, String userId, boolean create)(Code)



getCompletedWizardByPage
public CompletedWizard getCompletedWizardByPage(Id pageId)(Code)



getCompletedWizardPagesByPageDef
public List getCompletedWizardPagesByPageDef(Id id)(Code)



getCompletedWizardsByWizardId
public List getCompletedWizardsByWizardId(String wizardId)(Code)



getSubmittedPageCount
public int getSubmittedPageCount(CompletedWizard wizard)(Code)
Given a user's completed wizard this takes a look at the number of submitted pages (not in the READY state)
Parameters:
  wizard - CompletedWizard to tally the number of submitted pages int



getTotalPageCount
public int getTotalPageCount(Wizard wizard)(Code)
Gets the total number of pages for the given wizard
Parameters:
  wizard - Wizard to tally the number of pages int



getWizard
public Wizard getWizard(Id wizardId)(Code)
Gets a wizard given its id. This performs a check on the operate permission
Parameters:
  Id - wizardId Wizard



getWizard
public Wizard getWizard(Id wizardId, int checkAuthz)(Code)
gets a wizard given its id. it may perform a check on the view permission if the checkAuthz is true
Parameters:
  Id - wizardId booleancheckAuthz



getWizard
public Wizard getWizard(String id)(Code)
Gets a wizard given its id. This performs a check on the view permission
Parameters:
  String - wizardId Wizard



getWizard
public Wizard getWizard(String id, int checkAuthz)(Code)
gets a wizard given its id. it performs a check on the permission specified in checkAuthz: WIZARD_NO_CHECK, WIZARD_OPERATE_CHECK, WIZARD_VIEW_CHECK WIZARD_EDIT_CHECK, WIZARD_EXPORT_CHECK, WIZARD_DELETE_CHECK
Parameters:
  String - wizardId booleancheckAuthz



getWizardEntityProducer
public String getWizardEntityProducer()(Code)



getWizardIdOwner
public Agent getWizardIdOwner(Id wizardId)(Code)
This is the light weight method of getting the owner of a wizard given its id.
Parameters:
  Id - wizardId Agent of the owner id



getWizardIdSiteId
public String getWizardIdSiteId(Id wizardId)(Code)
This is the light weight method of getting the site id of a wizard given its id.
Parameters:
  Id - wizardId String of the site id



getWizardPageDefinition
public WizardPageDefinition getWizardPageDefinition(Id id)(Code)
Method to get the wizard page definition identified by the given identifier object. The wizard page definition is not loaded with it's wizard pages.
Parameters:
  id - The identifier object that uniquely identifies the wizard pagedefinition. The wizard page definition.



getWizardPageDefinition
public WizardPageDefinition getWizardPageDefinition(Id id, boolean deep)(Code)
Method to get the wizard page definition identified by the given identifier object, optionally loading it with it's wizard pages.
Parameters:
  id - The identifier object that uniquely identifies the wizard pagedefinition.
Parameters:
  deep - True if the wizard page definition should be loaded with it'swizard pages. The wizard page definition.



getWizardPageSeqByDef
public WizardPageSequence getWizardPageSeqByDef(Id id)(Code)



getWizardsForWarehousing
public List getWizardsForWarehousing()(Code)
Pulls all wizards, deeping loading all parts of each Wizard List of Wizard



importResource
public boolean importResource(Id worksite, String reference) throws UnsupportedFileTypeException, ImportException(Code)



listAllWizardsByOwner
public List listAllWizardsByOwner(String owner, String siteId)(Code)



listWizardsByType
public List listWizardsByType(String owner, String siteId, String type)(Code)



previewWizard
public void previewWizard(Wizard wizard)(Code)
changes the settings on the wizard to make it available for preview to the users the site
Parameters:
  wizard -



publishWizard
public void publishWizard(Wizard wizard)(Code)
changes the settings on the wizard to make it available to the users of the site
Parameters:
  wizard -



saveWizard
public CompletedWizard saveWizard(CompletedWizard wizard)(Code)
Saves a completed wizard into storage
Parameters:
  wizard - CompletedWizard CompletedWizard



saveWizard
public Wizard saveWizard(Wizard wizard)(Code)
Saves a Wizard to storage. It returns an updated wizard
Parameters:
  wizard - Wizard



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.