Java Doc for HibernateMatrixManagerImpl.java in  » ERP-CRM-Financial » sakai » org » theospi » portfolio » matrix » 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.matrix 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.theospi.portfolio.matrix.HibernateMatrixManagerImpl

HibernateMatrixManagerImpl
public class HibernateMatrixManagerImpl extends HibernateDaoSupport implements MatrixManager,ReadableObjectHome,ArtifactFinder,DownloadableManager,PresentableObjectHome,DuplicatableToolService,StyleConsumer,FormConsumer(Code)

author:
   rpembry




Method Summary
public  AttachmentattachArtifact(Id pageId, Reference artifactRef)
    
protected  StringbuildRef(String siteId, String contextId, ContentResource resource)
    
public  booleancheckFormConsumption(Id formId)
    
public  voidcheckPageAccess(String id)
    
public  booleancheckStyleConsumption(Id styleId)
    
public  voidclearSession()
    
protected  IdconvertRef(Reference artifactRef)
    
public  ScaffoldingcreateDefaultScaffolding()
    
public  ArtifactcreateInstance()
    
public  MatrixcreateMatrix(Agent owner, Scaffolding scaffolding)
    
public  ArtifactcreateSample()
    
public  voiddeleteMatrix(Id matrixId)
    
public  voiddeleteScaffolding(Id scaffoldingId)
    
public  voiddetachArtifact(Id pageId, Id artifactId)
    
public  voiddetachForm(Id pageId, Id artifactId)
    
protected  voidexportCellForms(ZipOutputStream zos, ScaffoldingCell cell, List formIds)
    
protected  voidexportGuidance(ZipOutputStream zos, List guidanceIds)
    
protected  voidexportStyle(ZipOutputStream zos, Set styleIds)
    
public  voidexposeMatrixTool(Scaffolding scaffolding)
    
public  ListfindAvailableScaffolding(String siteIdStr, Agent user)
    
public  CollectionfindByOwner(Agent owner)
    
public  CollectionfindByOwner(Id owner)
    
public  CollectionfindByOwnerAndType(Id owner, String type)
    
public  CollectionfindByOwnerAndType(Id owner, String type, MimeType mimeType)
    
public  CollectionfindByType(String type)
    
public  CollectionfindByWorksite(Id worksiteId)
    
public  CollectionfindByWorksiteAndType(Id worksiteId, String type)
    
protected  ListfindPublishedScaffolding(String siteId)
    
public  ListfindPublishedScaffolding(List sites)
    
protected  voidfixPageForms(WizardPageDefinition wizardPage, Map formsMap)
    
protected  AgentgetAgentFromId(Id agentId)
    
public  AgentManagergetAgentManager()
    
public  ElementgetArtifactAsXml(Artifact artifact)
    
public  AttachmentgetAttachment(Id attachmentId)
    
public  AuthenticationManagergetAuthnManager()
    
public  AuthorizationFacadegetAuthzManager()
    
public  CellgetCell(Matrix matrix, Criterion rootCriterion, Level level)
    
public  CellgetCell(Id cellId)
    
 ListgetCellAttachments(Id cellId)
    
public  CellgetCellFromPage(Id pageId)
    
public  ListgetCells(Matrix matrix)
    
public  ListgetCellsByArtifact(Id artifactId)
    
public  ListgetCellsByForm(Id formId)
    
public  ListgetCellsByScaffoldingCell(Id scaffoldingCellId)
    
public  EntityContextFindergetContentFinder()
    
public  ContentHostingServicegetContentHosting()
    
public  CriteriongetCriterion(Id criterionId)
    
public  DefaultScaffoldingBeangetDefaultScaffoldingBean()
    
protected  ListgetEvaluatableCells(Agent agent, Agent role, Id worksiteId)
    
public  ListgetEvaluatableItems(Agent agent)
    
public  ListgetEvaluatableItems(Agent agent, Id worksiteId)
    
public  ListgetEvaluatableWizardPages(Agent agent, Agent role, Id worksiteId)
    
