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


org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl

PresentationManagerImpl
public class PresentationManagerImpl extends HibernateDaoSupport implements PresentationManager,DuplicatableToolService,DownloadableManager,StyleConsumer,FormConsumer(Code)




Method Summary
protected  booleanartifactExists(Id artifactId)
    
protected  StringbuildLayoutRef(String siteId, String contextId, ContentResource resource)
    
protected  List<Id>buildPresList(Collection presentationAuthzs)
    
protected  StringbuildRef(String siteId, String contextId, ContentResource resource)
    
public  booleancheckFormConsumption(Id formId)
    
public  booleancheckStyleConsumption(Id styleId)
    
public  voidcleanupTool(Id toolId)
    
protected  voidclearLocks(Id id)
    
protected  voidconvertPortfolioTemplates(List templates)
    
protected  voidconvertPortfolios(List portfolios)
    
public  PresentationTemplatecopyTemplate(Id templateId)
    
protected  PresentationTemplatecopyTemplate(Id templateId, String toContext, boolean checkAuthz, boolean rename)
    
protected  IdcopyTemplateFile(ContentCollection templateParent, Id oldFileId, Hashtable fileMap)
    
public  voidcreateComment(PresentationComment comment)
    
public  voidcreateComment(PresentationComment comment, boolean checkAuthz, boolean updateDates)
    
public  DocumentcreateDocument(Presentation presentation)
    
protected  ElementcreateElementNode(String name, String value)
    
protected  PresentationItemDefinitioncreateFreeFormItemDef(PresentationTemplate template)
    
protected  PresentationTemplatecreateFreeFormTemplate(Id rendererId)
    
protected  ElementcreateNavigationElement(PresentationPage page)
    
protected  IdcreateResource(String resourceLocation, String name, String description, String type)
    
public  voiddeleteArtifactReference(Id artifactId)
    
protected  voiddeleteComments(Id presentationId)
    
protected  voiddeleteLogs(Id presentationId)
    
public  voiddeletePresentation(Id id)
    
public  voiddeletePresentation(Id id, boolean checkAuthz)
    
public  voiddeletePresentationComment(PresentationComment comment)
    
public  voiddeletePresentationItem(Id id)
    
public  voiddeletePresentationItemDefinition(Id id)
    
public  voiddeletePresentationLayout(Id id)
    
protected  voiddeletePresentationPages(Id presentationId)
    
public  booleandeletePresentationTemplate(Id id)
    
protected  voiddeleteResource(Id qualifierId, Id resourceId)
    
public  voiddeleteTemplateFileRef(Id refId)
    
public  voiddeleteUnusedItemDefinition(PresentationTemplate template)
    
public  voiddeleteUnusedItemDefinition(Id itemDefId)
    
protected  voiddeleteViewers(Id presId)
    
public  CollectionfindAllGlobalLayouts()
    
public  CollectionfindGlobalTemplates()
    
public  CollectionfindLayoutsByOwner(Agent owner, String siteId)
    
public  CollectionfindLogsByPresID(Id presID)
    
public  CollectionfindMyGlobalLayouts()
    
public  CollectionfindPresentationsByOwner(Agent owner)
    
public  CollectionfindPresentationsByOwner(Agent owner, String toolId)
    
public  CollectionfindPresentationsByTool(Id id)
    
public  CollectionfindPresentationsByViewer(Agent viewer)
    
public  CollectionfindPresentationsByViewer(Agent viewer, String toolId)
    
public  CollectionfindPresentationsByViewer(Agent viewer, String toolId, boolean showHidden)
    
public  CollectionfindPublishedLayouts(String siteId)
    
public  CollectionfindPublishedTemplates()
    
public  CollectionfindPublishedTemplates(String siteId)
    
protected  CollectionfindPublishedTemplatesBySite(String siteId)
    
public  CollectionfindTemplatesByOwner(Agent owner, String siteId)
    
public  CollectionfindTemplatesByOwner(Agent owner)
    
protected  StringfindUniqueFileName(String id, String name)
    
