public class GetMetadataTask extends SessionedTask<java.util.Map<Ref,Metadata>>
| Constructor and Description |
|---|
GetMetadataTask(java.util.Set<Ref> refs)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<Ref,Metadata> |
_execute()
Subclasses implement this method
|
static <T extends Metadata> |
getMetadata(ConfigService configService, Ref ref) |
static java.util.Map<Ref,Metadata> |
getMetadata(ConfigService configService, java.util.Set<Ref> refs) |
static <T extends Metadata> |
getMetadata(ConfigService configService, java.lang.String session, Ref ref) |
static <T extends Metadata> |
getMetadata(ConfigService configService, java.lang.String session, Ref ref, boolean sanitize) |
static java.util.Map<Ref,Metadata> |
getMetadata(ConfigService configService, java.lang.String session, java.util.Set<Ref> refs) |
static java.util.Map<Ref,Metadata> |
getMetadata(ConfigService configService, java.lang.String session, java.util.Set<Ref> refs, boolean sanitize) |
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic GetMetadataTask(java.util.Set<Ref> refs)
refs - the refs to get the metadata ofpublic static <T extends Metadata> T getMetadata(ConfigService configService, Ref ref) throws NotFoundException
NotFoundExceptionpublic static <T extends Metadata> T getMetadata(ConfigService configService, java.lang.String session, Ref ref) throws NotFoundException
NotFoundExceptionpublic static <T extends Metadata> T getMetadata(ConfigService configService, java.lang.String session, Ref ref, boolean sanitize) throws NotFoundException
NotFoundExceptionpublic static java.util.Map<Ref,Metadata> getMetadata(ConfigService configService, java.util.Set<Ref> refs) throws NotFoundException
NotFoundExceptionpublic static java.util.Map<Ref,Metadata> getMetadata(ConfigService configService, java.lang.String session, java.util.Set<Ref> refs) throws NotFoundException
NotFoundExceptionpublic static java.util.Map<Ref,Metadata> getMetadata(ConfigService configService, java.lang.String session, java.util.Set<Ref> refs, boolean sanitize) throws NotFoundException
NotFoundExceptionprotected java.util.Map<Ref,Metadata> _execute() throws java.lang.Exception
SessionedTask_execute in class SessionedTask<java.util.Map<Ref,Metadata>>java.lang.Exception