public class Cms
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Cms.Registry
Internal registry.
|
Constructor and Description |
---|
Cms() |
Modifier and Type | Method and Description |
---|---|
static ICmsServices |
get(ICoreSession session)
Get the CMS engine of a core session.
|
static ICmsServices |
get(IGProject project)
Get the CMS engine of a project.
|
public static ICmsServices get(IGProject project) throws NoCmsEngineException
project
- the projectNoCmsEngineException
- if the project has no CMS engine.public static ICmsServices get(ICoreSession session)
session
- the core session.java.lang.IllegalArgumentException
- if the project has no CMS engine.