public class S7SetHelper
extends java.lang.Object
| Constructor and Description |
|---|
S7SetHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ImageSet |
createS7ImageSet(Resource parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Helper method to create S7
ImageSet |
static MediaSet |
createS7MixedMediaSet(Resource parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Helper method to create S7 Mixed Media Set
|
static SpinSet |
createS7SpinSet(Resource parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Helper method to create spin Set
|
static SwatchSet |
createS7SwatchSet(Resource parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Helper method to create S7
SwatchSet |
static MediaSet |
createS7VideoSet(Resource parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Helper method to create S7 VideoSet
|
static boolean |
isS7Set(Resource resource)
Checks whether the given resource represent a S7 set or not.
|
static boolean |
isS7Video(Resource resource)
Checks if the resource represents an S7 video.
|
public static ImageSet createS7ImageSet(Resource parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> props) throws PersistenceException
ImageSetparent - parent Resource where new set to be createdname - name of the set to be created.props - additional properties to be saved i.e. jcr:titleImageSetPersistenceException - if there is any issue in creating
the set.
IllegalArgumentException if the parent resource
is null or name is nullpublic static SwatchSet createS7SwatchSet(Resource parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> props) throws PersistenceException
SwatchSetparent - parent Resource where new set to be createdname - name of the set to be created.props - additional properties to be saved i.e. jcr:titleSwatchSetPersistenceException - if there is any issue in creating
the set.
IllegalArgumentException if the parent resource
is nullpublic static MediaSet createS7VideoSet(Resource parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> props) throws PersistenceException
parent - parent Resource where new set to be createdname - name of the set to be created.props - additional properties to be saved i.e. jcr:titleMediaSetPersistenceException - if there is any issue in creating
the set.
IllegalArgumentException if the parent resource
is nullpublic static MediaSet createS7MixedMediaSet(Resource parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> props) throws PersistenceException
parent - parent Resource where new set to be createdname - name of the set to be created.props - additional properties to be saved i.e. jcr:titleMediaSetPersistenceException - if there is any issue in creating
the set.
IllegalArgumentException if the parent resource
is nullpublic static SpinSet createS7SpinSet(Resource parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> props) throws PersistenceException
parent - parent Resource where new set to be createdname - name of the set to be created.props - additional properties to be saved i.e. jcr:titleMediaSetPersistenceException - if there is any issue in creating
the set.
IllegalArgumentException if the parent resource
is nullpublic static boolean isS7Set(Resource resource)
resource - resource instancetrue if the resource represent a S7 set
false if the resource is not a S7 setjava.lang.NullPointerException - if resource is nullpublic static boolean isS7Video(Resource resource)
resource - resource instancetrue if the resource represent a S7 set
false if the resource is not a S7 setCopyright © 2010 - 2023 Adobe. All Rights Reserved