protected  ListgetEvaluatableWizards(Agent agent, Agent role, Id worksiteId)
    
public  StringgetExternalType()
    
public  StringgetExternalUri(Id artifactId, String name)
    
protected  ContentCollectionEditgetFileDir(String origName)
     This gets the directory in which the import places files into.
public  GuidanceManagergetGuidanceManager()
    
public  IdManagergetIdManager()
    
public  StringgetImportFolderName()
    
public  ClassgetInterface()
    
public  LevelgetLevel(Id levelId)
    
public  booleangetLoadArtifacts()
    
public  LockManagergetLockManager()
    
public  ListgetMatrices(Id scaffoldingId)
    
public  ListgetMatrices(Id scaffoldingId, Id agentId)
    
public  ListgetMatricesForWarehousing()
    
public  MatrixgetMatrix(Id scaffoldingId, Id agentId)
    
public  MatrixgetMatrix(Id matrixId)
    
public  MatrixgetMatrixByPage(Id pageId)
    
protected  CellgetMatrixCellByWizardPageDef(Matrix matrix, Id wizardPageDefId)
    
public  CellgetNextCell(Cell cell, int progressionOption)
    
public  ScaffoldingCellgetNextScaffoldingCell(ScaffoldingCell scaffoldingCell, int progressionOption)
    
protected  NodegetNode(Id artifactId, WizardPage page)
    
public  NodegetNode(Id artifactId)
    
public  NodegetNode(Reference ref)
    
public  SetgetPageContents(WizardPage page)
    
public  SetgetPageForms(WizardPage page)
    
public  ListgetPagesByPageDef(Id pageDefId)
    
public  ReviewManagergetReviewManager()
    
public  ListgetScaffolding()
    
public  ScaffoldinggetScaffolding(Id scaffoldingId)
    
protected  ListgetScaffoldingByStyle(Id styleId)
    
public  ScaffoldingCellgetScaffoldingCell(Criterion criterion, Level level)
    
public  ScaffoldingCellgetScaffoldingCell(Id id)
    
public  ScaffoldingCellgetScaffoldingCellByWizardPageDef(Id id)
    
protected  CollectiongetScaffoldingCellEvaluators(Id wizardPageDefId, boolean useAgentId)
    
public  StringgetScaffoldingCellsStatus(Id scaffoldingCellId)
    
protected  ScaffoldinggetScaffoldingForExport(Id scaffoldingId)
    
public  ListgetScaffoldingForWarehousing()
     Gets all the scaffolding for the data warehouse.
public  SecurityServicegetSecurityService()
    
public  InputStreamgetStream(Id artifactId)
    
public  StructuredArtifactDefinitionManagergetStructuredArtifactDefinitionManager()
    
public  StyleManagergetStyleManager()
    
public  org.sakaiproject.metaobj.shared.model.TypegetType()
    
protected  ContentCollectiongetUserCollection()
    
public  WizardPagegetWizardPage(Id pageId)
    
protected  ListgetWizardPageDefByStyle(Id styleId)
    
protected  ListgetWizardPages()
    
public  ListgetWizardPagesForWarehousing()
    
public  WorkflowManagergetWorkflowManager()
    
public  WorksiteManagergetWorksiteManager()
    
public  PresentableObjectHomegetXmlRenderer()
    
public  voidimportResources(String fromContext, String toContext, List resourceIds)
     This is the method called when duplicating a site.
public  booleanisInstance(Artifact testObject)
    
public  booleanisSystemOnly()
    
public  booleanisUseExperimentalMatrix()
    
public  Artifactload(Id id)
    
public  StringpackageForDownload(Map params, OutputStream out)
    
public  voidpackageScffoldingForExport(Id scaffoldingId, OutputStream os)
    
public  voidprepareInstance(Artifact object)
    
public  voidpreviewScaffolding(Id scaffoldingId)
    
protected  voidprocessFile(ZipEntry currentEntry, ZipInputStream zis, Hashtable fileMap, ContentCollection fileParent)
    
protected  voidprocessMatrixForm(ZipEntry currentEntry, ZipInputStream zis, Map formMap, Id worksite)
    
