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 |
---|---|
javax.jcr.security.AccessControlEntry |
getAccessControlEntry(RemoteAccessControlEntry remote)
Factory method for creating a local adapter for a remote access control
entry
|
javax.jcr.security.AccessControlEntry[] |
getAccessControlEntry(RemoteAccessControlEntry[] remote)
Factory method for creating an array of local adapter for an array of
remote access control entry
|
javax.jcr.security.AccessControlManager |
getAccessControlManager(RemoteAccessControlManager remote)
Factory method for creating a local adapter for a remote access control
manager
|
javax.jcr.security.AccessControlPolicy |
getAccessControlPolicy(RemoteAccessControlPolicy remote)
Factory method for creating a local adapter for a remote access control
policy
|
javax.jcr.security.AccessControlPolicy[] |
getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
Factory method for creating an array of local adapter for an array of
remote access control policies
|
javax.jcr.security.AccessControlPolicyIterator |
getAccessControlPolicyIterator(RemoteIterator remote)
Factory method for creating a local adapter for a remote access control
policy iterator
|
javax.jcr.Item |
getItem(javax.jcr.Session session,
RemoteItem remote)
Factory method for creating a local adapter for a remote item.
|
javax.jcr.nodetype.ItemDefinition |
getItemDef(RemoteItemDefinition remote)
Factory method for creating a local adapter for a remote item
definition.
|
javax.jcr.lock.Lock |
getLock(javax.jcr.Session session,
RemoteLock remote)
Factory method for creating a local adapter for a remote lock.
|
javax.jcr.lock.LockManager |
getLockManager(javax.jcr.Session session,
RemoteLockManager lockManager) |
javax.jcr.NamespaceRegistry |
getNamespaceRegistry(RemoteNamespaceRegistry remote)
Factory method for creating a local adapter for a remote namespace
registry.
|
javax.jcr.Node |
getNode(javax.jcr.Session session,
RemoteNode remote)
Factory method for creating a local adapter for a remote node.
|
javax.jcr.nodetype.NodeDefinition |
getNodeDef(RemoteNodeDefinition remote)
Factory method for creating a local adapter for a remote node
definition.
|
javax.jcr.NodeIterator |
getNodeIterator(javax.jcr.Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote node iterator.
|
javax.jcr.nodetype.NodeType |
getNodeType(RemoteNodeType remote)
Factory method for creating a local adapter for a remote node type.
|
javax.jcr.nodetype.NodeTypeIterator |
getNodeTypeIterator(RemoteIterator remote)
Factory method for creating a local adapter for a remote
node type iterator.
|
javax.jcr.nodetype.NodeTypeManager |
getNodeTypeManager(RemoteNodeTypeManager remote)
Factory method for creating a local adapter for a remote node type
manager.
|
javax.jcr.observation.ObservationManager |
getObservationManager(javax.jcr.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.
|
javax.jcr.security.Privilege |
getPrivilege(RemotePrivilege remote)
Factory method for creating a local adapter for a remote privilege
|
javax.jcr.security.Privilege[] |
getPrivilege(RemotePrivilege[] remote)
Factory method for creating an array of local adapter for an array of
remote privilege
|
javax.jcr.Property |
getProperty(javax.jcr.Session session,
RemoteProperty remote)
Factory method for creating a local adapter for a remote property.
|
javax.jcr.nodetype.PropertyDefinition |
getPropertyDef(RemotePropertyDefinition remote)
Factory method for creating a local adapter for a remote property
definition.
|
javax.jcr.PropertyIterator |
getPropertyIterator(javax.jcr.Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote property iterator.
|
javax.jcr.query.Query |
getQuery(javax.jcr.Session session,
RemoteQuery remote)
Factory method for creating a local adapter for a remote query.
|
javax.jcr.query.QueryManager |
getQueryManager(javax.jcr.Session session,
RemoteQueryManager remote)
Factory method for creating a local adapter for a remote query manager.
|
javax.jcr.query.QueryResult |
getQueryResult(javax.jcr.Session session,
RemoteQueryResult remote)
Factory method for creating a local adapter for a remote query result.
|
javax.jcr.Repository |
getRepository(RemoteRepository remote)
Factory method for creating a local adapter for a remote repository.
|
javax.jcr.query.Row |
getRow(javax.jcr.Session session,
RemoteRow remote)
Factory method for creating a local adapter for a remote query row.
|
javax.jcr.query.RowIterator |
getRowIterator(javax.jcr.Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote row iterator.
|
javax.jcr.Session |
getSession(javax.jcr.Repository repository,
RemoteSession remote)
Factory method for creating a local adapter for a remote session.
|
javax.jcr.version.Version |
getVersion(javax.jcr.Session session,
RemoteVersion remote)
Factory method for creating a local adapter for a remote version.
|
javax.jcr.version.VersionHistory |
getVersionHistory(javax.jcr.Session session,
RemoteVersionHistory remote)
Factory method for creating a local adapter for a remote version history.
|
javax.jcr.version.VersionIterator |
getVersionIterator(javax.jcr.Session session,
RemoteIterator remote)
Factory method for creating a local adapter for a remote version iterator.
|
javax.jcr.version.VersionManager |
getVersionManager(javax.jcr.Session session,
RemoteVersionManager versionManager) |
javax.jcr.Workspace |
getWorkspace(javax.jcr.Session session,
RemoteWorkspace remote)
Factory method for creating a local adapter for a remote workspace.
|
javax.jcr.Repository getRepository(RemoteRepository remote)
remote
- remote repositoryjavax.jcr.Session getSession(javax.jcr.Repository repository, RemoteSession remote)
repository
- current repositoryremote
- remote sessionjavax.jcr.Workspace getWorkspace(javax.jcr.Session session, RemoteWorkspace remote)
session
- current sessionremote
- remote workspacejavax.jcr.observation.ObservationManager getObservationManager(javax.jcr.Workspace workspace, RemoteObservationManager remote)
workspace
- current workspaceremote
- remote observation managerjavax.jcr.NamespaceRegistry getNamespaceRegistry(RemoteNamespaceRegistry remote)
remote
- remote namespace registryjavax.jcr.nodetype.NodeTypeManager getNodeTypeManager(RemoteNodeTypeManager remote)
remote
- remote node type managerjavax.jcr.Item getItem(javax.jcr.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 itemjavax.jcr.Property getProperty(javax.jcr.Session session, RemoteProperty remote)
session
- current sessionremote
- remote propertyjavax.jcr.Node getNode(javax.jcr.Session session, RemoteNode remote)
session
- current sessionremote
- remote nodejavax.jcr.version.Version getVersion(javax.jcr.Session session, RemoteVersion remote)
session
- current sessionremote
- remote versionjavax.jcr.version.VersionHistory getVersionHistory(javax.jcr.Session session, RemoteVersionHistory remote)
session
- current sessionremote
- remote version historyjavax.jcr.nodetype.NodeType getNodeType(RemoteNodeType remote)
remote
- remote node typejavax.jcr.nodetype.ItemDefinition 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 definitionjavax.jcr.nodetype.NodeDefinition getNodeDef(RemoteNodeDefinition remote)
remote
- remote node definitionjavax.jcr.nodetype.PropertyDefinition getPropertyDef(RemotePropertyDefinition remote)
remote
- remote property definitionjavax.jcr.lock.Lock getLock(javax.jcr.Session session, RemoteLock remote)
session
- current sessionremote
- remote lockjavax.jcr.query.QueryManager getQueryManager(javax.jcr.Session session, RemoteQueryManager remote)
session
- current sessionremote
- remote query managerjavax.jcr.query.Query getQuery(javax.jcr.Session session, RemoteQuery remote)
session
- current sessionremote
- remote queryjavax.jcr.query.QueryResult getQueryResult(javax.jcr.Session session, RemoteQueryResult remote)
session
- current sessionremote
- remote query resultjavax.jcr.query.Row getRow(javax.jcr.Session session, RemoteRow remote)
session
- current sessionremote
- remote query rowjavax.jcr.NodeIterator getNodeIterator(javax.jcr.Session session, RemoteIterator remote)
session
- current sessionremote
- remote node iteratorjavax.jcr.PropertyIterator getPropertyIterator(javax.jcr.Session session, RemoteIterator remote)
session
- current sessionremote
- remote property iteratorjavax.jcr.version.VersionIterator getVersionIterator(javax.jcr.Session session, RemoteIterator remote)
session
- current sessionremote
- remote version iteratorjavax.jcr.nodetype.NodeTypeIterator getNodeTypeIterator(RemoteIterator remote)
remote
- remote node type iteratorjavax.jcr.query.RowIterator getRowIterator(javax.jcr.Session session, RemoteIterator remote)
session
- current sessionremote
- remote row iteratorjavax.jcr.lock.LockManager getLockManager(javax.jcr.Session session, RemoteLockManager lockManager)
javax.jcr.version.VersionManager getVersionManager(javax.jcr.Session session, RemoteVersionManager versionManager)
javax.jcr.security.AccessControlManager getAccessControlManager(RemoteAccessControlManager remote)
remote
- remote access control managerjavax.jcr.security.AccessControlPolicy getAccessControlPolicy(RemoteAccessControlPolicy remote)
remote
- remote access control policyjavax.jcr.security.AccessControlPolicy[] getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
remote
- array of remote access control policiesjavax.jcr.security.AccessControlPolicyIterator getAccessControlPolicyIterator(RemoteIterator remote)
remote
- access control policy iteratorjavax.jcr.security.AccessControlEntry getAccessControlEntry(RemoteAccessControlEntry remote)
remote
- remote access control entryjavax.jcr.security.AccessControlEntry[] 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 iteratorjavax.jcr.security.Privilege getPrivilege(RemotePrivilege remote)
remote
- remote privilegejavax.jcr.security.Privilege[] getPrivilege(RemotePrivilege[] remote)
remote
- array of remote privilegeCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.