@ApplicationScoped public class CopyServiceImpl extends Object implements CopyService
| Constructor and Description |
|---|
CopyServiceImpl() |
CopyServiceImpl(IOService ioService,
org.jboss.errai.security.shared.api.identity.User identity,
SessionInfo sessionInfo,
javax.enterprise.inject.Instance<CopyHelper> helpers,
javax.enterprise.event.Event<ResourceCopiedEvent> resourceCopiedEvent,
javax.enterprise.inject.Instance<CopyRestrictor> copyRestrictorBeans,
PathNamingService pathNamingService) |
| Modifier and Type | Method and Description |
|---|---|
Path |
copy(Path path,
String newName,
Path targetDirectory,
String comment) |
Path |
copy(Path path,
String newName,
String comment) |
void |
copyIfExists(Collection<Path> paths,
String newName,
String comment) |
boolean |
hasRestriction(Path path) |
public CopyServiceImpl()
@Inject
public CopyServiceImpl(@Named(value="ioStrategy")
IOService ioService,
org.jboss.errai.security.shared.api.identity.User identity,
SessionInfo sessionInfo,
javax.enterprise.inject.Instance<CopyHelper> helpers,
javax.enterprise.event.Event<ResourceCopiedEvent> resourceCopiedEvent,
javax.enterprise.inject.Instance<CopyRestrictor> copyRestrictorBeans,
PathNamingService pathNamingService)
public Path copy(Path path, String newName, String comment)
copy in interface SupportsCopypublic Path copy(Path path, String newName, Path targetDirectory, String comment)
copy in interface SupportsCopypublic void copyIfExists(Collection<Path> paths, String newName, String comment)
copyIfExists in interface CopyServicepublic boolean hasRestriction(Path path)
hasRestriction in interface CopyServiceCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.