Class MetadataAwareAmetysObjectHelper
- java.lang.Object
-
- org.ametys.plugins.repository.metadata.MetadataAwareAmetysObjectHelper
-
public final class MetadataAwareAmetysObjectHelper extends Object
Provides helper methods to use theMetadataAwareAmetysObject
API.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MetadataAwareAmetysObjectHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
removeSubObjects(ModifiableCompositeMetadata metadataHolder)
Remove the workflow reference.static void
removeSubObjects(ModifiableMetadataAwareAmetysObject object)
Remove the workflow reference.
-
-
-
Constructor Detail
-
MetadataAwareAmetysObjectHelper
private MetadataAwareAmetysObjectHelper()
-
-
Method Detail
-
removeSubObjects
public static void removeSubObjects(ModifiableMetadataAwareAmetysObject object) throws AmetysRepositoryException
Remove the workflow reference.- Parameters:
object
- the JCR ametys object.- Throws:
AmetysRepositoryException
- if an error occurs.
-
removeSubObjects
private static void removeSubObjects(ModifiableCompositeMetadata metadataHolder) throws AmetysRepositoryException
Remove the workflow reference.- Parameters:
metadataHolder
- The metadata holder concerned- Throws:
AmetysRepositoryException
- if an error occurred
-
-