protected  StructuredArtifactDefinitionBeanfindUsableFormDef(List formDefs, int caseSwitch, String siteId)
    
protected  voidfixupRegions(PresentationPage page)
    
public  AgentManagergetAgentManager()
    
public  CollectiongetAllPresentationLayouts()
    
public  CollectiongetAllPresentationTemplates()
    
public  CollectiongetAllPresentationsForWarehouse()
    
public  ArtifactFinderManagergetArtifactFinderManager()
    
public  AuthenticationManagergetAuthnManager()
    
public  AuthorizationFacadegetAuthzManager()
    
public  ContentHostingServicegetContentHosting()
    
public  ListgetCreatorComments(Agent creator, CommentSortBy sortBy)
    
public  ListgetCreatorComments(Agent creator, String toolId, CommentSortBy sortBy)
    
public  ListgetDefinedLayouts()
    
protected  WritableObjectHomegetFileHome()
    
protected  ElementgetFileRefAsXml(Presentation presentation, TemplateFileRef fileRef)
    
public  PresentationPagegetFirstPresentationPage(Id presentationId)
    
public  IdgetFreeFormTemplateId()
    
public  ListgetGlobalSiteTypes()
    
public  ListgetGlobalSites()
    
public  HomeFactorygetHomeFactory()
    
public  IdManagergetIdManager()
    
public  StringgetImportFolderName()
    
public  ListgetInitializedServices()
    
public  PresentationgetLightweightPresentation(Id id)
    
public  LockManagergetLockManager()
    
public  NodegetNode(Id artifactId)
    
public  NodegetNode(Reference ref, Presentation presentation)
    
public  NodegetNode(Id nodeId, Presentation presentation)
    
public  NodegetNode(Id artifactId, PresentationLayout layout)
    
protected  NodegetNode(Node node, Presentation presentation)
    
protected  NodegetNode(Node node, PresentationLayout layout)
    
public  NodegetNode(Reference ref)
    
public  ListgetOwnerComments(Agent owner, CommentSortBy sortBy)
    
public  ListgetOwnerComments(Agent owner, CommentSortBy sortBy, boolean excludeOwner)
    
public  ListgetOwnerComments(Agent owner, String toolId, CommentSortBy sortBy)
    
public  ListgetOwnerComments(Agent owner, String toolId, CommentSortBy sortBy, boolean excludeOwner)
    
protected  ListgetPortfoliosForConversion()
    
public  PresentationgetPresentation(Id id, String secretExportKey)
    
public  PresentationgetPresentation(Id id)
    
public  PresentationCommentgetPresentationComment(Id id)
    
public  ListgetPresentationComments(Id presentationId, Agent viewer)
    
public  PresentationItemgetPresentationItem(Id id)
    
protected  ArtifactgetPresentationItem(String type, Id itemId, Presentation presentation)
    
public  PresentationItemDefinitiongetPresentationItemDefinition(Id id)
    
public  CollectiongetPresentationItems(Id artifactId)
    
public  PresentationLayoutgetPresentationLayout(Id id)
    
public  DocumentgetPresentationLayoutAsXml(Presentation presentation, String pageId)
    
protected  DocumentgetPresentationLayoutAsXml(Id pageId)
    
public  PresentationPagegetPresentationPage(Id id)
    
public  PresentationPagegetPresentationPage(Id presentationId, int pageIndex)
    
protected  ElementgetPresentationPageAsXml(PresentationPage page)
    
protected  DocumentgetPresentationPageLayoutAsXml(PresentationPage page)
    
public  ListgetPresentationPagesByPresentation(Id presentationId)
    
protected  ListgetPresentationPagesByStyle(Id styleId)
    
public  DocumentgetPresentationPreviewLayoutAsXml(Presentation presentation, String pageId)
     Create an xml document represenation of the requested page from the presentation passed in.
public  PresentationTemplategetPresentationTemplate(Id id)
    
public  CollectiongetPresentationsBasedOnTemplateFileRef(Id artifactId)
    
protected  ListgetPresentationsByStyle(Id styleId)
    
