org.infoglue.cms.webservices
Class RemoteInfoGlueService

java.lang.Object
  extended by org.infoglue.cms.webservices.RemoteInfoGlueService
Direct Known Subclasses:
RemoteContentServiceImpl, RemoteUserPropertiesServiceImpl, RemoteWorkflowServiceImpl

public class RemoteInfoGlueService
extends java.lang.Object

This class is responsible for letting an external application call InfoGlue API:s remotely. It handles api:s to manage contents and associated entities.

Author:
Mattias Bogeblad

Constructor Summary
RemoteInfoGlueService()
           
 
Method Summary
protected static org.exolab.castor.jdo.Database beginTransaction()
          Creates a new database and starts a transaction
protected static void beginTransaction(org.exolab.castor.jdo.Database db)
          Begins a transaction on the named database
 java.lang.String cleanAttributeValue(java.lang.String attributeValue, boolean allowHTML, boolean allowExternalLinks)
           
protected static void closeDatabase(org.exolab.castor.jdo.Database db)
          Rollbacks a transaction on the named database
protected static void commitTransaction(org.exolab.castor.jdo.Database db)
          Ends a transaction on the named database
protected  javax.servlet.http.HttpServletRequest getRequest()
           
protected static void rollbackTransaction(org.exolab.castor.jdo.Database db)
          Rollbacks a transaction on the named database
 void updateCaches()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteInfoGlueService

public RemoteInfoGlueService()
Method Detail

updateCaches

public void updateCaches()

getRequest

protected javax.servlet.http.HttpServletRequest getRequest()

cleanAttributeValue

public java.lang.String cleanAttributeValue(java.lang.String attributeValue,
                                            boolean allowHTML,
                                            boolean allowExternalLinks)

beginTransaction

protected static org.exolab.castor.jdo.Database beginTransaction()
                                                          throws SystemException
Creates a new database and starts a transaction

Returns:
A reference to a castor database with a new transaction
Throws:
SystemException - if a database error occurs.

beginTransaction

protected static void beginTransaction(org.exolab.castor.jdo.Database db)
                                throws SystemException
Begins a transaction on the named database

Throws:
SystemException

commitTransaction

protected static void commitTransaction(org.exolab.castor.jdo.Database db)
                                 throws SystemException
Ends a transaction on the named database

Throws:
SystemException

rollbackTransaction

protected static void rollbackTransaction(org.exolab.castor.jdo.Database db)
                                   throws SystemException
Rollbacks a transaction on the named database

Throws:
SystemException

closeDatabase

protected static void closeDatabase(org.exolab.castor.jdo.Database db)
                             throws SystemException
Rollbacks a transaction on the named database

Throws:
SystemException


Copyright © 2005 InfoGlue.org All Rights Reserved.