org.infoglue.cms.services
Class CoreContentService

java.lang.Object
  extended by org.infoglue.cms.services.CoreContentService
All Implemented Interfaces:
BaseService

public class CoreContentService
extends java.lang.Object
implements BaseService

This is the service which fetches contents from this content-system. That is - it fetches it from the internal content-repository.


Constructor Summary
CoreContentService()
           
 
Method Summary
 java.util.List selectMatchingEntities(java.util.HashMap argumentHashMap)
          As this is a local service for now we just use the ContentController to get us the contents matching the criterias.
 java.util.List selectMatchingEntities(java.util.HashMap argumentHashMap, org.exolab.castor.jdo.Database db)
          As this is a local service for now we just use the ContentController to get us the contents matching the criterias.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreContentService

public CoreContentService()
Method Detail

selectMatchingEntities

public java.util.List selectMatchingEntities(java.util.HashMap argumentHashMap)
                                      throws java.lang.Exception
As this is a local service for now we just use the ContentController to get us the contents matching the criterias. It could be interessting in the future to have distributed sources as well and then this class would act as the adaptor and use SOAP or another tech to query the source. We must allways convert the result to a list of ContentVO after all.

Specified by:
selectMatchingEntities in interface BaseService
Throws:
java.lang.Exception

selectMatchingEntities

public java.util.List selectMatchingEntities(java.util.HashMap argumentHashMap,
                                             org.exolab.castor.jdo.Database db)
                                      throws java.lang.Exception
As this is a local service for now we just use the ContentController to get us the contents matching the criterias. It could be interessting in the future to have distributed sources as well and then this class would act as the adaptor and use SOAP or another tech to query the source. We must allways convert the result to a list of ContentVO after all.

Specified by:
selectMatchingEntities in interface BaseService
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.