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


org.theospi.portfolio.guidance.impl.GuidanceManagerImpl

GuidanceManagerImpl
public class GuidanceManagerImpl extends HibernateDaoSupport implements GuidanceManager(Code)
Created by IntelliJ IDEA. User: John Ellis Date: Nov 11, 2005 Time: 1:00:57 PM To change this template use File | Settings | File Templates.


Field Summary
final protected  Loglogger
    


Method Summary
protected  voidaddAttachment(Element attachments, GuidanceItemAttachment attachment)
    
protected  voidaddItem(Element items, GuidanceItem item)
    
protected  voidaddNode(Element parentNode, String name, String value)
    
public  booleanassureAccess(Guidance guidance)
     Pushes the files in the guidance into the security bypass advisor thus allowing the files to be read.
protected  booleancheckAttachment(GuidanceItemAttachment attachment)
     This checks for the existance of a resource in a non-permission checking way.
protected  DocumentcreateGuidanceAsXml(Guidance guidance)
    
public  GuidancecreateNew(String description, String siteId, Id securityQualifier, String securityViewFunction, String securityEditFunction)
    
public  ReferencedecorateReference(Guidance guidance, String reference)
    
public  voiddeleteGuidance(Guidance guidance)
    
protected  intgetAttachmentRefHash(GuidanceItemAttachment attachment)
    
public  AuthorizationFacadegetAuthorizationFacade()
    
public  ContentHostingServicegetContentHostingService()
    
public  EntityManagergetEntityManager()
    
public  GuidancegetGuidance(Id guidanceId)
    
protected  GuidancegetGuidance(Id guidanceId, boolean checkAuthz)
    
public  GuidancegetGuidance(String id)
    
public  GuidancegetGuidance(String id, boolean checkAuthz)
    
public  ListgetGuidanceForWarehousing()
    
public  IdManagergetIdManager()
    
public  SecurityServicegetSecurityService()
    
protected  AttachmentImportWrapperimportAttachment(GuidanceItem item, Element element)
    
protected  voidimportAttachmentRef(ContentCollection fileParent, ZipEntry currentEntry, String siteId, ZipInputStream zis, Map attachmentMap)
    
protected  voidimportGuidance(String siteId, InputStream is, Map guidanceMap)
    
public  MapimportGuidanceList(ContentCollection parent, String siteId, InputStream in)
     This function is up to spec but incomplete.
protected  GuidanceItemimportItem(Guidance guidance, Element element)
    
public  ListlistGuidances(String siteId)
    
public  voidpackageGuidanceForExport(List guidanceIds, OutputStream os)
    
protected  voidpostPocessAttachments(Collection guidances, Map attachmentMap)
    
protected  voidpostProcessGuidance(Guidance guidance, Map attachmentMap)
    
protected  voidpostProcessGuidanceItem(GuidanceItem item, Map attachmentMap)
    
protected  voidprocessAttachment(ZipOutputStream zos, GuidanceItemAttachment attachment)
    
protected  voidprocessGuidance(String guidanceId, ZipOutputStream zos, List exportedRefs)
    
protected  voidprocessItem(ZipOutputStream zos, GuidanceItem item, List exportedRefs)
    
protected  byte[]readStreamToBytes(InputStream inStream)
    
public  GuidancesaveGuidance(Guidance guidance)
    
public  voidsetAuthorizationFacade(AuthorizationFacade authorizationFacade)
    
public  voidsetContentHostingService(ContentHostingService contentHostingService)
    
public  voidsetEntityManager(EntityManager entityManager)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetSecurityService(SecurityService securityService)
    
protected  voidstoreFileInZip(ZipOutputStream zos, InputStream in, String entryName)
    
protected  StringsubstitueText(String oldUrl, GuidanceItemAttachment newAttachment, String text)
    

Field Detail
logger
final protected Log logger(Code)





Method Detail
addAttachment
protected void addAttachment(Element attachments, GuidanceItemAttachment attachment)(Code)



addItem
protected void addItem(Element items, GuidanceItem item)(Code)



addNode
protected void addNode(Element parentNode, String name, String value)(Code)



assureAccess
public boolean assureAccess(Guidance guidance)(Code)
Pushes the files in the guidance into the security bypass advisor thus allowing the files to be read. boolean whether or not the guidance has been changed



