org.gatein.mop.core.api
Class ModelImpl

java.lang.Object
  extended by org.gatein.mop.core.api.ModelImpl
All Implemented Interfaces:
Model

public class ModelImpl
extends Object
implements Model

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
ModelImpl(org.chromattic.api.ChromatticSession session, ContentManagerRegistry contentManagers, CustomizationContextProviderRegistry customizationContextResolvers)
           
 
Method Summary
 void close()
           
<O extends WorkspaceObject>
Iterator<O>
findObject(ObjectType<O> type, String statement)
           
 ContentManager getContentManager()
           
<O extends WorkspaceObject>
O
getObject(ObjectType<? extends O> type, String path)
           
 String getPath(WorkspaceObject o)
           
 Workspace getWorkspace()
           
 void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelImpl

public ModelImpl(org.chromattic.api.ChromatticSession session,
                 ContentManagerRegistry contentManagers,
                 CustomizationContextProviderRegistry customizationContextResolvers)
Method Detail

getWorkspace

public Workspace getWorkspace()
Specified by:
getWorkspace in interface Model

getContentManager

public ContentManager getContentManager()

save

public void save()

close

public void close()

findObject

public <O extends WorkspaceObject> Iterator<O> findObject(ObjectType<O> type,
                                                          String statement)

getPath

public String getPath(WorkspaceObject o)

getObject

public <O extends WorkspaceObject> O getObject(ObjectType<? extends O> type,
                                               String path)


Copyright © 2009 eXo Platform SAS. All Rights Reserved.