public  SecurityServicegetSecurityService()
    
public  StructuredArtifactDefinitionManagergetStructuredArtifactDefinitionManager()
    
public  StringgetTempPresDownloadDir()
    
protected  ContentCollectionEditgetTemplateFileDir(String origName)
     This gets the directory in which the import places files into.
public  TemplateFileRefgetTemplateFileRef(Id refId)
    
protected  ListgetTemplatesForConversion()
    
protected  ContentCollectiongetUserCollection()
    
public  WorksiteManagergetWorksiteManager()
    
protected  voidhandleChildren(PresentationTemplate oldTemplate, ContentCollection templateParent, Hashtable fileMap)
    
public  voidimportResources(String fromContext, String toContext, List resourceIds)
    
public  voidinit()
    
protected  voidinitFreeFormTemplate()
    
protected  voidinitGlobalLayouts()
    
public  booleanisAutoDdl()
    
public  booleanisGlobal()
    
public  booleanisPortfolioPropertyFormConversion()
    
public  CollectionloadArtifactsForItemDef(PresentationItemDefinition itemDef, Agent agent)
    
protected  ByteArrayOutputStreamloadResource(String name)
    
protected  voidlockLayoutFiles(PresentationLayout layout)
    
protected  voidlockStyleFiles(Style style)
    
protected  voidlockTemplateFiles(PresentationTemplate template)
     locks all the files associated with this template.
protected  ElementoutputTypedContent(String type, String value, Presentation presentation, String contentType)
    
public  StringpackageForDownload(Map params, OutputStream out)
    
protected  StringpackagePresentationForExport(Id presentationId, OutputStream out)
    
public  StringpackageTemplateForExport(Id templateId, OutputStream os)
    
protected  StringpackageTemplateForExportInternal(Id templateId, OutputStream os)
    
protected  PresentationLayoutprocessDefinedLayout(PresentationLayoutWrapper wrapper)
    
protected  voidprocessFile(Node node, Hashtable fileMap)
    
protected  PresentationTemplateprocessTemplate(ZipInputStream zis)
    
protected  voidprocessTemplateFile(ZipEntry currentEntry, ZipInputStream zis, Hashtable fileMap, ContentCollection fileParent)
    
protected  voidprocessTemplateForm(ZipEntry currentEntry, ZipInputStream zis, Map formMap, Id worksite)
    
public  voidreassignOwner(PresentationTemplate templateId)
    
protected  booleanresourceExists(String returned)
    
public  voidsetAgentManager(AgentManager agentManager)
    
public  voidsetArtifactFinderManager(ArtifactFinderManager artifactFinderManager)
    
public  voidsetAuthnManager(AuthenticationManager authnManager)
    
public  voidsetAuthzManager(AuthorizationFacade authzManager)
    
public  voidsetAutoDdl(boolean autoDdl)
    
public  voidsetContentHosting(ContentHostingService contentHosting)
    
public  voidsetDefinedLayouts(List definedLayouts)
    
public  voidsetFileHome(WritableObjectHome fileHome)
    
public  voidsetGlobalSiteTypes(List globalSiteTypes)
    
public  voidsetGlobalSites(List globalSites)
    
public  voidsetHomeFactory(HomeFactory homeFactory)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetImportFolderName(String importFolderName)
    
public  voidsetInitializedServices(List initializedServices)
    
public  voidsetLockManager(LockManager lockManager)
    
public  voidsetPortfolioPropertyFormConversion(boolean portfolioPropertyFormConversion)
    
public  voidsetSecurityService(SecurityService securityService)
    
public  voidsetStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager)
    
public  voidsetTempPresDownloadDir(String tempPresDownloadDir)
    
public  voidsetWorksiteManager(WorksiteManager worksiteManager)
    
protected  voidsetupPresItemDefinition(Presentation presentation)
    
protected  voidstoreFileInZip(ZipOutputStream zos, InputStream in, String entryName)
    
protected  voidstoreFormInZip(ZipOutputStream zos, ReadableObjectHome home)
    
