Package com.composum.sling.nodes.scene
Class SceneConfigurations
- java.lang.Object
-
- com.composum.sling.nodes.scene.SceneConfigurations
-
- All Implemented Interfaces:
Serializable
public class SceneConfigurations extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SceneConfigurations.Config
-
Field Summary
Fields Modifier and Type Field Description static String
ORDER
static String
PROP_DISABLED
static String
PROP_ID
static String
PROP_KEY
static String
PROP_PLACEHOLDER
static String
PROP_SCENES_ROOT
static String
PROP_TEMPLATE
static String
PROP_URI
static String
QUERY_BASE
static String
QUERY_RULE
static String
RT_SCENE_CONFIG_SET
static String
SA_INSTANCE
-
Constructor Summary
Constructors Constructor Description SceneConfigurations(@NotNull org.apache.sling.api.resource.ResourceResolver resolver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
findSceneConfigs(@NotNull TreeMap<String,SceneConfigurations.Config> pageConfigs, @NotNull org.apache.sling.api.resource.ResourceResolver resolver, @NotNull String query)
@Nullable SceneConfigurations.Config
getSceneConfig(String name)
@NotNull Collection<SceneConfigurations.Config>
getSceneConfigs()
static @NotNull SceneConfigurations
instance(@NotNull org.apache.sling.api.SlingHttpServletRequest request)
-
-
-
Field Detail
-
SA_INSTANCE
public static final String SA_INSTANCE
-
RT_SCENE_CONFIG_SET
public static final String RT_SCENE_CONFIG_SET
- See Also:
- Constant Field Values
-
ORDER
public static final String ORDER
- See Also:
- Constant Field Values
-
PROP_ID
public static final String PROP_ID
- See Also:
- Constant Field Values
-
PROP_KEY
public static final String PROP_KEY
- See Also:
- Constant Field Values
-
PROP_URI
public static final String PROP_URI
- See Also:
- Constant Field Values
-
PROP_DISABLED
public static final String PROP_DISABLED
- See Also:
- Constant Field Values
-
PROP_TEMPLATE
public static final String PROP_TEMPLATE
- See Also:
- Constant Field Values
-
PROP_SCENES_ROOT
public static final String PROP_SCENES_ROOT
- See Also:
- Constant Field Values
-
PROP_PLACEHOLDER
public static final String PROP_PLACEHOLDER
- See Also:
- Constant Field Values
-
QUERY_BASE
public static final String QUERY_BASE
- See Also:
- Constant Field Values
-
QUERY_RULE
public static final String QUERY_RULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
@NotNull public static @NotNull SceneConfigurations instance(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request)
-
getSceneConfig
@Nullable public @Nullable SceneConfigurations.Config getSceneConfig(String name)
-
getSceneConfigs
@NotNull public @NotNull Collection<SceneConfigurations.Config> getSceneConfigs()
-
findSceneConfigs
protected void findSceneConfigs(@NotNull @NotNull TreeMap<String,SceneConfigurations.Config> pageConfigs, @NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resolver, @NotNull @NotNull String query)
-
-