KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > content > PageReferenceableInterface


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
//
13
//
14

15 package org.jahia.content;
16
17 import org.jahia.exceptions.JahiaException;
18 import org.jahia.services.pages.ContentPage;
19
20 /**
21  * This interface defines the relashionship between ContentObject and ContentPage.
22  *
23  */

24 public interface PageReferenceableInterface
25 {
26
27     //-------------------------------------------------------------------------
28
/**
29      * Returns the pageID
30      *
31      * @return Return the pageID.
32      */

33     public abstract int getPageID ();
34
35     //-------------------------------------------------------------------------
36
/**
37      * Returns the ContentPage ancestor.
38      *
39      * @return Return the ContentPage ancestor.
40      */

41     public abstract ContentPage getPage () throws JahiaException;
42
43 }
44
45
Popular Tags