@Component public class ServiceHelpers extends Object
Modifier and Type | Method and Description |
---|---|
static Long |
getObjectSize(javax.jcr.Node obj) |
static long |
getRepositoryCount(javax.jcr.Repository repository) |
static long |
getRepositorySize(javax.jcr.Repository repository) |
public static Long getObjectSize(javax.jcr.Node obj) throws javax.jcr.RepositoryException
obj
- the objectjavax.jcr.RepositoryException
- if repository exception occurredpublic static long getRepositoryCount(javax.jcr.Repository repository) throws javax.jcr.RepositoryException
repository
- the repositoryjavax.jcr.RepositoryException
- if repository exception occurredpublic static long getRepositorySize(javax.jcr.Repository repository) throws javax.jcr.RepositoryException
repository
- the repositoryjavax.jcr.RepositoryException
- if repository exception occurredCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.