| org.theospi.portfolio.matrix.HibernateMatrixManagerImpl
Method Summary | |
public Attachment | attachArtifact(Id pageId, Reference artifactRef) | protected String | buildRef(String siteId, String contextId, ContentResource resource) | public boolean | checkFormConsumption(Id formId) | public void | checkPageAccess(String id) | public boolean | checkStyleConsumption(Id styleId) | public void | clearSession() | protected Id | convertRef(Reference artifactRef) | public Scaffolding | createDefaultScaffolding() | public Artifact | createInstance() | public Matrix | createMatrix(Agent owner, Scaffolding scaffolding) | public Artifact | createSample() | public void | deleteMatrix(Id matrixId) | public void | deleteScaffolding(Id scaffoldingId) | public void | detachArtifact(Id pageId, Id artifactId) | public void | detachForm(Id pageId, Id artifactId) | protected void | exportCellForms(ZipOutputStream zos, ScaffoldingCell cell, List formIds) | protected void | exportGuidance(ZipOutputStream zos, List guidanceIds) | protected void | exportStyle(ZipOutputStream zos, Set styleIds) | public void | exposeMatrixTool(Scaffolding scaffolding) | public List | findAvailableScaffolding(String siteIdStr, Agent user) | public Collection | findByOwner(Agent owner) | public Collection | findByOwner(Id owner) | public Collection | findByOwnerAndType(Id owner, String type) | public Collection | findByOwnerAndType(Id owner, String type, MimeType mimeType) | public Collection | findByType(String type) | public Collection | findByWorksite(Id worksiteId) | public Collection | findByWorksiteAndType(Id worksiteId, String type) | protected List | findPublishedScaffolding(String siteId) | public List | findPublishedScaffolding(List sites) | protected void | fixPageForms(WizardPageDefinition wizardPage, Map formsMap) | protected Agent | getAgentFromId(Id agentId) | public AgentManager | getAgentManager() | public Element | getArtifactAsXml(Artifact artifact) | public Attachment | getAttachment(Id attachmentId) | public AuthenticationManager | getAuthnManager() | public AuthorizationFacade | getAuthzManager() | public Cell | getCell(Matrix matrix, Criterion rootCriterion, Level level) | public Cell | getCell(Id cellId) | List | getCellAttachments(Id cellId) | public Cell | getCellFromPage(Id pageId) | public List | getCells(Matrix matrix) | public List | getCellsByArtifact(Id artifactId) | public List | getCellsByForm(Id formId) | public List | getCellsByScaffoldingCell(Id scaffoldingCellId) | public EntityContextFinder | getContentFinder() | public ContentHostingService | getContentHosting() | public Criterion | getCriterion(Id criterionId) | public DefaultScaffoldingBean | getDefaultScaffoldingBean() | protected List | getEvaluatableCells(Agent agent, Agent role, Id worksiteId) | public List | getEvaluatableItems(Agent agent) | public List | getEvaluatableItems(Agent agent, Id worksiteId) | public List | getEvaluatableWizardPages(Agent agent, Agent role, Id worksiteId) | protected List | getEvaluatableWizards(Agent agent, Agent role, Id worksiteId) | public String | getExternalType() | public String | getExternalUri(Id artifactId, String name) | protected ContentCollectionEdit | getFileDir(String origName) This gets the directory in which the import places files into. | public GuidanceManager | getGuidanceManager() | public IdManager | getIdManager() | public String | getImportFolderName() | public Class | getInterface() | public Level | getLevel(Id levelId) | public boolean | getLoadArtifacts() | public LockManager | getLockManager() | public List | getMatrices(Id scaffoldingId) | public List | getMatrices(Id scaffoldingId, Id agentId) | public List | getMatricesForWarehousing() | public Matrix | getMatrix(Id scaffoldingId, Id agentId) | public Matrix | getMatrix(Id matrixId) | public Matrix | getMatrixByPage(Id pageId) | protected Cell | getMatrixCellByWizardPageDef(Matrix matrix, Id wizardPageDefId) | public Cell | getNextCell(Cell cell, int progressionOption) | public ScaffoldingCell | getNextScaffoldingCell(ScaffoldingCell scaffoldingCell, int progressionOption) | protected Node | getNode(Id artifactId, WizardPage page) | public Node | getNode(Id artifactId) | public Node | getNode(Reference ref) | public Set | getPageContents(WizardPage page) | public Set | getPageForms(WizardPage page) | public List | getPagesByPageDef(Id pageDefId) | public ReviewManager | getReviewManager() | public List | getScaffolding() | public Scaffolding | getScaffolding(Id scaffoldingId) | protected List | getScaffoldingByStyle(Id styleId) | public ScaffoldingCell | getScaffoldingCell(Criterion criterion, Level level) | public ScaffoldingCell | getScaffoldingCell(Id id) | public ScaffoldingCell | getScaffoldingCellByWizardPageDef(Id id) | protected Collection | getScaffoldingCellEvaluators(Id wizardPageDefId, boolean useAgentId) | public String | getScaffoldingCellsStatus(Id scaffoldingCellId) | protected Scaffolding | getScaffoldingForExport(Id scaffoldingId) | public List | getScaffoldingForWarehousing() Gets all the scaffolding for the data warehouse. | public SecurityService | getSecurityService() | public InputStream | getStream(Id artifactId) | public StructuredArtifactDefinitionManager | getStructuredArtifactDefinitionManager() | public StyleManager | getStyleManager() | public org.sakaiproject.metaobj.shared.model.Type | getType() | protected ContentCollection | getUserCollection() | public WizardPage | getWizardPage(Id pageId) | protected List | getWizardPageDefByStyle(Id styleId) | protected List | getWizardPages() | public List | getWizardPagesForWarehousing() | public WorkflowManager | getWorkflowManager() | public WorksiteManager | getWorksiteManager() | public PresentableObjectHome | getXmlRenderer() | public void | importResources(String fromContext, String toContext, List resourceIds) This is the method called when duplicating a site. | public boolean | isInstance(Artifact testObject) | public boolean | isSystemOnly() | public boolean | isUseExperimentalMatrix() | public Artifact | load(Id id) | public String | packageForDownload(Map params, OutputStream out) | public void | packageScffoldingForExport(Id scaffoldingId, OutputStream os) | public void | prepareInstance(Artifact object) | public void | previewScaffolding(Id scaffoldingId) | protected void | processFile(ZipEntry currentEntry, ZipInputStream zis, Hashtable fileMap, ContentCollection fileParent) | protected void | processMatrixForm(ZipEntry currentEntry, ZipInputStream zis, Map formMap, Id worksite) | protected Map | processMatrixGuidance(ContentCollection parent, String siteId, ZipInputStream zis) | protected Map | processMatrixStyle(ContentCollection parent, String siteId, ZipInputStream zis) | protected Scaffolding | processScaffolding(ZipInputStream zis) | public void | processWorkflow(Id workflowId, Id pageId) | public void | processWorkflow(int workflowOption, Id cellId) | public void | publishScaffolding(Id scaffoldingId) | public void | refresh() | public void | removeExposedMatrixTool(Scaffolding scaffolding) | public void | removeFromSession(Object obj) | protected void | resetIds(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId) | public Object | save(Object obj) | public Scaffolding | saveNewScaffolding(Scaffolding scaffolding) | public void | setAgentManager(AgentManager agentManager) | public void | setAuthnManager(AuthenticationManager authnManager) | public void | setAuthzManager(AuthorizationFacade authzManager) | public void | setContentFinder(EntityContextFinder contentFinder) | public void | setContentHosting(ContentHostingService contentHosting) | public void | setDefaultScaffoldingBean(DefaultScaffoldingBean defaultScaffoldingBean) | public void | setGuidanceManager(GuidanceManager guidanceManager) | public void | setIdManager(IdManager idManager) | public void | setImportFolderName(String importFolderName) | public void | setLoadArtifacts(boolean loadArtifacts) | public void | setLockManager(LockManager lockManager) | public void | setReviewManager(ReviewManager reviewManager) | public void | setSecurityService(SecurityService securityService) | public void | setStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager) | public void | setStyleManager(StyleManager styleManager) | public void | setUseExperimentalMatrix(boolean useExperimentalMatrix) | public void | setWorkflowManager(WorkflowManager workflowManager) | public void | setWorksiteManager(WorksiteManager worksiteManager) | public void | setXmlRenderer(PresentableObjectHome xmlRenderer) | public Object | store(Object obj) | public Id | storeCell(Cell cell) | protected void | storeFileInZip(ZipOutputStream zos, InputStream in, String entryName) | protected void | storeFormInZip(ZipOutputStream zos, String formId) | public Id | storePage(WizardPage page) | public Scaffolding | storeScaffolding(Scaffolding scaffolding) | public Id | storeScaffoldingCell(ScaffoldingCell scaffoldingCell) | protected void | storeScaffoldingFile(ZipOutputStream zos, Id fileId) | public Cell | submitCellForEvaluation(Cell cell) | public WizardPage | submitPageForEvaluation(WizardPage page) | protected void | substituteCriteria(Scaffolding scaffolding) | protected void | substituteLevels(Scaffolding scaffolding) | protected void | substituteScaffoldingCells(Scaffolding scaffolding, Map guidanceMap, Map formsMap, Map styleMap, String siteId) | public void | unlockNextCell(Cell cell) | protected Scaffolding | uploadScaffolding(String siteId, ZipInputStream zis) This unpacks a zipped scaffolding and places it into the siteId. | public Scaffolding | uploadScaffolding(Reference uploadedScaffoldingFile, String siteId) |
checkFormConsumption | public boolean checkFormConsumption(Id formId)(Code) | | |
checkStyleConsumption | public boolean checkStyleConsumption(Id styleId)(Code) | | |
clearSession | public void clearSession()(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) | | |
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) |
getArtifactAsXml | public Element getArtifactAsXml(Artifact artifact)(Code) | | |
getCellsByArtifact | public List getCellsByArtifact(Id artifactId)(Code) | | |
getCellsByScaffoldingCell | public List getCellsByScaffoldingCell(Id scaffoldingCellId)(Code) | | |
getImportFolderName | public String getImportFolderName()(Code) | | |
getLoadArtifacts | public boolean getLoadArtifacts()(Code) | | |
getMatrices | public List getMatrices(Id scaffoldingId, Id agentId)(Code) | | |
getMatricesForWarehousing | public List getMatricesForWarehousing()(Code) | | |
getMatrixCellByWizardPageDef | protected Cell getMatrixCellByWizardPageDef(Matrix matrix, Id wizardPageDefId)(Code) | | |
getNextCell | public Cell getNextCell(Cell cell, int progressionOption)(Code) | | |
getPagesByPageDef | public List getPagesByPageDef(Id pageDefId)(Code) | | |
getScaffoldingByStyle | protected List getScaffoldingByStyle(Id styleId)(Code) | | |
getScaffoldingCellEvaluators | protected Collection getScaffoldingCellEvaluators(Id wizardPageDefId, boolean useAgentId)(Code) | | |
getScaffoldingCellsStatus | public String getScaffoldingCellsStatus(Id scaffoldingCellId)(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 |
getWizardPageDefByStyle | protected List getWizardPageDefByStyle(Id styleId)(Code) | | |
getWizardPages | protected List getWizardPages()(Code) | | |
getWizardPagesForWarehousing | public List getWizardPagesForWarehousing()(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 |
isSystemOnly | public boolean isSystemOnly()(Code) | | |
isUseExperimentalMatrix | public boolean isUseExperimentalMatrix()(Code) | | the useExperimentalMatrix |
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 |
previewScaffolding | public void previewScaffolding(Id scaffoldingId)(Code) | | |
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 - |
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. |
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) | | |
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. |
submitCellForEvaluation | public Cell submitCellForEvaluation(Cell cell)(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 - |
|
|