KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > model > core > ActionPage


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.model.core;
17
18
19 /**
20  * <p>Action Page (AP) is a page based on a Struts Action. That Action supplies
21  * all page data that will be output to the user. Action page URI is an URI of
22  * Struts Action that will process the request.</p>
23  * <p>Action Page may be associated with a {@link Layout}, but this
24  * assosiation is calculated in runtime. Action Page inherits {@link ContentField}s
25  * and menu structure (through {@link MenuItem}s) from its Layout.</p>
26  * <p>As other {@link Localizable}s, Action Page contains {@link ContentField}s.
27  * Their positions on the page can be specified, for example, with &lt;content&gt;
28  * tag.</p>
29  * <p>Action Pages are more <em>dynamic</em>, and {@link ContentPage}s are more
30  * <em>static</em>, because Content Pages are based on fixed Layout.</p>
31  * <p><b>active</b> property means for Active Page that it's linkable, so you
32  * can create a link to it from menu, for example.</p>
33  * <p>Every Action Page has a list of {@link Role}s that are allowed to access it.
34  * If that list is empty, everyone is allowed to access such Action Page, otherwise
35  * only users that have at least one role from that list can access the Action Page.</p>
36  * <p><a HREF="ActionPage.java.htm"><i>View Source</i></a>
37  * </p>
38  *
39  * @author Andrey Grebnev <a HREF="mailto:andrey.grebnev@blandware.com">&lt;andrey.grebnev@blandware.com&gt;</a>
40  * @struts.form include-all="false" extends="BaseForm"
41  * @hibernate.joined-subclass table="`al_core_action_page`" lazy="false"
42  * @hibernate.joined-subclass-key column="`page_id`"
43  */

44 public class ActionPage extends Page {
45     //~ Instance fields ========================================================
46

47     //~ Methods ================================================================
48

49 }
50
Popular Tags