public final class FormsDisplayUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getDisplayDepthFromParent(int nParentDisplay)
Returns the display depth of a child display element
|
static String |
getDisplayTitle(FormDisplay formDisplayToMove)
Utility Method to retrieve the Move composite page title from a given FormDisplay
|
static fr.paris.lutece.util.ReferenceList |
getlistAvailablePositionsInGroup(int nIdStep,
int nIdDisplayGroup,
boolean bAddPosition,
Locale locale)
Return a ReferenceList containing all the available positions within a given parent FormDisplay, in a given Step.
|
static fr.paris.lutece.util.ReferenceList |
getTargetGroupDisplayListByStep(int nIdStep,
FormDisplay formDisplayToMove,
Locale locale)
Utility Method to retrieve referenceList containing all the Displays of a given Step that could be a potential destination parent for the given
FormDisplay.
|
static boolean |
isDescendantDisplay(int nDisplayId,
FormDisplay formDisplay)
Return true if the provided FormDisplay identifier A is a descendant (a child, grandchild, great-grandchild, etc.) of the second FormDisplay parameter
|
public static fr.paris.lutece.util.ReferenceList getTargetGroupDisplayListByStep(int nIdStep,
FormDisplay formDisplayToMove,
Locale locale)
nIdStep - The Step identifierformDisplayToMove - The Display to move.locale - The Localepublic static boolean isDescendantDisplay(int nDisplayId,
FormDisplay formDisplay)
nDisplayId - the FormDisplay identifier AformDisplay - the FormDisplay Bpublic static String getDisplayTitle(FormDisplay formDisplayToMove)
formDisplayToMove - the FormDisplaypublic static fr.paris.lutece.util.ReferenceList getlistAvailablePositionsInGroup(int nIdStep,
int nIdDisplayGroup,
boolean bAddPosition,
Locale locale)
nIdStep - the identifier of the StepnIdDisplayGroup - the identifier of the group DIsplay parent. Zero for the step root levelbAddPosition - if true a position is added at the end of the listlocale - The localepublic static int getDisplayDepthFromParent(int nParentDisplay)
nParentDisplay - the Identifier of the parent display element (zero if we are at the step root)Copyright © 2020 City of Paris. All rights reserved.