@Component
public abstract class ServiceHelpers
extends java.lang.Object
| Constructor and Description |
|---|
ServiceHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Long |
getContentSize(javax.jcr.Node ds)
Get the size of the JCR content binary property
|
static java.lang.Long |
getDatastreamSize(javax.jcr.Node ds)
Get the size of a datastream by calculating the size of the properties
and the binary properties
|
static java.lang.Long |
getNodePropertySize(javax.jcr.Node node)
Get the total size of a Node's properties
|
static java.lang.Long |
getObjectSize(javax.jcr.Node obj) |
static long |
getRepositoryCount(javax.jcr.Repository repository) |
static long |
getRepositorySize(javax.jcr.Repository repository) |
public static java.lang.Long getNodePropertySize(javax.jcr.Node node)
throws javax.jcr.RepositoryException
node - javax.jcr.RepositoryExceptionpublic static java.lang.Long getObjectSize(javax.jcr.Node obj)
throws javax.jcr.RepositoryException
obj - javax.jcr.RepositoryExceptionpublic static java.lang.Long getDatastreamSize(javax.jcr.Node ds)
throws javax.jcr.RepositoryException
ds - javax.jcr.RepositoryExceptionpublic static java.lang.Long getContentSize(javax.jcr.Node ds)
ds - javax.jcr.RepositoryExceptionpublic static long getRepositoryCount(javax.jcr.Repository repository)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static long getRepositorySize(javax.jcr.Repository repository)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.