Re: Page Informations

Serge Huber <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

Which version of Jahia are you using ?

The JahiaPageInfo data structure retrieved by the 
ContentPage.getPageInfos is internal only, and represents a database 
row. I would recommend that you try to access page data through the 
JahiaPage object. There are various ways to retrieve is, such as

ServicesRegistry.getInstance().getJahiaPageService.lookupPage()

Regards,
  Serge Huber.

Nicolas Lafaury wrote:

> Hello all
>
>  
>
> I need to retrieve Page informations => last publishing date, last 
> contributor, creator, .. 
>
>  
>
>I want to use API Jahia *ContentPage.*|*getPageInfos <http://www.jahia.org/javadoc-dev/org/jahia/services/pages/ContentPage.html#getPageInfos%28boolean%29>*(boolean withVersioned)|
>
>| |
>
>|But this methode is protected.|
>
>| |
>
>|Is anyone known another way to do that?|
>
>| |
>
>|Thanks|
>
>| |
>
>|Nicolas|
>
>  
>
> Nicolas LAFAURY
>
> Ingénieur étude et dévelopement.
>
> Smile- Motoriste Internet
>
> 01-41-40-11-05
>
> [email protected] <mailto:[email protected]>
>
>  
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.