com.hlcl.rql.hip.as
Class ContentAreaCollectorPageAction

java.lang.Object
  extended by com.hlcl.rql.util.as.PageAction
      extended by com.hlcl.rql.hip.as.ContentAreaCollectorPageAction

public class ContentAreaCollectorPageAction
extends PageAction

Author:
lejafr Diese Klasse sammelt in einer Datenbank für eine gegebene SeitenID die zugehörigen content areas (Treenamen). z.B. sales, company, local

Constructor Summary
ContentAreaCollectorPageAction(java.sql.Connection connection, java.lang.String tableName, java.lang.String[] skipTemplateNameSuffixes)
          ContentAreaCollectorPageAction constructor Attention: before first usage of invoke(Page) you have to call setContentAreaName(String)
ContentAreaCollectorPageAction(java.sql.Connection connection, java.lang.String tableName, java.lang.String[] skipTemplateNameSuffixes, java.lang.String initialContentAreaName)
          ContentAreaCollectorPageAction constructor
 
Method Summary
 java.lang.String getContentAreaName()
          Liefert den Namen der aktuellen zu klassifierenden content area.
 java.lang.String getCurrentPageContentAreas()
          Returns the contentAreas for the current row.
 java.lang.String getCurrentPageGuid()
          Returns the page GUID for the current row.
 java.lang.String getCurrentPageHeadline()
          Returns the page headline for the current row.
 java.lang.String getCurrentPageId()
          Returns the page ID for the current row.
 void invoke(Page page)
          Klassifiziert die gegebene Seite zu der aktuellen content area.
 boolean nextPage()
          Forwards to next row of result set to get all information out of the set.
 void setContentAreaName(java.lang.String contentAreaName)
          Ändert die content area für folgende invoke(Page) Aufrufe.
 int size()
          Returns the number of classified pages (count(*) of database table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentAreaCollectorPageAction

public ContentAreaCollectorPageAction(java.sql.Connection connection,
                                      java.lang.String tableName,
                                      java.lang.String[] skipTemplateNameSuffixes,
                                      java.lang.String initialContentAreaName)
                               throws RQLException
ContentAreaCollectorPageAction constructor

Throws:
RQLException

ContentAreaCollectorPageAction

public ContentAreaCollectorPageAction(java.sql.Connection connection,
                                      java.lang.String tableName,
                                      java.lang.String[] skipTemplateNameSuffixes)
                               throws RQLException
ContentAreaCollectorPageAction constructor Attention: before first usage of invoke(Page) you have to call setContentAreaName(String)

Throws:
RQLException
Method Detail

getContentAreaName

public java.lang.String getContentAreaName()
Liefert den Namen der aktuellen zu klassifierenden content area.


getCurrentPageContentAreas

public java.lang.String getCurrentPageContentAreas()
                                            throws RQLException
Returns the contentAreas for the current row.

Throws:
RQLException

getCurrentPageGuid

public java.lang.String getCurrentPageGuid()
                                    throws RQLException
Returns the page GUID for the current row.

Throws:
RQLException

getCurrentPageHeadline

public java.lang.String getCurrentPageHeadline()
                                        throws RQLException
Returns the page headline for the current row.

Throws:
RQLException

getCurrentPageId

public java.lang.String getCurrentPageId()
                                  throws RQLException
Returns the page ID for the current row.

Throws:
RQLException

invoke

public void invoke(Page page)
            throws RQLException
Klassifiziert die gegebene Seite zu der aktuellen content area.

Specified by:
invoke in class PageAction
Throws:
RQLException
See Also:
com.hlcl.rql.as.PageAction#invoke(com.hlcl.rql.as.Page)

nextPage

public boolean nextPage()
                 throws RQLException
Forwards to next row of result set to get all information out of the set. Returns true, if next row is available.

Did not sort the pages in any kind.

Throws:
RQLException

setContentAreaName

public void setContentAreaName(java.lang.String contentAreaName)
Ändert die content area für folgende invoke(Page) Aufrufe.


size

public int size()
         throws RQLException
Returns the number of classified pages (count(*) of database table.

Throws:
RQLException