@Override public boolean isStandardDescriptor( String key ) { return repository.isStandardDescriptor(key); }
@Override public boolean isStandardDescriptor(final String key) { return this.delegate.isStandardDescriptor(key); }
public boolean isStandardDescriptor(String key) { return wrapped.isStandardDescriptor(key); }
/** {@inheritDoc} */ public boolean isStandardDescriptor(String key) throws RemoteException { return repository.isStandardDescriptor(key); }
@Override public boolean isStandardDescriptor(String key) { return delegate.isStandardDescriptor(key); }
public boolean isStandardDescriptor(String key) { return repository.isStandardDescriptor(key); }
public boolean isStandardDescriptor(String key) { return repository.isStandardDescriptor(key); }
public boolean isStandardDescriptor(String key) { return delegatee.isStandardDescriptor(key); }
public boolean isStandardDescriptor(String key) { Repository curRepository = getCurrentThreadRepository(); if (curRepository != null) { return curRepository.isStandardDescriptor(key); } return false; }
@Override public boolean isStandardDescriptor(String key) { Repository repo = getRepository(); if (repo != null) { return repo.isStandardDescriptor(key); } logger.error("isStandardDescriptor: Repository not available"); return false; } }
public boolean isStandardDescriptor(String key) { try { return getRepository().isStandardDescriptor(key); } catch (RepositoryException e) { log.error("RepositoryException: ",e); } return false; }
public boolean isStandardDescriptor(String key) { if (jcrDelegateeRepository != null) { return jcrDelegateeRepository.isStandardDescriptor(key); } if (hippoRepository != null) { ClassLoader currentClassloader = switchToRepositoryClassloader(); try { return hippoRepository.getRepository().isStandardDescriptor(key); } finally { if (currentClassloader != null) { Thread.currentThread().setContextClassLoader(currentClassloader); } } } return false; }
/** * Tests that the required repository descriptors are available. */ public void testRequiredDescriptors() { Repository rep = session.getRepository(); for (Iterator<String> it = requiredDescriptorKeys.iterator(); it.hasNext();) { String descName = it.next(); assertTrue(descName + " is a standard descriptor", rep.isStandardDescriptor(descName)); if (rep.isSingleValueDescriptor(descName)) { Value val = rep.getDescriptorValue(descName); assertNotNull("Required descriptor is missing: " + descName, val); } else { Value[] vals = rep.getDescriptorValues(descName); assertNotNull("Required descriptor is missing: " + descName, vals); } } }