|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.saga.namespace.NSFactory
public abstract class NSFactory
Factory for objects from the namespace package.
Constructor Summary | |
---|---|
NSFactory()
|
Method Summary | |
---|---|
static NSDirectory |
createNSDirectory(Session session,
URL name)
Creates a namespace directory. |
static NSDirectory |
createNSDirectory(Session session,
URL name,
int flags)
Creates a namespace directory. |
static NSDirectory |
createNSDirectory(String sagaFactoryClassname,
Session session,
URL name)
Creates a namespace directory. |
static NSDirectory |
createNSDirectory(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a namespace directory. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a namespace directory. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace directory. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a namespace directory using the default session. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(String sagaFactoryClassname,
TaskMode mode,
URL name,
int flags)
Creates a task that creates a namespace directory using the default session. |
static NSDirectory |
createNSDirectory(String sagaFactoryClassname,
URL name)
Creates a namespace directory using the default session. |
static NSDirectory |
createNSDirectory(String sagaFactoryClassname,
URL name,
int flags)
Creates a namespace directory using the default session. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(TaskMode mode,
Session session,
URL name)
Creates a task that creates a namespace directory. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace directory. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(TaskMode mode,
URL name)
Creates a task that creates a namespace directory using the default session. |
static Task<NSFactory,NSDirectory> |
createNSDirectory(TaskMode mode,
URL name,
int flags)
Creates a task that creates a namespace directory using the default session. |
static NSDirectory |
createNSDirectory(URL name)
Creates a namespace directory using the default session. |
static NSDirectory |
createNSDirectory(URL name,
int flags)
Creates a namespace directory using the default session. |
static NSEntry |
createNSEntry(Session session,
URL name)
Creates a namespace entry. |
static NSEntry |
createNSEntry(Session session,
URL name,
int flags)
Creates a namespace entry. |
static NSEntry |
createNSEntry(String sagaFactoryClassname,
Session session,
URL name)
Creates a namespace entry. |
static NSEntry |
createNSEntry(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a namespace entry. |
static Task<NSFactory,NSEntry> |
createNSEntry(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a namespace entry. |
static Task<NSFactory,NSEntry> |
createNSEntry(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace entry. |
static Task<NSFactory,NSEntry> |
createNSEntry(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a namespace entry using the default session. |
static Task<NSFactory,NSEntry> |
createNSEntry(String sagaFactoryClassname,
TaskMode mode,
URL name,
int flags)
Creates a task that creates a namespace entry using the default session. |
static NSEntry |
createNSEntry(String sagaFactoryClassname,
URL name)
Creates a namespace entry using the default session. |
static NSEntry |
createNSEntry(String sagaFactoryClassname,
URL name,
int flags)
Creates a namespace entry using the default session. |
static Task<NSFactory,NSEntry> |
createNSEntry(TaskMode mode,
Session session,
URL name)
Creates a task that creates a namespace entry. |
static Task<NSFactory,NSEntry> |
createNSEntry(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace entry. |
static Task<NSFactory,NSEntry> |
createNSEntry(TaskMode mode,
URL name)
Creates a task that creates a namespace entry using the default session. |
static Task<NSFactory,NSEntry> |
createNSEntry(TaskMode mode,
URL name,
int flags)
Creates a task that creates a namespace entry using the default session. |
static NSEntry |
createNSEntry(URL name)
Creates a namespace entry using the default session. |
static NSEntry |
createNSEntry(URL name,
int flags)
Creates a namespace entry using the default session. |
protected abstract NSDirectory |
doCreateNSDirectory(Session session,
URL name,
int flags)
Creates a namespace directory. |
protected abstract Task<NSFactory,NSDirectory> |
doCreateNSDirectory(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace directory. |
protected abstract NSEntry |
doCreateNSEntry(Session session,
URL name,
int flags)
Creates a namespace entry. |
protected abstract Task<NSFactory,NSEntry> |
doCreateNSEntry(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a namespace entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NSFactory()
Method Detail |
---|
protected abstract Task<NSFactory,NSEntry> doCreateNSEntry(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException
mode
- the task mode.session
- the session handle.name
- the initial working directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.protected abstract Task<NSFactory,NSDirectory> doCreateNSDirectory(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException
mode
- the task mode.session
- the session handle.name
- the initial working directory.flags
- the open mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.protected abstract NSEntry doCreateNSEntry(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working directory.flags
- the open mode.
NotImplementedException
IncorrectURLException
AuthenticationFailedException
AuthorizationFailedException
PermissionDeniedException
BadParameterException
DoesNotExistException
AlreadyExistsException
TimeoutException
NoSuccessException
protected abstract NSDirectory doCreateNSDirectory(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working directory.flags
- the open mode.
NotImplementedException
IncorrectURLException
AuthenticationFailedException
AuthorizationFailedException
PermissionDeniedException
BadParameterException
DoesNotExistException
AlreadyExistsException
TimeoutException
NoSuccessException
public static NSEntry createNSEntry(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working 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 NSEntry createNSEntry(String sagaFactoryClassname, Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- the initial working 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 NSEntry createNSEntry(Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working 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 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 NSEntry createNSEntry(String sagaFactoryClassname, Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- the initial working 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 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 NSEntry createNSEntry(URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
name
- the initial working 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 NSEntry createNSEntry(String sagaFactoryClassname, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- the initial working 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 NSEntry createNSEntry(URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
name
- the initial working 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 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 NSEntry createNSEntry(String sagaFactoryClassname, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- the initial working 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 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 NSDirectory createNSDirectory(Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working 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 NSDirectory createNSDirectory(String sagaFactoryClassname, Session session, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- the initial working 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 NSDirectory createNSDirectory(Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
session
- the session handle.name
- the initial working 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 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 NSDirectory createNSDirectory(String sagaFactoryClassname, Session session, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.session
- the session handle.name
- the initial working 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 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 NSDirectory createNSDirectory(URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
name
- the initial working 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 NSDirectory createNSDirectory(String sagaFactoryClassname, URL name, int flags) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- the initial working 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 NSDirectory createNSDirectory(URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
name
- the initial working 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 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 NSDirectory createNSDirectory(String sagaFactoryClassname, URL name) throws NotImplementedException, IncorrectURLException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, AlreadyExistsException, TimeoutException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.name
- the initial working 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 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 Task<NSFactory,NSEntry> createNSEntry(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- the initial working 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<NSFactory,NSEntry> createNSEntry(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
- the initial working 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<NSFactory,NSEntry> createNSEntry(TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- the initial working 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<NSFactory,NSEntry> createNSEntry(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
- the initial working 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<NSFactory,NSEntry> createNSEntry(TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- the initial working 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<NSFactory,NSEntry> createNSEntry(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
- the initial working 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<NSFactory,NSEntry> createNSEntry(TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- the initial working 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<NSFactory,NSEntry> createNSEntry(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
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(TaskMode mode, Session session, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(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
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(TaskMode mode, Session session, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.session
- the session handle.name
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(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
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(TaskMode mode, URL name, int flags) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(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
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(TaskMode mode, URL name) throws NotImplementedException, NoSuccessException
mode
- the task mode.name
- the initial working 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<NSFactory,NSDirectory> createNSDirectory(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
- the initial working 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 |