|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.saga.logicalfile.LogicalFileFactory
public abstract class LogicalFileFactory
Factory for objects from the logicalfile package.
Constructor Summary | |
---|---|
LogicalFileFactory()
|
Method Summary | |
---|---|
static LogicalDirectory |
createLogicalDirectory(Session session,
URL name)
Creates a LogicalDirectory using READ open mode. |
static LogicalDirectory |
createLogicalDirectory(Session session,
URL name,
int flags)
Creates a LogicalDirectory. |
static LogicalDirectory |
createLogicalDirectory(String sagaFactoryClassname,
Session session,
URL name)
Creates a LogicalDirectory using READ open mode. |
static LogicalDirectory |
createLogicalDirectory(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a LogicalDirectory. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a LogicalDirectory using READ open mode. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalDirectory. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a LogicalDirectory using READ open mode, using the default session. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(String sagaFactoryClassname,
TaskMode mode,
URL name,
int flags)
Creates a task that creates a LogicalDirectory using the default session. |
static LogicalDirectory |
createLogicalDirectory(String sagaFactoryClassname,
URL name)
Creates a LogicalDirectory using READ open mode, using the default session. |
static LogicalDirectory |
createLogicalDirectory(String sagaFactoryClassname,
URL name,
int flags)
Creates a LogicalDirectory using the default session. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(TaskMode mode,
Session session,
URL name)
Creates a task that creates a LogicalDirectory using READ open mode. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalDirectory. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(TaskMode mode,
URL name)
Creates a task that creates a LogicalDirectory using READ open mode, using the default session. |
static Task<LogicalFileFactory,LogicalDirectory> |
createLogicalDirectory(TaskMode mode,
URL name,
int flags)
Creates a task that creates a LogicalDirectory using the default session. |
static LogicalDirectory |
createLogicalDirectory(URL name)
Creates a LogicalDirectory using READ open mode, using the default session. |
static LogicalDirectory |
createLogicalDirectory(URL name,
int flags)
Creates a LogicalDirectory using the default session. |
static LogicalFile |
createLogicalFile(Session session,
URL name)
Creates a LogicalFile using READ open mode. |
static LogicalFile |
createLogicalFile(Session session,
URL name,
int flags)
Creates a LogicalFile. |
static LogicalFile |
createLogicalFile(String sagaFactoryClassname,
Session session,
URL name)
Creates a LogicalFile using READ open mode. |
static LogicalFile |
createLogicalFile(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a LogicalFile. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a LogicalFile using READ open mode. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalFile. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a LogicalFile using READ open mode, using the default session. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(String sagaFactoryClassname,
TaskMode mode,
URL name,
int flags)
Creates a task that creates a LogicalFile using the default session. |
static LogicalFile |
createLogicalFile(String sagaFactoryClassname,
URL name)
Creates a LogicalFile using READ open mode, using the default session. |
static LogicalFile |
createLogicalFile(String sagaFactoryClassname,
URL name,
int flags)
Creates a LogicalFile using the default session. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(TaskMode mode,
Session session,
URL name)
Creates a task that creates a LogicalFile using READ open mode. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalFile. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(TaskMode mode,
URL name)
Creates a task that creates a LogicalFile using READ open mode, using the default session. |
static Task<LogicalFileFactory,LogicalFile> |
createLogicalFile(TaskMode mode,
URL name,
int flags)
Creates a task that creates a LogicalFile using the default session. |
static LogicalFile |
createLogicalFile(URL name)
Creates a LogicalFile using READ open mode, using the default session. |
static LogicalFile |
createLogicalFile(URL name,
int flags)
Creates a LogicalFile using the default session. |
protected abstract LogicalDirectory |
doCreateLogicalDirectory(Session session,
URL name,
int flags)
Creates a Directory. |
protected abstract Task<LogicalFileFactory,LogicalDirectory> |
doCreateLogicalDirectory(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalDirectory. |
protected abstract LogicalFile |
doCreateLogicalFile(Session session,
URL name,
int flags)
Creates a LogicalFile. |
protected abstract Task<LogicalFileFactory,LogicalFile> |
doCreateLogicalFile(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a LogicalFile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogicalFileFactory()
Method Detail |
---|
protected abstract LogicalFile doCreateLogicalFile(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
IncorrectURLException
AuthenticationFailedException
AuthorizationFailedException
PermissionDeniedException
BadParameterException
AlreadyExistsException
DoesNotExistException
TimeoutException
NoSuccessException
protected abstract LogicalDirectory doCreateLogicalDirectory(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of directory.flags
- the open mode.
NotImplementedException
IncorrectURLException
AuthenticationFailedException
AuthorizationFailedException
PermissionDeniedException
BadParameterException
AlreadyExistsException
DoesNotExistException
TimeoutException
NoSuccessException
protected abstract Task<LogicalFileFactory,LogicalFile> doCreateLogicalFile(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException
mode
- the task mode.session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.protected abstract Task<LogicalFileFactory,LogicalDirectory> doCreateLogicalDirectory(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException
mode
- the task mode.session
- the session handle.name
- location of directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.public static LogicalFile createLogicalFile(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(String sagaFactoryClassname, Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of the file.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(String sagaFactoryClassname, Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- location of the file.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(String sagaFactoryClassname, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
name
- location of the file.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalFile createLogicalFile(String sagaFactoryClassname, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- location of the file.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(String sagaFactoryClassname, Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
session
- the session handle.name
- location of the directory.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(String sagaFactoryClassname, Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- location of the directory.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(String sagaFactoryClassname, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is thrown if the specified URL already exists, and the
CREATE
and EXCLUSIVE
flags are given.
DoesNotExistException
- is thrown if the specified URL does not exist, and the
CREATE
flag is not given.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
name
- location of the directory.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static LogicalDirectory createLogicalDirectory(String sagaFactoryClassname, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, AlreadyExistsException, DoesNotExistException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- location of the directory.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
BadParameterException
- is thrown when the specified URL is an invalid entry name.
IncorrectURLException
- is thrown when an implementation cannot handle the specified
protocol, or that access to the specified entity via the
given protocol is impossible.
AlreadyExistsException
- is actually not thrown, but specified in the SAGA specifications.
DoesNotExistException
- is thrown if the specified URL does not exist.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(String sagaFactoryClassname, TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.session
- the session handle.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- location of the file.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(String sagaFactoryClassname, TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.session
- the session handle.name
- location of the file.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(String sagaFactoryClassname, TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.name
- location of the file.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- location of the file.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalFile> createLogicalFile(String sagaFactoryClassname, TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.name
- location of the file.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(String sagaFactoryClassname, TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.session
- the session handle.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- location of the directory.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(String sagaFactoryClassname, TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.session
- the session handle.name
- location of the directory.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(String sagaFactoryClassname, TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.name
- location of the directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- location of the directory.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.public static Task<LogicalFileFactory,LogicalDirectory> createLogicalDirectory(String sagaFactoryClassname, TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.mode
- the task mode.name
- location of the directory.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
NoSuccessException
- is thrown when the default session could not be created or
when the Saga factory could not be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |