Class ScriptUtilImpl

  • All Implemented Interfaces:
    org.gcube.data.access.storagehub.scripting.ScriptUtil

    @Singleton
    public class ScriptUtilImpl
    extends Object
    implements org.gcube.data.access.storagehub.scripting.ScriptUtil
    • Constructor Detail

      • ScriptUtilImpl

        public ScriptUtilImpl()
    • Method Detail

      • getChildren

        public List<org.gcube.common.storagehub.model.items.Item> getChildren​(java.util.function.Predicate<javax.jcr.Node> checker,
                                                                              javax.jcr.Node parent,
                                                                              List<String> excludes,
                                                                              boolean showHidden,
                                                                              Class<? extends org.gcube.common.storagehub.model.items.Item> nodeTypeToInclude)
                                                                       throws javax.jcr.RepositoryException,
                                                                              org.gcube.common.storagehub.model.exceptions.BackendGenericError
        Specified by:
        getChildren in interface org.gcube.data.access.storagehub.scripting.ScriptUtil
        Throws:
        javax.jcr.RepositoryException
        org.gcube.common.storagehub.model.exceptions.BackendGenericError
      • getItem

        public org.gcube.common.storagehub.model.items.Item getItem​(javax.jcr.Node node,
                                                                    List<String> excludes)
                                                             throws javax.jcr.RepositoryException,
                                                                    org.gcube.common.storagehub.model.exceptions.BackendGenericError
        Specified by:
        getItem in interface org.gcube.data.access.storagehub.scripting.ScriptUtil
        Throws:
        javax.jcr.RepositoryException
        org.gcube.common.storagehub.model.exceptions.BackendGenericError