public  PresentationLayoutstoreLayout(PresentationLayout layout)
    
public  PresentationLayoutstoreLayout(PresentationLayout layout, boolean checkAuthz)
    
public  PresentationstorePresentation(Presentation presentation, boolean checkAuthz, boolean updateDates)
     saves or updates a presentation and any associated presentention_items.
public  PresentationstorePresentation(Presentation presentation)
    
public  voidstorePresentationLog(PresentationLog log)
    
protected  voidstorePresentationPages(List pages, Id presentationId)
    
public  PresentationTemplatestoreTemplate(PresentationTemplate template)
    
protected  PresentationTemplatestoreTemplate(PresentationTemplate template, boolean checkAuthz)
    
public  PresentationTemplatestoreTemplate(PresentationTemplate template, boolean checkAuthz, boolean updateDates)
    
protected  voidstoreTemplateFile(ZipOutputStream zos, Id fileId, List existingEntries)
    
protected  booleansubstituteFileId(StringBuffer sb, Id oldId, Id newId)
    
protected  voidsubstituteIds(Hashtable fileMap)
    
protected  voidswitchUser(Agent owner)
    
public  voidupdateItemDefintion(PresentationItemDefinition itemDef)
    
protected  voidupdateLayout(PresentationLayoutWrapper wrapper, PresentationLayout layout)
    
public  voidupdatePresentationComment(PresentationComment comment)
    
protected  IdupdateResource(Id qualifierId, Id resourceId, String resourceLocation)
    
public  voidupdateTemplateFileRef(TemplateFileRef ref)
    
public  PresentationTemplateuploadTemplate(String templateFileName, String toContext, InputStream zipFileStream)
    
protected  PresentationTemplateuploadTemplate(String templateFileName, String toContext, InputStream zipFileStream, boolean checkAuthz)
    
public  voidviewingPresentation(Presentation presentation)
    



Method Detail
artifactExists
protected boolean artifactExists(Id artifactId)(Code)



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



buildPresList
protected List<Id> buildPresList(Collection presentationAuthzs)(Code)



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



checkFormConsumption
public boolean checkFormConsumption(Id formId)(Code)



checkStyleConsumption
public boolean checkStyleConsumption(Id styleId)(Code)



cleanupTool
public void cleanupTool(Id toolId)(Code)



clearLocks
protected void clearLocks(Id id)(Code)
remove all the locks associated with this template



convertPortfolioTemplates
protected void convertPortfolioTemplates(List templates)(Code)

Parameters:
  templates - A list of PresentationTemplate objects



convertPortfolios
protected void convertPortfolios(List portfolios)(Code)

Parameters:
  portfolios - A list of Presentation objects



copyTemplate
public PresentationTemplate copyTemplate(Id templateId)(Code)



copyTemplate
protected PresentationTemplate copyTemplate(Id templateId, String toContext, boolean checkAuthz, boolean rename)(Code)



copyTemplateFile
protected Id copyTemplateFile(ContentCollection templateParent, Id oldFileId, Hashtable fileMap)(Code)



createComment
public void createComment(PresentationComment comment)(Code)



createComment
public void createComment(PresentationComment comment, boolean checkAuthz, boolean updateDates)(Code)



createDocument
public Document createDocument(Presentation presentation)(Code)



createElementNode
protected Element createElementNode(String name, String value)(Code)



createFreeFormItemDef
protected PresentationItemDefinition createFreeFormItemDef(PresentationTemplate template)(Code)



createFreeFormTemplate
protected PresentationTemplate createFreeFormTemplate(Id rendererId)(Code)



createNavigationElement
protected Element createNavigationElement(PresentationPage page)(Code)



createResource
protected Id createResource(String resourceLocation, String name, String description, String type)(Code)



deleteArtifactReference
public void deleteArtifactReference(Id artifactId)(Code)



deleteComments
protected void deleteComments(Id presentationId) throws HibernateException(Code)



deleteLogs
protected void deleteLogs(Id presentationId) throws HibernateException(Code)



