|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hlcl.rql.util.as.ProjectPage
com.hlcl.rql.hip.as.ContentPage
public class ContentPage
Constructor Summary | |
---|---|
ContentPage(Page page)
Construct a content page wrapping the given general page. |
Method Summary | |
---|---|
boolean |
containsPageUpdated()
Liefert true, falls diese content page ein page last updated element (im Footer) besitzt. |
Page |
createBlock(Template blockTemplate,
java.lang.String headline)
Creates a new page on the blocks container. |
Page |
createBlock(Template blockTemplate,
java.lang.String headline,
boolean addAtBottom)
Creates a new page on the blocks container. |
java.lang.String |
getResponsibleArea()
Returns the responsible row's area (Corporate, Region Europe). |
java.lang.String |
getResponsibleBackupRccUserId()
Returns the responsible row's backup regional content coordinator's user name (lejafr, strutku). |
java.lang.String |
getResponsibleBackupRccUserName()
Returns the responsible row's backup regional content coordinator's user name (Frank Leja, Kurt Strutz). |
java.lang.String |
getResponsibleDepartmentName()
Returns the responsible row's source department name. |
java.lang.String |
getResponsibleDepartmentNumber()
Returns the responsible row's source department number. |
java.lang.String |
getResponsibleRccUserId()
Returns the responsible row's regional content coordinator's user id (lejafr, strutku). |
java.lang.String |
getResponsibleRccUserName()
Returns the responsible row's regional content coordinator's user name (Frank Leja, Kurt Strutz). |
java.lang.String |
getResponsibleStatisticArea()
Returns the responsible row's mail subject statistic area (COM, SAL). |
java.lang.String |
getResponsibleUserIdIfAvailable(java.lang.String ifNotAvailable)
Gets the responsible user id if template element available |
java.lang.String |
getResponsibleUserNameIfAvailable(java.lang.String ifNotAvailable)
Gets the responsible user name if template element available |
java.lang.String |
getResponsibleWorkArea()
Returns the responsible row's mail subject work area (business-administration, trade-management). |
java.lang.String |
getUpdatedOnIfAvailable(java.lang.String ifNotAvailable)
Gets the updated date if template element available |
boolean |
isResponsibleLinked()
Return true, if this page has a responsible table row linked, otherwise false. |
void |
linkResponsible(Page responsibleTableRowPg)
Connect the given responsible table row to this page. |
void |
setFooter(java.lang.String responsibleId,
java.lang.String displayName)
Sets the responsible information for given domain option list value, page updated to today. |
void |
setFooter(java.lang.String responsibleId,
java.lang.String displayName,
ReddotDate updated)
Sets the responsible information for given domain option list value. |
void |
setUpdated(java.util.Date timestamp)
Sets the page updated to given date. |
void |
setUpdated(ReddotDate date)
Sets the page updated to given date. |
void |
setUpdatedIfPageContainsElement(java.util.Date timestamp)
Sets the page updated to the given date, if wrapped page has element page_updated. |
ReddotDate |
updatedToday()
Sets the page updated to today and returns this reddot date. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentPage(Page page)
Method Detail |
---|
public Page createBlock(Template blockTemplate, java.lang.String headline) throws RQLException
blockTemplate
- Typ der neu erstellten Seite.headline
- Ueberschrift der neu erstellten Seite
RQLException
public Page createBlock(Template blockTemplate, java.lang.String headline, boolean addAtBottom) throws RQLException
blockTemplate
- Typ der neu erstellten Seite.headline
- Ueberschrift der neu erstellten SeiteaddAtBottom
- true=>seite wird nach unten verschoben,
false=>seite wird nicht verschoben und RD default is oben anlegen
RQLException
public void setFooter(java.lang.String responsibleId, java.lang.String displayName) throws RQLException
responsibleId
- name of the mailbox; part before @displayName
- clickable name of the mail address
RQLException
public void setFooter(java.lang.String responsibleId, java.lang.String displayName, ReddotDate updated) throws RQLException
responsibleId
- name of the mailbox; part before @displayName
- clickable name of the mail addressupdated
- the page updated date
RQLException
public ReddotDate updatedToday() throws RQLException
RQLException
public void setUpdated(java.util.Date timestamp) throws RQLException
RQLException
public boolean isResponsibleLinked() throws RQLException
RQLException
public java.lang.String getResponsibleArea() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleDepartmentNumber() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleDepartmentName() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleStatisticArea() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleWorkArea() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleRccUserId() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleRccUserName() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleBackupRccUserName() throws RQLException
isResponsibleLinked()
is true.
RQLException
public java.lang.String getResponsibleBackupRccUserId() throws RQLException
isResponsibleLinked()
is true.
RQLException
public void linkResponsible(Page responsibleTableRowPg) throws RQLException
WrongTypeException,
- if the given page is not an instance of responsible_table_row
RQLException
public void setUpdated(ReddotDate date) throws RQLException
RQLException
public void setUpdatedIfPageContainsElement(java.util.Date timestamp) throws RQLException
RQLException
public java.lang.String getResponsibleUserNameIfAvailable(java.lang.String ifNotAvailable) throws RQLException
ifNotAvailable
-
RQLException
public java.lang.String getResponsibleUserIdIfAvailable(java.lang.String ifNotAvailable) throws RQLException
ifNotAvailable
-
RQLException
public boolean containsPageUpdated() throws RQLException
RQLException
public java.lang.String getUpdatedOnIfAvailable(java.lang.String ifNotAvailable) throws RQLException
ifNotAvailable
-
RQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |