use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogCategoryUtils method resetCatalogCategory.
public static void resetCatalogCategory(URI tenantId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.categories().resetCatalog(tenantId);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class OrderUtils method deleteOrders.
public static void deleteOrders(Date startDate, Date endDate, URI tenantId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.orders().deleteOrders(dateToLongStr(startDate), dateToLongStr(endDate), tenantId, null);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class OrderUtils method cancelOrder.
public static void cancelOrder(URI orderId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.orders().cancelOrder(orderId);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogServiceUtils method moveDownServiceField.
public static void moveDownServiceField(URI catalogServiceId, String fieldName) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.services().moveDownField(catalogServiceId, fieldName);
}
use of com.emc.vipr.client.ViPRCatalogClient2 in project coprhd-controller by CoprHD.
the class CatalogServiceUtils method moveDownService.
public static void moveDownService(URI catalogServiceId) {
ViPRCatalogClient2 catalog = getCatalogClient();
catalog.services().moveDown(catalogServiceId);
}
Aggregations