deletePresentation
public void deletePresentation(Id id)(Code)



deletePresentation
public void deletePresentation(Id id, boolean checkAuthz)(Code)



deletePresentationComment
public void deletePresentationComment(PresentationComment comment)(Code)



deletePresentationItem
public void deletePresentationItem(Id id)(Code)



deletePresentationItemDefinition
public void deletePresentationItemDefinition(Id id)(Code)



deletePresentationLayout
public void deletePresentationLayout(Id id)(Code)



deletePresentationPages
protected void deletePresentationPages(Id presentationId) throws HibernateException(Code)



deletePresentationTemplate
public boolean deletePresentationTemplate(Id id)(Code)



deleteResource
protected void deleteResource(Id qualifierId, Id resourceId)(Code)



deleteTemplateFileRef
public void deleteTemplateFileRef(Id refId)(Code)



deleteUnusedItemDefinition
public void deleteUnusedItemDefinition(PresentationTemplate template)(Code)



deleteUnusedItemDefinition
public void deleteUnusedItemDefinition(Id itemDefId)(Code)



deleteViewers
protected void deleteViewers(Id presId)(Code)



findAllGlobalLayouts
public Collection findAllGlobalLayouts()(Code)



findGlobalTemplates
public Collection findGlobalTemplates()(Code)



findLayoutsByOwner
public Collection findLayoutsByOwner(Agent owner, String siteId)(Code)



findLogsByPresID
public Collection findLogsByPresID(Id presID)(Code)



findMyGlobalLayouts
public Collection findMyGlobalLayouts()(Code)



findPresentationsByOwner
public Collection findPresentationsByOwner(Agent owner)(Code)



findPresentationsByOwner
public Collection findPresentationsByOwner(Agent owner, String toolId)(Code)



findPresentationsByTool
public Collection findPresentationsByTool(Id id)(Code)



findPresentationsByViewer
public Collection findPresentationsByViewer(Agent viewer)(Code)



findPresentationsByViewer
public Collection findPresentationsByViewer(Agent viewer, String toolId)(Code)



findPresentationsByViewer
public Collection findPresentationsByViewer(Agent viewer, String toolId, boolean showHidden)(Code)



findPublishedLayouts
public Collection findPublishedLayouts(String siteId)(Code)



findPublishedTemplates
public Collection findPublishedTemplates()(Code)



findPublishedTemplates
public Collection findPublishedTemplates(String siteId)(Code)



findPublishedTemplatesBySite
protected Collection findPublishedTemplatesBySite(String siteId)(Code)



findTemplatesByOwner
public Collection findTemplatesByOwner(Agent owner, String siteId)(Code)



findTemplatesByOwner
public Collection findTemplatesByOwner(Agent owner)(Code)



findUniqueFileName
protected String findUniqueFileName(String id, String name) throws TypeException, PermissionException(Code)



findUsableFormDef
protected StructuredArtifactDefinitionBean findUsableFormDef(List formDefs, int caseSwitch, String siteId)(Code)

Parameters:
  formDefs - A List of StructuredArtifactDefinitionBean objects to search through
Parameters:
  caseSwitch - 0 for global published, 1 for site published, 2 for any in site
Parameters:
  siteId - The id of site to search in The StructuredArtifactDefinitionBean object that was found, null of none found



fixupRegions
protected void fixupRegions(PresentationPage page)(Code)



getAgentManager
public AgentManager getAgentManager()(Code)



getAllPresentationLayouts
public Collection getAllPresentationLayouts()(Code)



getAllPresentationTemplates
public Collection getAllPresentationTemplates()(Code)



getAllPresentationsForWarehouse
public Collection getAllPresentationsForWarehouse()(Code)



getArtifactFinderManager
public ArtifactFinderManager getArtifactFinderManager()(Code)



getAuthnManager
public AuthenticationManager getAuthnManager()(Code)



getAuthzManager
public AuthorizationFacade getAuthzManager()(Code)



getContentHosting
public ContentHostingService getContentHosting()(Code)



