Class DeleteServiceImpl

  • All Implemented Interfaces:
    org.uberfire.ext.editor.commons.service.DeleteService, org.uberfire.ext.editor.commons.service.support.SupportsDelete

    @ApplicationScoped
    public class DeleteServiceImpl
    extends Object
    implements org.uberfire.ext.editor.commons.service.DeleteService
    • Constructor Detail

      • DeleteServiceImpl

        public DeleteServiceImpl()
      • DeleteServiceImpl

        @Inject
        public DeleteServiceImpl​(@Named("ioStrategy")
                                 org.uberfire.io.IOService ioService,
                                 org.jboss.errai.security.shared.api.identity.User identity,
                                 org.uberfire.rpc.SessionInfo sessionInfo,
                                 javax.enterprise.inject.Instance<DeleteHelper> helpers,
                                 javax.enterprise.inject.Instance<org.uberfire.ext.editor.commons.service.restrictor.DeleteRestrictor> deleteRestrictorBeans)
    • Method Detail

      • delete

        public void delete​(org.uberfire.backend.vfs.Path path,
                           String comment)
        Specified by:
        delete in interface org.uberfire.ext.editor.commons.service.support.SupportsDelete
      • deleteIfExists

        public void deleteIfExists​(Collection<org.uberfire.backend.vfs.Path> paths,
                                   String comment)
        Specified by:
        deleteIfExists in interface org.uberfire.ext.editor.commons.service.DeleteService
      • hasRestriction

        public boolean hasRestriction​(org.uberfire.backend.vfs.Path path)
        Specified by:
        hasRestriction in interface org.uberfire.ext.editor.commons.service.DeleteService