org.apache.lenya.cms.publication.templating
Interface Instantiator


public interface Instantiator

Object to create an instance of a templating-enabled publication.

Version:
$Id: Instantiator.java 473861 2006-11-12 03:51:14Z gregor $

Field Summary
static java.lang.String ROLE
          The Avalon role.
 
Method Summary
 void instantiate(Publication templatePublication, java.lang.String newPublicationId, java.lang.String newPublicationName)
          Instantiate a publication.
 

Field Detail

ROLE

static final java.lang.String ROLE
The Avalon role.

Method Detail

instantiate

void instantiate(Publication templatePublication,
                 java.lang.String newPublicationId,
                 java.lang.String newPublicationName)
                 throws java.lang.Exception
Instantiate a publication.

Parameters:
templatePublication - The template publication.
newPublicationId - The ID of the new publication instance.
newPublicationName - The name of the new publication.
Throws:
java.lang.Exception - if an error occurs.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.