getCreatorComments
public List getCreatorComments(Agent creator, CommentSortBy sortBy)(Code)



getCreatorComments
public List getCreatorComments(Agent creator, String toolId, CommentSortBy sortBy)(Code)



getDefinedLayouts
public List getDefinedLayouts()(Code)



getFileHome
protected WritableObjectHome getFileHome()(Code)



getFileRefAsXml
protected Element getFileRefAsXml(Presentation presentation, TemplateFileRef fileRef)(Code)



getFirstPresentationPage
public PresentationPage getFirstPresentationPage(Id presentationId)(Code)



getFreeFormTemplateId
public Id getFreeFormTemplateId()(Code)



getGlobalSiteTypes
public List getGlobalSiteTypes()(Code)



getGlobalSites
public List getGlobalSites()(Code)



getHomeFactory
public HomeFactory getHomeFactory()(Code)



getIdManager
public IdManager getIdManager()(Code)



getImportFolderName
public String getImportFolderName()(Code)



getInitializedServices
public List getInitializedServices()(Code)



getLightweightPresentation
public Presentation getLightweightPresentation(Id id)(Code)



getLockManager
public LockManager getLockManager()(Code)



getNode
public Node getNode(Id artifactId)(Code)



getNode
public Node getNode(Reference ref, Presentation presentation)(Code)



getNode
public Node getNode(Id nodeId, Presentation presentation)(Code)



getNode
public Node getNode(Id artifactId, PresentationLayout layout)(Code)



getNode
protected Node getNode(Node node, Presentation presentation)(Code)



getNode
protected Node getNode(Node node, PresentationLayout layout)(Code)



getNode
public Node getNode(Reference ref)(Code)



getOwnerComments
public List getOwnerComments(Agent owner, CommentSortBy sortBy)(Code)



getOwnerComments
public List getOwnerComments(Agent owner, CommentSortBy sortBy, boolean excludeOwner)(Code)



getOwnerComments
public List getOwnerComments(Agent owner, String toolId, CommentSortBy sortBy)(Code)



getOwnerComments
public List getOwnerComments(Agent owner, String toolId, CommentSortBy sortBy, boolean excludeOwner)(Code)



getPortfoliosForConversion
protected List getPortfoliosForConversion()(Code)



getPresentation
public Presentation getPresentation(Id id, String secretExportKey)(Code)



getPresentation
public Presentation getPresentation(Id id)(Code)



getPresentationComment
public PresentationComment getPresentationComment(Id id)(Code)



getPresentationComments
public List getPresentationComments(Id presentationId, Agent viewer)(Code)



getPresentationItem
public PresentationItem getPresentationItem(Id id)(Code)



getPresentationItem
protected Artifact getPresentationItem(String type, Id itemId, Presentation presentation)(Code)



getPresentationItemDefinition
public PresentationItemDefinition getPresentationItemDefinition(Id id)(Code)



getPresentationItems
public Collection getPresentationItems(Id artifactId)(Code)



getPresentationLayout
public PresentationLayout getPresentationLayout(Id id)(Code)



getPresentationLayoutAsXml
public Document getPresentationLayoutAsXml(Presentation presentation, String pageId)(Code)



getPresentationLayoutAsXml
protected Document getPresentationLayoutAsXml(Id pageId)(Code)



getPresentationPage
public PresentationPage getPresentationPage(Id id)(Code)



getPresentationPage
public PresentationPage getPresentationPage(Id presentationId, int pageIndex)(Code)



getPresentationPageAsXml
protected Element getPresentationPageAsXml(PresentationPage page)(Code)



getPresentationPageLayoutAsXml
protected Document getPresentationPageLayoutAsXml(PresentationPage page)(Code)



getPresentationPagesByPresentation
public List getPresentationPagesByPresentation(Id presentationId)(Code)



getPresentationPagesByStyle
protected List getPresentationPagesByStyle(Id styleId)(Code)



getPresentationPreviewLayoutAsXml
public Document getPresentationPreviewLayoutAsXml(Presentation presentation, String pageId)(Code)
Create an xml document represenation of the requested page from the presentation passed in.
Parameters:
  presentation -
