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(GProject project)
Get the CMS engine of a project.
|
static ICmsServices |
get(ICoreSession session)
Get the CMS engine of a core session.
|
public static ICmsServices get(GProject 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.