public final class EditableWindowHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FGT_ORDER
ordre d'apparition dans la page.
|
static String |
FGT_TYPE
type de fragment (html, liste...).
|
static String |
FGT_URI
URI.
|
static String |
INHERITANCE
Inheritance property key.
|
static String |
REGION_IDENTIFIER
Region identifier property key.
|
static String |
REGION_LAYOUT
Region layout property key.
|
static String |
SCHEMA_FRAGMENTS
Identifiant schéma générique des fragments Nuxeo.
|
static String |
SCHEMA_REGIONS
Regions schema.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
checkBeforeMove(org.nuxeo.ecm.automation.client.model.Document doc,
String fromRegion,
Integer fromPos,
String refUri)
Vérification de la cohérence des n° d'ordre dans les fragments.
|
static Integer |
findIndexByRefURI(org.nuxeo.ecm.automation.client.model.Document doc,
String schema,
String refURI)
Méthode permettant d'extraire les propriétés complexes d'un objet par son RefURI.
|
static Integer |
findIndexByURI(org.nuxeo.ecm.automation.client.model.Document doc,
String refURI)
Méthode permettant d'extraire l'index d'une liste de propriétés complexes
où la liste correspond à l'uri donné.
|
static List<Integer> |
findIndexesByRefURI(org.nuxeo.ecm.automation.client.model.Document doc,
String schema,
String refURI)
Méthode permettant d'extraire les propriétés complexes d'un objet par son RefURI.
|
static org.nuxeo.ecm.automation.client.model.PropertyMap |
findSchemaByRefURI(org.nuxeo.ecm.automation.client.model.Document doc,
String schema,
String refURI)
Méthode permettant d'extraire les propriétés complexes d'un objet par son RefURI.
|
static List<String> |
prepareMove(org.nuxeo.ecm.automation.client.model.Document doc,
String fromRegion,
Integer fromPos,
String toRegion,
Integer toPos,
String refUri)
Préparation du déplacement d'un fragment
|
public static final String SCHEMA_FRAGMENTS
public static final String SCHEMA_REGIONS
public static final String FGT_URI
public static final String FGT_TYPE
public static final String FGT_ORDER
public static final String REGION_IDENTIFIER
public static final String INHERITANCE
public static final String REGION_LAYOUT
public static Integer findIndexByURI(org.nuxeo.ecm.automation.client.model.Document doc, String refURI)
doc - e docrefURI - la clé de recherchepublic static Integer findIndexByRefURI(org.nuxeo.ecm.automation.client.model.Document doc, String schema, String refURI)
doc - e docschema - le schéma a explorerrefURI - la clé de recherchepublic static List<Integer> findIndexesByRefURI(org.nuxeo.ecm.automation.client.model.Document doc, String schema, String refURI)
doc - e docschema - le schéma a explorerrefURI - la clé de recherchepublic static org.nuxeo.ecm.automation.client.model.PropertyMap findSchemaByRefURI(org.nuxeo.ecm.automation.client.model.Document doc,
String schema,
String refURI)
doc - e docschema - le schéma a explorerrefURI - la clé de recherchepublic static List<String> checkBeforeMove(org.nuxeo.ecm.automation.client.model.Document doc, String fromRegion, Integer fromPos, String refUri) throws org.osivia.portal.core.cms.CMSException
doc - org.osivia.portal.core.cms.CMSExceptionpublic static List<String> prepareMove(org.nuxeo.ecm.automation.client.model.Document doc, String fromRegion, Integer fromPos, String toRegion, Integer toPos, String refUri) throws org.osivia.portal.core.cms.CMSException
doc - fromRegion - the identifier of the region from the fragment is movedfromPos - position in the fromRegion (from 0 (top) to N-1 ( number of current fgts in the region)toRegion - the identifier of the region where the fragment is droppedtoPos - the new position of the fgt in the toRegionrefUri - the id of the window movedorg.osivia.portal.core.cms.CMSExceptionCopyright © 2019. All rights reserved.