protected  MapprocessMatrixGuidance(ContentCollection parent, String siteId, ZipInputStream zis)
    
protected  MapprocessMatrixStyle(ContentCollection parent, String siteId, ZipInputStream zis)
    
protected  ScaffoldingprocessScaffolding(ZipInputStream zis)
    
public  voidprocessWorkflow(Id workflowId, Id pageId)
    
public  voidprocessWorkflow(int workflowOption, Id cellId)
    
public  voidpublishScaffolding(Id scaffoldingId)
    
public  voidrefresh()
    
public  voidremoveExposedMatrixTool(Scaffolding scaffolding)
    
public  voidremoveFromSession(Object obj)
    
protected  voidresetIds(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId)
    
public  Objectsave(Object obj)
    
public  ScaffoldingsaveNewScaffolding(Scaffolding scaffolding)
    
public  voidsetAgentManager(AgentManager agentManager)
    
public  voidsetAuthnManager(AuthenticationManager authnManager)
    
public  voidsetAuthzManager(AuthorizationFacade authzManager)
    
public  voidsetContentFinder(EntityContextFinder contentFinder)
    
public  voidsetContentHosting(ContentHostingService contentHosting)
    
public  voidsetDefaultScaffoldingBean(DefaultScaffoldingBean defaultScaffoldingBean)
    
public  voidsetGuidanceManager(GuidanceManager guidanceManager)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetImportFolderName(String importFolderName)
    
public  voidsetLoadArtifacts(boolean loadArtifacts)
    
public  voidsetLockManager(LockManager lockManager)
    
public  voidsetReviewManager(ReviewManager reviewManager)
    
public  voidsetSecurityService(SecurityService securityService)
    
public  voidsetStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager)
    
public  voidsetStyleManager(StyleManager styleManager)
    
public  voidsetUseExperimentalMatrix(boolean useExperimentalMatrix)
    
public  voidsetWorkflowManager(WorkflowManager workflowManager)
    
public  voidsetWorksiteManager(WorksiteManager worksiteManager)
    
public  voidsetXmlRenderer(PresentableObjectHome xmlRenderer)
    
public  Objectstore(Object obj)
    
public  IdstoreCell(Cell cell)
    
protected  voidstoreFileInZip(ZipOutputStream zos, InputStream in, String entryName)
    
protected  voidstoreFormInZip(ZipOutputStream zos, String formId)
    
public  IdstorePage(WizardPage page)
    
public  ScaffoldingstoreScaffolding(Scaffolding scaffolding)
    
public  IdstoreScaffoldingCell(ScaffoldingCell scaffoldingCell)
    
protected  voidstoreScaffoldingFile(ZipOutputStream zos, Id fileId)
    
public  CellsubmitCellForEvaluation(Cell cell)
    
public  WizardPagesubmitPageForEvaluation(WizardPage page)
    
protected  voidsubstituteCriteria(Scaffolding scaffolding)
    
protected  voidsubstituteLevels(Scaffolding scaffolding)
    
protected  voidsubstituteScaffoldingCells(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId)
    
public  voidunlockNextCell(Cell cell)
    
protected  ScaffoldinguploadScaffolding(String siteId, ZipInputStream zis)
     This unpacks a zipped scaffolding and places it into the siteId.
public  ScaffoldinguploadScaffolding(Reference uploadedScaffoldingFile, String siteId)
    



Method Detail
attachArtifact
public Attachment attachArtifact(Id pageId, Reference artifactRef)(Code)



buildRef
protected String buildRef(String siteId, String contextId, ContentResource resource)(Code)



checkFormConsumption
public boolean checkFormConsumption(Id formId)(Code)



checkPageAccess
public void checkPageAccess(String id)(Code)



checkStyleConsumption
public boolean checkStyleConsumption(Id styleId)(Code)



clearSession
public void clearSession()(Code)



convertRef
protected Id convertRef(Reference artifactRef)(Code)



createDefaultScaffolding
public Scaffolding createDefaultScaffolding()(Code)



