public class DirsDelegator extends BaseDelegator implements IDirsDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
DirsDelegator(IOptionsServer server)
Instantiates a new dirs delegator.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileSpec> |
getDirectories(java.util.List<IFileSpec> fileSpecs,
boolean clientOnly,
boolean deletedOnly,
boolean haveListOnly)
List any directories matching the passed-in file specifications
and other options.
|
java.util.List<IFileSpec> |
getDirectories(java.util.List<IFileSpec> fileSpecs,
GetDirectoriesOptions opts)
List any directories matching the passed-in file specifications.
|
public DirsDelegator(IOptionsServer server)
server
- the serverpublic java.util.List<IFileSpec> getDirectories(@Nonnull java.util.List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly) throws ConnectionException, AccessException
IDirsDelegator
getDirectories
in interface IDirsDelegator
fileSpecs
- the file specsclientOnly
- the client onlydeletedOnly
- the deleted onlyhaveListOnly
- the have list onlyConnectionException
- the connection exceptionAccessException
- the access exceptionpublic java.util.List<IFileSpec> getDirectories(java.util.List<IFileSpec> fileSpecs, GetDirectoriesOptions opts) throws P4JavaException
IDirsDelegator
getDirectories
in interface IDirsDelegator
fileSpecs
- non-null list of file specifications.opts
- GetDirectoriesOptions object describing optional parameters;
if null, no options are set.P4JavaException
- if any error occurs in the processing of this method.