checkAttachment
protected boolean checkAttachment(GuidanceItemAttachment attachment)(Code)
This checks for the existance of a resource in a non-permission checking way. If there isn't a uuid for a resource or there isn't a resolved id then it doesn't exist
Parameters:
  attachment - boolean true if a resource exists, false if it does not



createGuidanceAsXml
protected Document createGuidanceAsXml(Guidance guidance)(Code)



createNew
public Guidance createNew(String description, String siteId, Id securityQualifier, String securityViewFunction, String securityEditFunction)(Code)



decorateReference
public Reference decorateReference(Guidance guidance, String reference)(Code)



deleteGuidance
public void deleteGuidance(Guidance guidance)(Code)



getAttachmentRefHash
protected int getAttachmentRefHash(GuidanceItemAttachment attachment)(Code)



getAuthorizationFacade
public AuthorizationFacade getAuthorizationFacade()(Code)



getContentHostingService
public ContentHostingService getContentHostingService()(Code)



getEntityManager
public EntityManager getEntityManager()(Code)



getGuidance
public Guidance getGuidance(Id guidanceId)(Code)



getGuidance
protected Guidance getGuidance(Id guidanceId, boolean checkAuthz)(Code)



getGuidance
public Guidance getGuidance(String id)(Code)



getGuidance
public Guidance getGuidance(String id, boolean checkAuthz)(Code)



getGuidanceForWarehousing
public List getGuidanceForWarehousing()(Code)
Pulls all Guidance List of Guidance



getIdManager
public IdManager getIdManager()(Code)



getSecurityService
public SecurityService getSecurityService()(Code)



importAttachment
protected AttachmentImportWrapper importAttachment(GuidanceItem item, Element element)(Code)



importAttachmentRef
protected void importAttachmentRef(ContentCollection fileParent, ZipEntry currentEntry, String siteId, ZipInputStream zis, Map attachmentMap)(Code)



importGuidance
protected void importGuidance(String siteId, InputStream is, Map guidanceMap) throws IOException(Code)



importGuidanceList
public Map importGuidanceList(ContentCollection parent, String siteId, InputStream in) throws IOException(Code)
This function is up to spec but incomplete. The guidance security qualifier needs to be set on these objects so they can be retrieved.
Parameters:
  parent - the parent resource folder where attachments go
Parameters:
  siteId - the site which will recieve the imported "stuff"
Parameters:
  in - The Input stream representing the output stream of the export Map contains a map with keys being of type String as old Ids and the values as being the Guidance object



importItem
protected GuidanceItem importItem(Guidance guidance, Element element)(Code)



listGuidances
public List listGuidances(String siteId)(Code)



packageGuidanceForExport
public void packageGuidanceForExport(List guidanceIds, OutputStream os) throws IOException(Code)



postPocessAttachments
protected void postPocessAttachments(Collection guidances, Map attachmentMap)(Code)



postProcessGuidance
protected void postProcessGuidance(Guidance guidance, Map attachmentMap)(Code)



postProcessGuidanceItem
protected void postProcessGuidanceItem(GuidanceItem item, Map attachmentMap)(Code)



processAttachment
protected void processAttachment(ZipOutputStream zos, GuidanceItemAttachment attachment) throws ServerOverloadException, IOException(Code)



processGuidance
protected void processGuidance(String guidanceId, ZipOutputStream zos, List exportedRefs) throws IOException(Code)



processItem
protected void processItem(ZipOutputStream zos, GuidanceItem item, List exportedRefs) throws IOException, ServerOverloadException(Code)



readStreamToBytes
protected byte[] readStreamToBytes(InputStream inStream) throws IOException(Code)



saveGuidance
public Guidance saveGuidance(Guidance guidance)(Code)



setAuthorizationFacade
public void setAuthorizationFacade(AuthorizationFacade authorizationFacade)(Code)



setContentHostingService
public void setContentHostingService(ContentHostingService contentHostingService)(Code)



setEntityManager
public void setEntityManager(EntityManager entityManager)(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)



setSecurityService
public void setSecurityService(SecurityService securityService)(Code)



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



substitueText
protected String substitueText(String oldUrl, GuidanceItemAttachment newAttachment, String text)(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.