The Publication Manager manages lifecycles and contexts in the Content platform. It allows managing different lifecycles based on different publication plugin in the platform.
public interface PublicationManager {
public List<Lifecycle> getLifecycles();
public List<Context> getContexts();
public Context getContext(String name);
public Lifecycle getLifecycle(String name);
public List<Lifecycle> getLifecyclesFromUser(String remoteUser, String state);
}
In which:
getLifecycles
: returns a list of lifecycles (see below), with lifecycle name,
publication plugin involved and possible states.
getContexts
: returns a list of context, with name, related Lifecycle and
other properties (see below).
getContext
: returns a context by its name.
getLifecycle
: returns a lifecycle by its name.
getLifecycleFromUser
: returns a list of lifecycles in which the user has
rights (based on membership property).