createInstance
public Artifact createInstance()(Code)



createMatrix
public Matrix createMatrix(Agent owner, Scaffolding scaffolding)(Code)



createSample
public Artifact createSample()(Code)



deleteMatrix
public void deleteMatrix(Id matrixId)(Code)



deleteScaffolding
public void deleteScaffolding(Id scaffoldingId)(Code)



detachArtifact
public void detachArtifact(Id pageId, Id artifactId)(Code)



detachForm
public void detachForm(Id pageId, Id artifactId)(Code)



exportCellForms
protected void exportCellForms(ZipOutputStream zos, ScaffoldingCell cell, List formIds) throws IOException(Code)



exportGuidance
protected void exportGuidance(ZipOutputStream zos, List guidanceIds) throws IOException(Code)



exportStyle
protected void exportStyle(ZipOutputStream zos, Set styleIds) throws IOException(Code)



exposeMatrixTool
public void exposeMatrixTool(Scaffolding scaffolding)(Code)



findAvailableScaffolding
public List findAvailableScaffolding(String siteIdStr, Agent user)(Code)



findByOwner
public Collection findByOwner(Agent owner) throws FinderException(Code)



findByOwner
public Collection findByOwner(Id owner)(Code)



findByOwnerAndType
public Collection findByOwnerAndType(Id owner, String type)(Code)



findByOwnerAndType
public Collection findByOwnerAndType(Id owner, String type, MimeType mimeType)(Code)



findByType
public Collection findByType(String type)(Code)



findByWorksite
public Collection findByWorksite(Id worksiteId)(Code)



findByWorksiteAndType
public Collection findByWorksiteAndType(Id worksiteId, String type)(Code)



findPublishedScaffolding
protected List findPublishedScaffolding(String siteId)(Code)
gathers all the published scaffolding from the given site (id)
Parameters:
  siteId - String List of Scaffolding



findPublishedScaffolding
public List findPublishedScaffolding(List sites)(Code)

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



fixPageForms
protected void fixPageForms(WizardPageDefinition wizardPage, Map formsMap)(Code)



getAgentFromId
protected Agent getAgentFromId(Id agentId)(Code)



getAgentManager
public AgentManager getAgentManager()(Code)
Returns the agentManager.



getArtifactAsXml
public Element getArtifactAsXml(Artifact artifact)(Code)



getAttachment
public Attachment getAttachment(Id attachmentId)(Code)



getAuthnManager
public AuthenticationManager getAuthnManager()(Code)
Returns the authManager.



getAuthzManager
public AuthorizationFacade getAuthzManager()(Code)
Returns the authzManager.



getCell
public Cell getCell(Matrix matrix, Criterion rootCriterion, Level level)(Code)



getCell
public Cell getCell(Id cellId)(Code)



getCellAttachments
List getCellAttachments(Id cellId)(Code)



getCellFromPage
public Cell getCellFromPage(Id pageId)(Code)



getCells
public List getCells(Matrix matrix)(Code)



getCellsByArtifact
public List getCellsByArtifact(Id artifactId)(Code)



getCellsByForm
public List getCellsByForm(Id formId)(Code)



getCellsByScaffoldingCell
public List getCellsByScaffoldingCell(Id scaffoldingCellId)(Code)



getContentFinder
public EntityContextFinder getContentFinder()(Code)



getContentHosting
public ContentHostingService getContentHosting()(Code)



getCriterion
public Criterion getCriterion(Id criterionId)(Code)



getDefaultScaffoldingBean
public DefaultScaffoldingBean getDefaultScaffoldingBean()(Code)



getEvaluatableCells
protected List getEvaluatableCells(Agent agent, Agent role, Id worksiteId)(Code)



getEvaluatableItems
public List getEvaluatableItems(Agent agent)(Code)



getEvaluatableItems
public List getEvaluatableItems(Agent agent, Id worksiteId)(Code)



getEvaluatableWizardPages
public List getEvaluatableWizardPages(Agent agent, Agent role, Id worksiteId)(Code)



