//# 0 errors, 37 messages
//#
/*
    //#ThemeTemplate.java:1:1: class: org.apache.roller.weblogger.pojos.ThemeTemplate
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.pojos;


/**
 * A Theme specific implementation of a Template.
 * 
 * A ThemeTemplate represents a template which is part of a Theme.
 */
public interface ThemeTemplate extends Template {
    
    public static final String ACTION_WEBLOG = "weblog";
    public static final String ACTION_PERMALINK = "permalink";
    public static final String ACTION_SEARCH = "search";
    public static final String ACTION_TAGSINDEX = "tagsIndex";
    public static final String ACTION_CUSTOM = "custom";
    
    // the full list of supported special actions, which purposely does not
    // contain an entry for the 'custom' action
    public static final String[] ACTIONS = {
    //#ThemeTemplate.java:37: method: org.apache.roller.weblogger.pojos.ThemeTemplate.org.apache.roller.weblogger.pojos.ThemeTemplate__static_init
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/ThemeTemplate]
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getAction()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getContents()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getDecorator()Lorg/apache/roller/weblogger/pojos/ThemeTemplate;
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getDecoratorName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getLink()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.isHidden()Z
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.isNavbar()Z
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): new String[](ThemeTemplate__static_init#1) num objects
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS.length
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[0]
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[1]
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[2]
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[3]
    //#output(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): org/apache/roller/weblogger/pojos/Template.__Descendant_Table[org/apache/roller/weblogger/pojos/ThemeTemplate]
    //#new obj(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): new String[](ThemeTemplate__static_init#1)
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS == &new String[](ThemeTemplate__static_init#1)
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/ThemeTemplate] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): org/apache/roller/weblogger/pojos/Template.__Descendant_Table[org/apache/roller/weblogger/pojos/ThemeTemplate] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getAction()Ljava/lang/String; == &getAction
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getContents()Ljava/lang/String; == &getContents
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getDecorator()Lorg/apache/roller/weblogger/pojos/ThemeTemplate; == &getDecorator
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getDecoratorName()Ljava/lang/String; == &getDecoratorName
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.getLink()Ljava/lang/String; == &getLink
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.isHidden()Z == &isHidden
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): __Dispatch_Table.isNavbar()Z == &isNavbar
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): new String[](ThemeTemplate__static_init#1) num objects == 1
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS.length == 4
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[0] == &"weblog"
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[1] == &"permalink"
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[2] == &"search"
    //#post(org.apache.roller.weblogger.pojos.ThemeTemplate__static_init): ACTIONS[3] == &"tagsIndex"
    //#ThemeTemplate.java:37: end of method: org.apache.roller.weblogger.pojos.ThemeTemplate.org.apache.roller.weblogger.pojos.ThemeTemplate__static_init
        ACTION_WEBLOG, 
        ACTION_PERMALINK, 
        ACTION_SEARCH, 
        ACTION_TAGSINDEX
    };
    
    
    /**
     * The action this template is defined for.
     */
    public String getAction();
    
    
    /**
     * The contents or body of the Template.
     */
    public String getContents();
    
    
    /**
     * The url link value for this Template.  If this template is not
     * private this is the url that it can be accessed at.
     */
    public String getLink();
    
    
    /**
     * Is the Template hidden?  A hidden template cannot be accessed directly.
     */
    public boolean isHidden();
    
    
    /**
     * Is the Template to be included in the navbar?
     */
    public boolean isNavbar();
    
    
    /**
     * The name of the decorator template to apply.
     */
    public String getDecoratorName();
    
    
    /**
     * The decorator Template to apply.  This returns null if no decorator
     * should be applied.
     */
    public ThemeTemplate getDecorator();
    
}
    //#ThemeTemplate.java:: end of class: org.apache.roller.weblogger.pojos.ThemeTemplate
