Class DeleteServiceImpl
- java.lang.Object
-
- org.uberfire.ext.editor.commons.backend.service.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 Summary
Constructors Constructor Description DeleteServiceImpl()DeleteServiceImpl(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(org.uberfire.backend.vfs.Path path, String comment)voiddeleteIfExists(Collection<org.uberfire.backend.vfs.Path> paths, String comment)booleanhasRestriction(org.uberfire.backend.vfs.Path path)
-
-
-
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:
deletein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsDelete
-
deleteIfExists
public void deleteIfExists(Collection<org.uberfire.backend.vfs.Path> paths, String comment)
- Specified by:
deleteIfExistsin interfaceorg.uberfire.ext.editor.commons.service.DeleteService
-
hasRestriction
public boolean hasRestriction(org.uberfire.backend.vfs.Path path)
- Specified by:
hasRestrictionin interfaceorg.uberfire.ext.editor.commons.service.DeleteService
-
-