getEvaluatableWizards
protected List getEvaluatableWizards(Agent agent, Agent role, Id worksiteId)(Code)



getExternalType
public String getExternalType()(Code)



getExternalUri
public String getExternalUri(Id artifactId, String name)(Code)



getFileDir
protected ContentCollectionEdit getFileDir(String origName) throws InconsistentException, PermissionException, IdUsedException, IdInvalidException, IdUnusedException, TypeException(Code)
This gets the directory in which the import places files into. This method gets the current users base collection, creates an imported directory, then uses the param to create a new directory. this uses the bean property importFolderName to name the
Parameters:
  origName - String ContentCollectionEdit
throws:
  InconsistentException -
throws:
  PermissionException -
throws:
  IdUsedException -
throws:
  IdInvalidException -
throws:
  IdUnusedException -
throws:
  TypeException -



getGuidanceManager
public GuidanceManager getGuidanceManager()(Code)



getIdManager
public IdManager getIdManager()(Code)
Returns the idManager.



getImportFolderName
public String getImportFolderName()(Code)



getInterface
public Class getInterface()(Code)



getLevel
public Level getLevel(Id levelId)(Code)



getLoadArtifacts
public boolean getLoadArtifacts()(Code)



getLockManager
public LockManager getLockManager()(Code)



getMatrices
public List getMatrices(Id scaffoldingId)(Code)



getMatrices
public List getMatrices(Id scaffoldingId, Id agentId)(Code)



getMatricesForWarehousing
public List getMatricesForWarehousing()(Code)



getMatrix
public Matrix getMatrix(Id scaffoldingId, Id agentId)(Code)



getMatrix
public Matrix getMatrix(Id matrixId)(Code)



getMatrixByPage
public Matrix getMatrixByPage(Id pageId)(Code)



getMatrixCellByWizardPageDef
protected Cell getMatrixCellByWizardPageDef(Matrix matrix, Id wizardPageDefId)(Code)



getNextCell
public Cell getNextCell(Cell cell, int progressionOption)(Code)



getNextScaffoldingCell
public ScaffoldingCell getNextScaffoldingCell(ScaffoldingCell scaffoldingCell, int progressionOption)(Code)



getNode
protected Node getNode(Id artifactId, WizardPage page)(Code)



getNode
public Node getNode(Id artifactId)(Code)



getNode
public Node getNode(Reference ref)(Code)



getPageContents
public Set getPageContents(WizardPage page)(Code)



getPageForms
public Set getPageForms(WizardPage page)(Code)



getPagesByPageDef
public List getPagesByPageDef(Id pageDefId)(Code)



getReviewManager
public ReviewManager getReviewManager()(Code)



getScaffolding
public List getScaffolding()(Code)



getScaffolding
public Scaffolding getScaffolding(Id scaffoldingId)(Code)



getScaffoldingByStyle
protected List getScaffoldingByStyle(Id styleId)(Code)



getScaffoldingCell
public ScaffoldingCell getScaffoldingCell(Criterion criterion, Level level)(Code)



getScaffoldingCell
public ScaffoldingCell getScaffoldingCell(Id id)(Code)



getScaffoldingCellByWizardPageDef
public ScaffoldingCell getScaffoldingCellByWizardPageDef(Id id)(Code)



getScaffoldingCellEvaluators
protected Collection getScaffoldingCellEvaluators(Id wizardPageDefId, boolean useAgentId)(Code)



getScaffoldingCellsStatus
public String getScaffoldingCellsStatus(Id scaffoldingCellId)(Code)



getScaffoldingForExport
protected Scaffolding getScaffoldingForExport(Id scaffoldingId)(Code)



getScaffoldingForWarehousing
public List getScaffoldingForWarehousing()(Code)
Gets all the scaffolding for the data warehouse. It preloads all the cells, levels, criterion. It sets the back trace from the level and criterion back to the scaffolding and sets the sequence index number for ordering. List of Scaffolding



getSecurityService
public SecurityService getSecurityService()(Code)



getStream
public InputStream getStream(Id artifactId)(Code)