Parameters:
  pageId - xml representation of the requested page or null



getPresentationTemplate
public PresentationTemplate getPresentationTemplate(Id id)(Code)



getPresentationsBasedOnTemplateFileRef
public Collection getPresentationsBasedOnTemplateFileRef(Id artifactId)(Code)



getPresentationsByStyle
protected List getPresentationsByStyle(Id styleId)(Code)



getSecurityService
public SecurityService getSecurityService()(Code)



getStructuredArtifactDefinitionManager
public StructuredArtifactDefinitionManager getStructuredArtifactDefinitionManager()(Code)



getTempPresDownloadDir
public String getTempPresDownloadDir()(Code)



getTemplateFileDir
protected ContentCollectionEdit getTemplateFileDir(String origName) throws TypeException, IdUnusedException, PermissionException, IdUsedException, IdInvalidException, InconsistentException(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 -



getTemplateFileRef
public TemplateFileRef getTemplateFileRef(Id refId)(Code)



getTemplatesForConversion
protected List getTemplatesForConversion()(Code)



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



getWorksiteManager
public WorksiteManager getWorksiteManager()(Code)



handleChildren
protected void handleChildren(PresentationTemplate oldTemplate, ContentCollection templateParent, Hashtable fileMap)(Code)



importResources
public void importResources(String fromContext, String toContext, List resourceIds)(Code)



init
public void init()(Code)



initFreeFormTemplate
protected void initFreeFormTemplate()(Code)



initGlobalLayouts
protected void initGlobalLayouts()(Code)



isAutoDdl
public boolean isAutoDdl()(Code)



isGlobal
public boolean isGlobal()(Code)



isPortfolioPropertyFormConversion
public boolean isPortfolioPropertyFormConversion()(Code)



loadArtifactsForItemDef
public Collection loadArtifactsForItemDef(PresentationItemDefinition itemDef, Agent agent)(Code)



loadResource
protected ByteArrayOutputStream loadResource(String name)(Code)



lockLayoutFiles
protected void lockLayoutFiles(PresentationLayout layout)(Code)



lockStyleFiles
protected void lockStyleFiles(Style style)(Code)



lockTemplateFiles
protected void lockTemplateFiles(PresentationTemplate template)(Code)
locks all the files associated with this template.
Parameters:
  template -



outputTypedContent
protected Element outputTypedContent(String type, String value, Presentation presentation, String contentType)(Code)



packageForDownload
public String packageForDownload(Map params, OutputStream out) throws IOException(Code)



packagePresentationForExport
protected String packagePresentationForExport(Id presentationId, OutputStream out) throws IOException(Code)



packageTemplateForExport
public String packageTemplateForExport(Id templateId, OutputStream os) throws IOException(Code)



packageTemplateForExportInternal
protected String packageTemplateForExportInternal(Id templateId, OutputStream os) throws IOException(Code)



processDefinedLayout
protected PresentationLayout processDefinedLayout(PresentationLayoutWrapper wrapper)(Code)



processFile
protected void processFile(Node node, Hashtable fileMap) throws IOException(Code)



processTemplate
protected PresentationTemplate processTemplate(ZipInputStream zis) throws IOException, ClassNotFoundException(Code)



processTemplateFile
protected void processTemplateFile(ZipEntry currentEntry, ZipInputStream zis, Hashtable fileMap, ContentCollection fileParent) throws IOException(Code)



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



reassignOwner
public void reassignOwner(PresentationTemplate templateId)(Code)



resourceExists
protected boolean resourceExists(String returned) throws TypeException, PermissionException(Code)



setAgentManager
public void setAgentManager(AgentManager agentManager)(Code)



setArtifactFinderManager
public void setArtifactFinderManager(ArtifactFinderManager artifactFinderManager)(Code)



setAuthnManager
public void setAuthnManager(AuthenticationManager authnManager)(Code)



setAuthzManager
public void setAuthzManager(AuthorizationFacade authzManager)(Code)



setAutoDdl
public void setAutoDdl(boolean autoDdl)(Code)



setContentHosting
public void setContentHosting(ContentHostingService contentHosting)(Code)



setDefinedLayouts
public void setDefinedLayouts(List definedLayouts)(Code)



setFileHome
public void setFileHome(WritableObjectHome fileHome)(Code)



setGlobalSiteTypes
public void setGlobalSiteTypes(List globalSiteTypes)(Code)



setGlobalSites
public void setGlobalSites(List globalSites)(Code)



setHomeFactory
public void setHomeFactory(HomeFactory homeFactory)(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)



setImportFolderName
public void setImportFolderName(String importFolderName)(Code)



setInitializedServices
public void setInitializedServices(List initializedServices)(Code)



setLockManager
public void setLockManager(LockManager lockManager)(Code)



setPortfolioPropertyFormConversion
public void setPortfolioPropertyFormConversion(boolean portfolioPropertyFormConversion)(Code)



setSecurityService
public void setSecurityService(SecurityService securityService)(Code)



setStructuredArtifactDefinitionManager
public void setStructuredArtifactDefinitionManager(StructuredArtifactDefinitionManager structuredArtifactDefinitionManager)(Code)



setTempPresDownloadDir
public void setTempPresDownloadDir(String tempPresDownloadDir)(Code)



setWorksiteManager
public void setWorksiteManager(WorksiteManager worksiteManager)(Code)



setupPresItemDefinition
protected void setupPresItemDefinition(Presentation presentation)(Code)



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



storeFormInZip
protected void storeFormInZip(ZipOutputStream zos, ReadableObjectHome home) throws IOException(Code)



storeLayout
public PresentationLayout storeLayout(PresentationLayout layout)(Code)



storeLayout
public PresentationLayout storeLayout(PresentationLayout layout, boolean checkAuthz)(Code)



storePresentation
public Presentation storePresentation(Presentation presentation, boolean checkAuthz, boolean updateDates)(Code)
saves or updates a presentation and any associated presentention_items. This method does not persist the viewer list, for that use addViewer(), or deleteViewer()
Parameters:
  presentation -



storePresentation
public Presentation storePresentation(Presentation presentation)(Code)



storePresentationLog
public void storePresentationLog(PresentationLog log)(Code)



storePresentationPages
protected void storePresentationPages(List pages, Id presentationId)(Code)



storeTemplate
public PresentationTemplate storeTemplate(PresentationTemplate template)(Code)



storeTemplate
protected PresentationTemplate storeTemplate(PresentationTemplate template, boolean checkAuthz)(Code)



storeTemplate
public PresentationTemplate storeTemplate(PresentationTemplate template, boolean checkAuthz, boolean updateDates)(Code)



storeTemplateFile
protected void storeTemplateFile(ZipOutputStream zos, Id fileId, List existingEntries) throws IOException(Code)



substituteFileId
protected boolean substituteFileId(StringBuffer sb, Id oldId, Id newId)(Code)



substituteIds
protected void substituteIds(Hashtable fileMap)(Code)



switchUser
protected void switchUser(Agent owner)(Code)



updateItemDefintion
public void updateItemDefintion(PresentationItemDefinition itemDef)(Code)



updateLayout
protected void updateLayout(PresentationLayoutWrapper wrapper, PresentationLayout layout)(Code)



updatePresentationComment
public void updatePresentationComment(PresentationComment comment)(Code)



updateResource
protected Id updateResource(Id qualifierId, Id resourceId, String resourceLocation)(Code)



updateTemplateFileRef
public void updateTemplateFileRef(TemplateFileRef ref)(Code)



uploadTemplate
public PresentationTemplate uploadTemplate(String templateFileName, String toContext, InputStream zipFileStream) throws IOException(Code)



uploadTemplate
protected PresentationTemplate uploadTemplate(String templateFileName, String toContext, InputStream zipFileStream, boolean checkAuthz) throws IOException(Code)



viewingPresentation
public void viewingPresentation(Presentation presentation)(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.