public interface LocalAdapterFactory
Note that the
ClientObject
base class provides a number of utility methods designed to work with
a local adapter factory. Adapter implementations may want to inherit
that functionality by subclassing from ClientObject.
RemoteAdapterFactory
,
ClientAdapterFactory
,
ClientObject
Modifier and Type | Method and Description |
---|---|
AccessControlEntry |
getAccessControlEntry(RemoteAccessControlEntry remote)
Factory method for creating a local adapter for a remote access control
entry
|
AccessControlEntry[] |
getAccessControlEntry(RemoteAccessControlEntry[] remote)
Factory method for creating an array of local adapter for an array of
remote access control entry
|
AccessControlManager |
getAccessControlManager(RemoteAccessControlManager remote)
Factory method for creating a local adapter for a remote access control
manager
|
AccessControlPolicy |
getAccessControlPolicy(RemoteAccessControlPolicy remote)
Factory method for creating a local adapter for a remote access control
policy
|
AccessControlPolicy[] |
getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
Factory method for creating an array of local adapter for an array of
remote access control policies
|
AccessControlPolicyIterator |
getAccessControlPolicyIterator(RemoteIterator remote)
Factory method for creating a local adapter for a remote access control
policy iterator
|
Item |
getItem(Session session,
RemoteItem remote)
Factory method for creating a local adapter for a remote item.
|
ItemDefinition |
getItemDef(RemoteItemDefinition remote)
Factory method for creating a local adapter for a remote item
definition.
|
Lock |
getLock(Session session,
RemoteLock remote)
Factory method for creating a local adapter for a remote lock.
|
LockManager |
getLockManager(Session session,
RemoteLockManager lockManager) |
NamespaceRegistry |
getNamespaceRegistry(RemoteNamespaceRegistry remote)
Factory method for creating a local adapter for a remote namespace
registry.
|
Node |
getNode(Session session,
RemoteNode remote)
Factory method for creating a local adapter for a remote node.
|
NodeDefinition |
getNodeDef(RemoteNodeDefinition remote)
Factory method for creating a local adapter for a remote node
definition.
|
NodeIterator |
getNodeIterator(Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote node iterator.
|
NodeType |
getNodeType(RemoteNodeType remote)
Factory method for creating a local adapter for a remote node type.
|
NodeTypeIterator |
getNodeTypeIterator(RemoteIterator remote)
Factory method for creating a local adapter for a remote
node type iterator.
|
NodeTypeManager |
getNodeTypeManager(RemoteNodeTypeManager remote)
Factory method for creating a local adapter for a remote node type
manager.
|
ObservationManager |
getObservationManager(Workspace workspace,
RemoteObservationManager remote)
Factory method for creating a local adapter for a remote observation
manager.
|
Principal |
getPrincipal(RemotePrincipal remote)
Factory method for creating a local adapter for a remote principal.
|
Iterator<Principal> |
getPrincipalIterator(RemoteIterator remote)
Factory method for creating a local adapter for a remote principal
iterator.
|
Privilege |
getPrivilege(RemotePrivilege remote)
Factory method for creating a local adapter for a remote privilege
|
Privilege[] |
getPrivilege(RemotePrivilege[] remote)
Factory method for creating an array of local adapter for an array of
remote privilege
|
Property |
getProperty(Session session,
RemoteProperty remote)
Factory method for creating a local adapter for a remote property.
|
PropertyDefinition |
getPropertyDef(RemotePropertyDefinition remote)
Factory method for creating a local adapter for a remote property
definition.
|
PropertyIterator |
getPropertyIterator(Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote property iterator.
|
Query |
getQuery(Session session,
RemoteQuery remote)
Factory method for creating a local adapter for a remote query.
|
QueryManager |
getQueryManager(Session session,
RemoteQueryManager remote)
Factory method for creating a local adapter for a remote query manager.
|
QueryResult |
getQueryResult(Session session,
RemoteQueryResult remote)
Factory method for creating a local adapter for a remote query result.
|
Repository |
getRepository(RemoteRepository remote)
Factory method for creating a local adapter for a remote repository.
|
Row |
getRow(Session session,
RemoteRow remote)
Factory method for creating a local adapter for a remote query row.
|
RowIterator |
getRowIterator(Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote row iterator.
|
Session |
getSession(Repository repository,
RemoteSession remote)
Factory method for creating a local adapter for a remote session.
|
Version |
getVersion(Session session,
RemoteVersion remote)
Factory method for creating a local adapter for a remote version.
|
VersionHistory |
getVersionHistory(Session session,
RemoteVersionHistory remote)
Factory method for creating a local adapter for a remote version history.
|
VersionIterator |
getVersionIterator(Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote version iterator.
|
VersionManager |
getVersionManager(Session session,
RemoteVersionManager versionManager) |
Workspace |
getWorkspace(Session session,
RemoteWorkspace remote)
Factory method for creating a local adapter for a remote workspace.
|
Repository getRepository(RemoteRepository remote)
remote
- remote repositorySession getSession(Repository repository, RemoteSession remote)
repository
- current repositoryremote
- remote sessionWorkspace getWorkspace(Session session, RemoteWorkspace remote)
session
- current sessionremote
- remote workspaceObservationManager getObservationManager(Workspace workspace, RemoteObservationManager remote)
workspace
- current workspaceremote
- remote observation managerNamespaceRegistry getNamespaceRegistry(RemoteNamespaceRegistry remote)
remote
- remote namespace registryNodeTypeManager getNodeTypeManager(RemoteNodeTypeManager remote)
remote
- remote node type managerItem getItem(Session session, RemoteItem remote)
getNode
or
getProperty
method
instead, as the adapter returned by this method will only cover
the basic Item
interface.session
- current sessionremote
- remote itemProperty getProperty(Session session, RemoteProperty remote)
session
- current sessionremote
- remote propertyNode getNode(Session session, RemoteNode remote)
session
- current sessionremote
- remote nodeVersion getVersion(Session session, RemoteVersion remote)
session
- current sessionremote
- remote versionVersionHistory getVersionHistory(Session session, RemoteVersionHistory remote)
session
- current sessionremote
- remote version historyNodeType getNodeType(RemoteNodeType remote)
remote
- remote node typeItemDefinition getItemDef(RemoteItemDefinition remote)
getNodeDef
or
getPropertyDef
method
instead, as the adapter returned by this method will only cover
the ItemDef
base interface.remote
- remote item definitionNodeDefinition getNodeDef(RemoteNodeDefinition remote)
remote
- remote node definitionPropertyDefinition getPropertyDef(RemotePropertyDefinition remote)
remote
- remote property definitionLock getLock(Session session, RemoteLock remote)
session
- current sessionremote
- remote lockQueryManager getQueryManager(Session session, RemoteQueryManager remote)
session
- current sessionremote
- remote query managerQuery getQuery(Session session, RemoteQuery remote)
session
- current sessionremote
- remote queryQueryResult getQueryResult(Session session, RemoteQueryResult remote)
session
- current sessionremote
- remote query resultRow getRow(Session session, RemoteRow remote)
session
- current sessionremote
- remote query rowNodeIterator getNodeIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote node iteratorPropertyIterator getPropertyIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote property iteratorVersionIterator getVersionIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote version iteratorNodeTypeIterator getNodeTypeIterator(RemoteIterator remote)
remote
- remote node type iteratorRowIterator getRowIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote row iteratorLockManager getLockManager(Session session, RemoteLockManager lockManager)
VersionManager getVersionManager(Session session, RemoteVersionManager versionManager)
AccessControlManager getAccessControlManager(RemoteAccessControlManager remote)
remote
- remote access control managerAccessControlPolicy getAccessControlPolicy(RemoteAccessControlPolicy remote)
remote
- remote access control policyAccessControlPolicy[] getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
remote
- array of remote access control policiesAccessControlPolicyIterator getAccessControlPolicyIterator(RemoteIterator remote)
remote
- access control policy iteratorAccessControlEntry getAccessControlEntry(RemoteAccessControlEntry remote)
remote
- remote access control entryAccessControlEntry[] getAccessControlEntry(RemoteAccessControlEntry[] remote)
remote
- array of remote access control entryPrincipal getPrincipal(RemotePrincipal remote)
If remote
is a RemoteGroup
the
principal returned implements the java.security.acl.Group
interface.
remote
- principalIterator<Principal> getPrincipalIterator(RemoteIterator remote)
Each entry in the remote
iterator which is a
RemoteGroup
will be
provided as a principal implementing the
java.security.acl.Group
interface.
remote
- remote principal iteratorPrivilege getPrivilege(RemotePrivilege remote)
remote
- remote privilegePrivilege[] getPrivilege(RemotePrivilege[] remote)
remote
- array of remote privilegeCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.