getStructuredArtifactDefinitionManager
public StructuredArtifactDefinitionManager getStructuredArtifactDefinitionManager()(Code)



getStyleManager
public StyleManager getStyleManager()(Code)



getType
public org.sakaiproject.metaobj.shared.model.Type getType()(Code)



getUserCollection
protected ContentCollection getUserCollection() throws TypeException, IdUnusedException, PermissionException(Code)
gets the current user's resource collection ContentCollection
throws:
  TypeException -
throws:
  IdUnusedException -
throws:
  PermissionException -



getWizardPage
public WizardPage getWizardPage(Id pageId)(Code)



getWizardPageDefByStyle
protected List getWizardPageDefByStyle(Id styleId)(Code)



getWizardPages
protected List getWizardPages()(Code)



getWizardPagesForWarehousing
public List getWizardPagesForWarehousing()(Code)



getWorkflowManager
public WorkflowManager getWorkflowManager()(Code)
Returns the workflowManager.



getWorksiteManager
public WorksiteManager getWorksiteManager()(Code)
Returns the worksiteManager.



getXmlRenderer
public PresentableObjectHome getXmlRenderer()(Code)



importResources
public void importResources(String fromContext, String toContext, List resourceIds)(Code)
This is the method called when duplicating a site. It copies all published scaffolding from the fromContext site id to the toContext site id
Parameters:
  fromContext - String from site id
Parameters:
  toContext - String to site id
Parameters:
  resourceIds - List



isInstance
public boolean isInstance(Artifact testObject)(Code)



isSystemOnly
public boolean isSystemOnly()(Code)



isUseExperimentalMatrix
public boolean isUseExperimentalMatrix()(Code)
the useExperimentalMatrix



load
public Artifact load(Id id)(Code)



packageForDownload
public String packageForDownload(Map params, OutputStream out) throws IOException(Code)
This is called by the download manager to package a scaffolding for download as zip
Parameters:
  params - Map of url parameters
Parameters:
  out - OutputStream to push the file



packageScffoldingForExport
public void packageScffoldingForExport(Id scaffoldingId, OutputStream os) throws IOException(Code)



prepareInstance
public void prepareInstance(Artifact object)(Code)



previewScaffolding
public void previewScaffolding(Id scaffoldingId)(Code)



processFile
protected void processFile(ZipEntry currentEntry, ZipInputStream zis, Hashtable fileMap, ContentCollection fileParent) throws IOException, InconsistentException, PermissionException, IdUsedException, IdInvalidException, OverQuotaException, ServerOverloadException(Code)



processMatrixForm
protected void processMatrixForm(ZipEntry currentEntry, ZipInputStream zis, Map formMap, Id worksite) throws IOException(Code)



processMatrixGuidance
protected Map processMatrixGuidance(ContentCollection parent, String siteId, ZipInputStream zis) throws IOException(Code)



processMatrixStyle
protected Map processMatrixStyle(ContentCollection parent, String siteId, ZipInputStream zis) throws IOException(Code)



processScaffolding
protected Scaffolding processScaffolding(ZipInputStream zis) throws IOException, ClassNotFoundException(Code)
This unpacks the scaffolding in a zip stream and returns it
Parameters:
  zis -
throws:
  IOException -
throws:
  ClassNotFoundException -



processWorkflow
public void processWorkflow(Id workflowId, Id pageId)(Code)



processWorkflow
public void processWorkflow(int workflowOption, Id cellId)(Code)



publishScaffolding
public void publishScaffolding(Id scaffoldingId)(Code)



refresh
public void refresh()(Code)



removeExposedMatrixTool
public void removeExposedMatrixTool(Scaffolding scaffolding)(Code)



removeFromSession
public void removeFromSession(Object obj)(Code)



resetIds
protected void resetIds(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId)(Code)
resets the style, criteria, levels, and scaffolding cells
Parameters:
  scaffolding -
Parameters:
  guidanceMap -
Parameters:
  formsMap -
Parameters:
  styleMap -
Parameters:
  siteId -



save
public Object save(Object obj)(Code)



