public class RepositoriesElem extends TreeParent implements ArgeoNames
RepositoryFactory
that enable a user to "mount" various repositories
in a single Tree like View. It is usually meant to be at the root of the UI
Tree and thus TreeParent.getParent()
method will return null.
The RepositoryFactory
is injected at instantiation time and must be
use get or register new Repository
objects upon which a reference is
kept here.ARGEO_CIPHER, ARGEO_IS_KEY, ARGEO_ITERATION_COUNT, ARGEO_IV, ARGEO_KEY_LENGTH, ARGEO_KEYRING, ARGEO_NAMESPACE, ARGEO_PASSWORD, ARGEO_REMOTE, ARGEO_SALT, ARGEO_SECRET_KEY_ENCRYPTION, ARGEO_SECRET_KEY_FACTORY, ARGEO_URI, ARGEO_USER_ID
Constructor and Description |
---|
RepositoriesElem(java.lang.String name,
RepositoryRegister repositoryRegister,
RepositoryFactory repositoryFactory,
TreeParent parent,
Session userSession,
Keyring keyring) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRemoteRepositories(Keyring jcrKeyring) |
java.lang.Object[] |
getChildren()
Override normal behavior to initialize the various repositories only at
request time
|
RepositoryRegister |
getRepositoryRegister()
Returns the
RepositoryRegister wrapped by this object. |
void |
registerNewRepository(java.lang.String alias,
Repository repository) |
addChild, clearChildren, compareTo, dispose, equals, getChildByName, getChildrenOfType, getName, getParent, hasChildren, hashCode, isLoaded, removeChild, setParent, toString
public RepositoriesElem(java.lang.String name, RepositoryRegister repositoryRegister, RepositoryFactory repositoryFactory, TreeParent parent, Session userSession, Keyring keyring)
public java.lang.Object[] getChildren()
getChildren
in class TreeParent
protected void addRemoteRepositories(Keyring jcrKeyring) throws RepositoryException
RepositoryException
public void registerNewRepository(java.lang.String alias, Repository repository)
public RepositoryRegister getRepositoryRegister()
RepositoryRegister
wrapped by this object.Copyright © 2007–2020. All rights reserved.