Java Doc for SourceNode.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » lenya » cms » repository » 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 » Content Management System » apache lenya 2.0 » org.apache.lenya.cms.repository 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.lenya.cms.repository.SourceNode

All known Subclasses:   org.apache.lenya.cms.jcr.JCRSourceNode,
SourceNode
public class SourceNode extends AbstractLogEnabled implements Node,Transactionable(Code)
A repository node.
version:
   $Id: SourceNode.java 575297 2007-09-13 12:50:13Z andreas $


Field Summary
protected  ServiceManagermanager
    

Constructor Summary
public  SourceNode(Session session, String sourceUri, ServiceManager manager, Logger logger)
     Ctor.

Method Summary
public  voidcheckin()
    
public  voidcheckout(boolean restrictedToSession)
    
public  voidcheckout()
    
public  voidcopyRevisionsFrom(Node source)
    
public  voidcreateTransactionable()
    
public  voiddelete()
    
public  voiddeleteTransactionable()
    
protected  voidenqueueEvent(Object descriptor)
    
public  booleanexists()
    
public  voidforceCheckIn()
    
public  StringgetCheckoutUserId()
    
public  CollectiongetChildren()
    
public  longgetContentLength()
    
protected  ContentSourceWrappergetContentSource()
    
protected  intgetCurrentRevisionNumber()
    
protected  NodegetDocumentNode()
    
public  HistorygetHistory()
    
public  InputStreamgetInputStream()
    
public  longgetLastModified()
    
public  LockgetLock()
    
public  MetaDatagetMetaData(String namespaceUri)
    
public  String[]getMetaDataNamespaceUris()
    
protected  MetaSourceWrappergetMetaSource()
    
public  StringgetMimeType()
    
public  OutputStreamgetOutputStream()
    
public  PersistablegetPersistable()
    
protected synchronized  RCMLgetRcml()
    
public  SessiongetSession()
    
public  StringgetSourceURI()
    
protected  StringgetUserId()
    
public  booleanhasChanged()
    
public  booleanisCheckedOut()
    
public  booleanisCheckedOutBySession(Session session)
    
public  booleanisCheckedOutBySession()
    
public  booleanisCollection()
    
public  booleanisLocked()
    
public synchronized  voidlock()
    
public  voidregisterDirty()
    
public  voidregisterRemoved()
    
public  voidrollback(int revisionNumber)
    
public synchronized  voidsaveTransactionable()
    
public  voidsetPersistable(Persistable item)
    
public  StringtoString()
    
public  voidunlock()
    

Field Detail
manager
protected ServiceManager manager(Code)




Constructor Detail
SourceNode
public SourceNode(Session session, String sourceUri, ServiceManager manager, Logger logger)(Code)
Ctor.
Parameters:
  session -
Parameters:
  sourceUri -
Parameters:
  manager -
Parameters:
  logger -




Method Detail
checkin
public void checkin() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.checkin



checkout
public void checkout(boolean restrictedToSession) throws RepositoryException(Code)



checkout
public void checkout() throws RepositoryException(Code)



copyRevisionsFrom
public void copyRevisionsFrom(Node source) throws RepositoryException(Code)



createTransactionable
public void createTransactionable() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.createTransactionable



delete
public void delete() throws RepositoryException(Code)



deleteTransactionable
public void deleteTransactionable() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.deleteTransactionable



enqueueEvent
protected void enqueueEvent(Object descriptor)(Code)



exists
public boolean exists() throws RepositoryException(Code)



forceCheckIn
public void forceCheckIn() throws RepositoryException(Code)



getCheckoutUserId
public String getCheckoutUserId() throws RepositoryException(Code)



getChildren
public Collection getChildren() throws RepositoryException(Code)



getContentLength
public long getContentLength() throws RepositoryException(Code)



getContentSource
protected ContentSourceWrapper getContentSource()(Code)



getCurrentRevisionNumber
protected int getCurrentRevisionNumber() throws RepositoryException(Code)



getDocumentNode
protected Node getDocumentNode() throws ServiceException, RepositoryException(Code)
The document node, if this is a meta data node, or the node itself otherwise.
throws:
  ServiceException -
throws:
  RepositoryException -



getHistory
public History getHistory()(Code)



getInputStream
public InputStream getInputStream() throws RepositoryException(Code)



getLastModified
public long getLastModified() throws RepositoryException(Code)



getLock
public Lock getLock()(Code)

See Also:   org.apache.lenya.transaction.Transactionable.getLock



getMetaData
public MetaData getMetaData(String namespaceUri) throws MetaDataException(Code)



getMetaDataNamespaceUris
public String[] getMetaDataNamespaceUris() throws MetaDataException(Code)



getMetaSource
protected MetaSourceWrapper getMetaSource()(Code)



getMimeType
public String getMimeType() throws RepositoryException(Code)



getOutputStream
public OutputStream getOutputStream() throws RepositoryException(Code)



getPersistable
public Persistable getPersistable()(Code)



getRcml
protected synchronized RCML getRcml()(Code)



getSession
public Session getSession()(Code)

See Also:   org.apache.lenya.cms.repository.Node.getSession



getSourceURI
public String getSourceURI()(Code)

See Also:   org.apache.lenya.cms.repository.Node.getSourceURI



getUserId
protected String getUserId()(Code)



hasChanged
public boolean hasChanged() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.hasChanged



isCheckedOut
public boolean isCheckedOut() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.isCheckedOut



isCheckedOutBySession
public boolean isCheckedOutBySession(Session session) throws RepositoryException(Code)



isCheckedOutBySession
public boolean isCheckedOutBySession() throws TransactionException(Code)



isCollection
public boolean isCollection() throws RepositoryException(Code)



isLocked
public boolean isLocked() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.isLocked



lock
public synchronized void lock() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.lock



registerDirty
public void registerDirty() throws RepositoryException(Code)



registerRemoved
public void registerRemoved() throws RepositoryException(Code)



rollback
public void rollback(int revisionNumber) throws RepositoryException(Code)



saveTransactionable
public synchronized void saveTransactionable() throws TransactionException(Code)



setPersistable
public void setPersistable(Persistable item) throws RepositoryException(Code)



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



unlock
public void unlock() throws RepositoryException(Code)

See Also:   org.apache.lenya.transaction.Transactionable.unlock



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