saveNewScaffolding
public Scaffolding saveNewScaffolding(Scaffolding scaffolding)(Code)



setAgentManager
public void setAgentManager(AgentManager agentManager)(Code)

Parameters:
  agentManager - The agentManager to set.



setAuthnManager
public void setAuthnManager(AuthenticationManager authnManager)(Code)

Parameters:
  authnManager - The authnManager to set.



setAuthzManager
public void setAuthzManager(AuthorizationFacade authzManager)(Code)

Parameters:
  authzManager - The authzManager to set.



setContentFinder
public void setContentFinder(EntityContextFinder contentFinder)(Code)



setContentHosting
public void setContentHosting(ContentHostingService contentHosting)(Code)



setDefaultScaffoldingBean
public void setDefaultScaffoldingBean(DefaultScaffoldingBean defaultScaffoldingBean)(Code)



setGuidanceManager
public void setGuidanceManager(GuidanceManager guidanceManager)(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)

Parameters:
  idManager - The idManager to set.



setImportFolderName
public void setImportFolderName(String importFolderName)(Code)



setLoadArtifacts
public void setLoadArtifacts(boolean loadArtifacts)(Code)



setLockManager
public void setLockManager(LockManager lockManager)(Code)



setReviewManager
public void setReviewManager(ReviewManager reviewManager)(Code)



setSecurityService
public void setSecurityService(SecurityService securityService)(Code)



setStructuredArtifactDefinitionManager
public void setStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager)(Code)



setStyleManager
public void setStyleManager(StyleManager styleManager)(Code)



setUseExperimentalMatrix
public void setUseExperimentalMatrix(boolean useExperimentalMatrix)(Code)

Parameters:
  useExperimentalMatrix - the useExperimentalMatrix to set



setWorkflowManager
public void setWorkflowManager(WorkflowManager workflowManager)(Code)

Parameters:
  workflowManager - The workflowManager to set.



setWorksiteManager
public void setWorksiteManager(WorksiteManager worksiteManager)(Code)

Parameters:
  worksiteManager - The worksiteManager to set.



setXmlRenderer
public void setXmlRenderer(PresentableObjectHome xmlRenderer)(Code)



store
public Object store(Object obj)(Code)



storeCell
public Id storeCell(Cell cell)(Code)



storeFileInZip
protected void storeFileInZip(ZipOutputStream zos, InputStream in, String entryName) throws IOException(Code)



storeFormInZip
protected void storeFormInZip(ZipOutputStream zos, String formId) throws IOException(Code)



storePage
public Id storePage(WizardPage page)(Code)



storeScaffolding
public Scaffolding storeScaffolding(Scaffolding scaffolding)(Code)



storeScaffoldingCell
public Id storeScaffoldingCell(ScaffoldingCell scaffoldingCell)(Code)



storeScaffoldingFile
protected void storeScaffoldingFile(ZipOutputStream zos, Id fileId) throws IOException(Code)



submitCellForEvaluation
public Cell submitCellForEvaluation(Cell cell)(Code)



submitPageForEvaluation
public WizardPage submitPageForEvaluation(WizardPage page)(Code)



substituteCriteria
protected void substituteCriteria(Scaffolding scaffolding)(Code)



substituteLevels
protected void substituteLevels(Scaffolding scaffolding)(Code)



substituteScaffoldingCells
protected void substituteScaffoldingCells(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId)(Code)



unlockNextCell
public void unlockNextCell(Cell cell)(Code)



uploadScaffolding
protected Scaffolding uploadScaffolding(String siteId, ZipInputStream zis) throws IOException(Code)
This unpacks a zipped scaffolding and places it into the siteId. It saves the guidance, styles, and forms, resets the ids, and saves the scaffolding. It returns the new unpacked scaffolding. The owner becomes the current agent.
Parameters:
  siteId - String of the site id
Parameters:
  zis - ZipInputStream of the packed scaffolding
throws:
  IOException -



uploadScaffolding
public Scaffolding uploadScaffolding(Reference uploadedScaffoldingFile, String siteId) throws IOException(Code)



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