public class ExecutionWindows2 extends AbstractCatalogBulkResources<ExecutionWindowRestRep> implements TenantResources<ExecutionWindowRestRep>
| Constructor and Description | 
|---|
ExecutionWindows2(ViPRCatalogClient2 parent,
                 RestClient client)  | 
| Modifier and Type | Method and Description | 
|---|---|
ExecutionWindowRestRep | 
create(ExecutionWindowCreateParam input)
Creates a execution window 
 | 
void | 
deactivate(java.net.URI id)
Deactivates the given execution window by ID. 
 | 
java.util.List<ExecutionWindowRestRep> | 
getByTenant(java.net.URI tenantId)
Gets the resources associated with a given tenant. 
 | 
java.util.List<ExecutionWindowRestRep> | 
getByTenant(java.net.URI tenantId,
           ResourceFilter<ExecutionWindowRestRep> filter)
Gets the resources associated with a given tenant, optionally filtering the results as they are returned. 
 | 
java.util.List<ExecutionWindowRestRep> | 
getByUserTenant()
Convenience method for retrieving by user's current tenant. 
 | 
java.util.List<ExecutionWindowRestRep> | 
getByUserTenant(ResourceFilter<ExecutionWindowRestRep> filter)
Convenience method for retrieving by user's current tenant. 
 | 
java.util.List<NamedRelatedResourceRep> | 
listByTenant(java.net.URI tenantId)
Lists resources associated with a given tenant. 
 | 
java.util.List<NamedRelatedResourceRep> | 
listByUserTenant()
Convenience method for listing by the user's current tenant. 
 | 
ExecutionWindowRestRep | 
update(java.net.URI id,
      ExecutionWindowUpdateParam input)
Updates the given execution window by ID. 
 | 
getByIds, getByRefs, listBulkIdsaddTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTags, withInactive, withInternalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByIds, getByRefsaddTags, get, get, getTags, removeTags, search, updateTagspublic ExecutionWindows2(ViPRCatalogClient2 parent, RestClient client)
public java.util.List<NamedRelatedResourceRep> listByUserTenant()
TenantResourcesEquivalent to: listByTenant(client.getUserTenant())
listByUserTenant in interface TenantResources<ExecutionWindowRestRep>TenantResources.listByTenant(URI)public java.util.List<ExecutionWindowRestRep> getByUserTenant()
TenantResourcesEquivalent to: getByTenant(client.getUserTenant())
getByUserTenant in interface TenantResources<ExecutionWindowRestRep>TenantResources.getByTenant(URI)public java.util.List<ExecutionWindowRestRep> getByUserTenant(ResourceFilter<ExecutionWindowRestRep> filter)
TenantResourcesEquivalent to: getByTenant(client.getUserTenant(), filter)
getByUserTenant in interface TenantResources<ExecutionWindowRestRep>TenantResources.getByTenant(URI, ResourceFilter)public java.util.List<NamedRelatedResourceRep> listByTenant(java.net.URI tenantId)
TenantResourceslistByTenant in interface TenantResources<ExecutionWindowRestRep>tenantId - the tenant ID.public java.util.List<ExecutionWindowRestRep> getByTenant(java.net.URI tenantId)
TenantResourcesgetByTenant in interface TenantResources<ExecutionWindowRestRep>tenantId - the tenant ID.Resources.getByRefs(java.util.Collection)public java.util.List<ExecutionWindowRestRep> getByTenant(java.net.URI tenantId, ResourceFilter<ExecutionWindowRestRep> filter)
TenantResourcesgetByTenant in interface TenantResources<ExecutionWindowRestRep>tenantId - the tenant ID.filter - the resource filter to apply to the results as they are returned (optional).Resources.getByRefs(java.util.Collection, ResourceFilter)public ExecutionWindowRestRep create(ExecutionWindowCreateParam input)
API Call: POST /catalog/execution-windows
input - the execution window configuration.public ExecutionWindowRestRep update(java.net.URI id, ExecutionWindowUpdateParam input)
API Call: PUT /catalog/execution-windows/{id}
id - the ID of the execution window to update.input - the update configuration.public void deactivate(java.net.URI id)
API Call: POST /catalog/execution-windows/{id}/deactivate
id - the ID of execution window to deactivate.