| org.theospi.portfolio.wizard.mgt.impl.WizardManagerImpl
Method Summary | |
public boolean | checkStyleConsumption(Id styleId) | public void | checkWizardAccess(Id id) | protected void | clearSession() | public Artifact | createInstance() | public Wizard | createNew() | public Artifact | createSample() | public Reference | decorateReference(Wizard wizard, String reference) | protected void | deleteCompletedWizard(CompletedWizard cw) | public void | deleteObjects(List deletedItems) | public void | deletePreviewWizardData(Wizard wizard) | public void | deleteWizard(Wizard wizard) | public Collection | findByOwner(Id owner) | public Collection | findByOwner(Agent 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) | public List<WizardPageSequence> | findPagesByWizard(Id wizardId) | public List | findPublishedWizards(List sites) | public List | findPublishedWizards(List sites, boolean lazy) | public List | findPublishedWizards(String siteId) | protected List | findPublishedWizardsLazy(List sites) | public List<WizardPageDefinition> | findWizardPageDefs(String siteId) | public List<WizardPageDefinition> | findWizardPageDefs(String siteId, boolean deep) | public List | findWizardsByOwner(String ownerId, String siteId) | public AgentManager | getAgentManager() | public Element | getArtifactAsXml(Artifact art) | public AuthenticationManager | getAuthManager() | public AuthorizationFacade | getAuthorizationFacade() | public Collection | getAvailableForms(String siteId, String type) | public CompletedWizard | getCompletedWizard(Id completedWizardId) | public CompletedWizard | getCompletedWizard(Wizard wizard) | public CompletedWizard | getCompletedWizard(Wizard wizard, String userId) | public CompletedWizard | getCompletedWizard(Wizard wizard, String userId, boolean create) | public CompletedWizard | getCompletedWizardByPage(Id pageId) | public List | getCompletedWizardPagesByPageDef(Id id) | protected List | getCompletedWizards(Wizard wizard) | protected List | getCompletedWizards(String owner) | public List | getCompletedWizardsByWizardId(String wizardId) | public ContentHostingService | getContentHosting() | public EntityManager | getEntityManager() | 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 boolean | getLoadArtifacts() | public LockManager | getLockManager() | public MatrixManager | getMatrixManager() | public Node | getNode(Id artifactId) | public ReviewManager | getReviewManager() | public SecurityService | getSecurityService() | public InputStream | getStream(Id artifactId) | public StructuredArtifactDefinitionManager | getStructuredArtifactDefinitionManager() | public StyleManager | getStyleManager() | public int | getSubmittedPageCount(CompletedWizard wizard) | public int | getTotalPageCount(Wizard wizard) | public Type | getType() | protected ContentCollection | getUserCollection() | public CompletedWizard | getUsersWizard(Wizard wizard, Agent agent) | public CompletedWizard | getUsersWizard(Wizard wizard, Agent agent, boolean create) | public Wizard | getWizard(Id wizardId) | public Wizard | getWizard(Id wizardId, int checkAuthz) | public Wizard | getWizard(String id, int checkAuthz) | public Wizard | getWizard(String id) | public String | getWizardEntityProducer() | protected Collection | getWizardEvaluators(Id wizardId, boolean useAgentId) | public Agent | getWizardIdOwner(Id wizardId) | public String | getWizardIdSiteId(Id wizardId) | protected Collection | getWizardPageDefEvaluators(Id wizardPageDefId, boolean useAgentId) | public WizardPageDefinition | getWizardPageDefinition(Id id) | public WizardPageDefinition | getWizardPageDefinition(Id id, boolean deep) | public WizardPageSequence | getWizardPageSeqByDef(Id id) | protected List | getWizardsByStyle(Id styleId) | public List | getWizardsForWarehousing() | public WorkflowManager | getWorkflowManager() | public PresentableObjectHome | getXmlRenderer() | protected void | importAttachmentRef(ContentCollection fileParent, ZipEntry currentEntry, String siteId, ZipInputStream zis, Map resourceMap) | public boolean | importResource(Id worksiteId, String nodeId) | public void | importResources(String fromContext, String toContext, List resourceIds) | protected void | init() | public boolean | isInstance(Artifact testObject) | public boolean | isSystemOnly() | public List | listAllWizardsByOwner(String owner, String siteId) | public List | listWizardsByType(String owner, String siteId, String type) | public Artifact | load(Id id) | protected void | loadCategory(WizardCategory category, List refs) | public String | packageForDownload(Map params, OutputStream out) | protected void | packageWizardForExport(String wizardId, OutputStream os, int checkAuthz) | public void | packageWizardForExport(String wizardId, OutputStream os) | public void | prepareInstance(Artifact object) | public void | previewWizard(Wizard wizard) | 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) | public void | processWorkflow(int workflowOption, Id id) | public void | processWorkflow(Id workflowId, Id completedWizardId) | public void | publishWizard(Wizard wizard) | public void | putWizardIntoZip(String wizardId, ZipOutputStream zos) | protected void | putWizardIntoZip(String wizardId, ZipOutputStream zos, int checkAuthz) | public void | refresh() | protected void | removeFromSession(Object obj) | protected void | replaceCatIds(WizardCategory cat, Map guidanceMap, Map formsMap, Map styleMap) runs through each of the pages in the category and maps the guidance and
additional forms from the old ids to the new ids. | protected void | replaceIds(Wizard wizard, Map guidanceMap, Map formsMap, Map styleMap) | public Wizard | saveWizard(Wizard wizard) | public CompletedWizard | saveWizard(CompletedWizard wizard) | public void | setAgentManager(AgentManager agentManager) | public void | setAuthManager(AuthenticationManager authManager) | public void | setAuthorizationFacade(AuthorizationFacade authorizationFacade) | public void | setContentHosting(ContentHostingService contentHosting) | public void | setEntityManager(EntityManager entityManager) | 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 | setMatrixManager(MatrixManager matrixManager) | public void | setReviewManager(ReviewManager reviewManager) | public void | setSecurityService(SecurityService securityService) | public void | setStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager) | public void | setStyleManager(StyleManager styleManager) | public void | setWorkflowManager(WorkflowManager workflowManager) | public void | setXmlRenderer(PresentableObjectHome xmlRenderer) | protected void | storeFileInZip(ZipOutputStream zos, Reader in, String entryName) | protected void | storeFileInZip(ZipOutputStream zos, InputStream in, String entryName) | protected void | storeStringInZip(ZipOutputStream zos, String in, String entryName) | protected void | unlockWizardResources(Wizard wizard) |
checkStyleConsumption | public boolean checkStyleConsumption(Id styleId)(Code) | | |
checkWizardAccess | public void checkWizardAccess(Id id)(Code) | | |
clearSession | protected void clearSession()(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
|
findPublishedWizards | public List findPublishedWizards(List sites)(Code) | | |
findPublishedWizards | public List findPublishedWizards(List sites, boolean lazy)(Code) | | |
findPublishedWizardsLazy | protected List findPublishedWizardsLazy(List sites)(Code) | | |
getCompletedWizardPagesByPageDef | public List getCompletedWizardPagesByPageDef(Id id)(Code) | | |
getCompletedWizardsByWizardId | public List getCompletedWizardsByWizardId(String wizardId)(Code) | | Parameters: String - the wizard id for the completed wizard classes List of CompletedWizard |
getImportFolderName | public String getImportFolderName()(Code) | | |
getLoadArtifacts | public boolean getLoadArtifacts()(Code) | | |
getTotalPageCount | public int getTotalPageCount(Wizard wizard)(Code) | | |
getWizardEntityProducer | public String getWizardEntityProducer()(Code) | | |
getWizardEvaluators | protected Collection getWizardEvaluators(Id wizardId, boolean useAgentId)(Code) | | |
getWizardPageDefEvaluators | protected Collection getWizardPageDefEvaluators(Id wizardPageDefId, boolean useAgentId)(Code) | | |
getWizardsByStyle | protected List getWizardsByStyle(Id styleId)(Code) | | |
getWizardsForWarehousing | public List getWizardsForWarehousing()(Code) | | Pulls all wizards, deeping loading all parts of each Wizard
List of Wizard |
isSystemOnly | public boolean isSystemOnly()(Code) | | |
processWorkflow | public void processWorkflow(int workflowOption, Id id)(Code) | | |
processWorkflow | public void processWorkflow(Id workflowId, Id completedWizardId)(Code) | | |
refresh | public void refresh()(Code) | | |
removeFromSession | protected void removeFromSession(Object obj)(Code) | | |
replaceCatIds | protected void replaceCatIds(WizardCategory cat, Map guidanceMap, Map formsMap, Map styleMap)(Code) | | runs through each of the pages in the category and maps the guidance and
additional forms from the old ids to the new ids. It saves and sets the
guidance and page style as well. Lastly, it loops into the sub categories.
Parameters: cat - WizardCategory Parameters: guidanceMap - Map Parameters: formsMap - Map Parameters: styleMap - Map |
setImportFolderName | public void setImportFolderName(String importFolderName)(Code) | | |
setLoadArtifacts | public void setLoadArtifacts(boolean loadArtifacts)(Code) | | |
setMatrixManager | public void setMatrixManager(MatrixManager matrixManager)(Code) | | Parameters: matrixManager - the matrixManager to set |
setWorkflowManager | public void setWorkflowManager(WorkflowManager workflowManager)(Code) | | Parameters: workflowManager - The workflowManager to set. |
unlockWizardResources | protected void unlockWizardResources(Wizard wizard)(Code) | | unlock all resources associated with wizard pages (in preparation for delete)
|
|
|