diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusContract.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusContract.java index 8cfd244373ca1..5db7be986897a 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusContract.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusContract.java @@ -10,9 +10,13 @@ import com.microsoft.windowsazure.services.serviceBus.models.GetRuleResult; import com.microsoft.windowsazure.services.serviceBus.models.GetSubscriptionResult; import com.microsoft.windowsazure.services.serviceBus.models.GetTopicResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListRulesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListRulesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsResult; import com.microsoft.windowsazure.services.serviceBus.models.Message; import com.microsoft.windowsazure.services.serviceBus.models.Queue; @@ -52,6 +56,8 @@ ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, St ListQueuesResult listQueues() throws ServiceException; + ListQueuesResult listQueues(ListQueuesOptions options) throws ServiceException; + CreateTopicResult createTopic(Topic topic) throws ServiceException; void deleteTopic(String topicName) throws ServiceException; @@ -60,6 +66,8 @@ ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, St ListTopicsResult listTopics() throws ServiceException; + ListTopicsResult listTopics(ListTopicsOptions options) throws ServiceException; + CreateSubscriptionResult createSubscription(String topicName, Subscription subscription) throws ServiceException; void deleteSubscription(String topicName, String subscriptionName) throws ServiceException; @@ -68,6 +76,9 @@ ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, St ListSubscriptionsResult listSubscriptions(String topicName) throws ServiceException; + ListSubscriptionsResult listSubscriptions(String topicName, ListSubscriptionsOptions options) + throws ServiceException; + CreateRuleResult createRule(String topicName, String subscriptionName, Rule rule) throws ServiceException; void deleteRule(String topicName, String subscriptionName, String ruleName) throws ServiceException; @@ -75,4 +86,7 @@ ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, St GetRuleResult getRule(String topicName, String subscriptionName, String ruleName) throws ServiceException; ListRulesResult listRules(String topicName, String subscriptionName) throws ServiceException; + + ListRulesResult listRules(String topicName, String subscriptionName, ListRulesOptions options) + throws ServiceException; } diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusService.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusService.java index 2dd3efd126508..f214391de0ac3 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusService.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/ServiceBusService.java @@ -13,9 +13,13 @@ import com.microsoft.windowsazure.services.serviceBus.models.GetRuleResult; import com.microsoft.windowsazure.services.serviceBus.models.GetSubscriptionResult; import com.microsoft.windowsazure.services.serviceBus.models.GetTopicResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListRulesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListRulesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsResult; import com.microsoft.windowsazure.services.serviceBus.models.Message; import com.microsoft.windowsazure.services.serviceBus.models.Queue; @@ -54,36 +58,31 @@ public ServiceBusContract withFilter(ServiceFilter filter) { return next.withFilter(filter); } - public void sendQueueMessage(String queueName, Message message) - throws ServiceException { + public void sendQueueMessage(String queueName, Message message) throws ServiceException { next.sendQueueMessage(queueName, message); } - public ReceiveQueueMessageResult receiveQueueMessage(String queueName) - throws ServiceException { + public ReceiveQueueMessageResult receiveQueueMessage(String queueName) throws ServiceException { return next.receiveQueueMessage(queueName); } - public ReceiveQueueMessageResult receiveQueueMessage(String queueName, - ReceiveMessageOptions options) throws ServiceException { + public ReceiveQueueMessageResult receiveQueueMessage(String queueName, ReceiveMessageOptions options) + throws ServiceException { return next.receiveQueueMessage(queueName, options); } - public void sendTopicMessage(String topicName, Message message) - throws ServiceException { + public void sendTopicMessage(String topicName, Message message) throws ServiceException { next.sendTopicMessage(topicName, message); } - public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, - String subscriptionName) throws ServiceException { + public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, String subscriptionName) + throws ServiceException { return next.receiveSubscriptionMessage(topicName, subscriptionName); } - public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, - String subscriptionName, ReceiveMessageOptions options) - throws ServiceException { - return next.receiveSubscriptionMessage(topicName, subscriptionName, - options); + public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, String subscriptionName, + ReceiveMessageOptions options) throws ServiceException { + return next.receiveSubscriptionMessage(topicName, subscriptionName, options); } public void unlockMessage(Message message) throws ServiceException { @@ -126,17 +125,16 @@ public ListTopicsResult listTopics() throws ServiceException { return next.listTopics(); } - public CreateSubscriptionResult createSubscription(String topicName, Subscription subscription) throws ServiceException { + public CreateSubscriptionResult createSubscription(String topicName, Subscription subscription) + throws ServiceException { return next.createSubscription(topicName, subscription); } - public void deleteSubscription(String topicName, String subscriptionName) - throws ServiceException { + public void deleteSubscription(String topicName, String subscriptionName) throws ServiceException { next.deleteSubscription(topicName, subscriptionName); } - public GetSubscriptionResult getSubscription(String topicName, String subscriptionName) - throws ServiceException { + public GetSubscriptionResult getSubscription(String topicName, String subscriptionName) throws ServiceException { return next.getSubscription(topicName, subscriptionName); } @@ -144,23 +142,37 @@ public ListSubscriptionsResult listSubscriptions(String topicName) throws Servic return next.listSubscriptions(topicName); } - public CreateRuleResult createRule(String topicName, String subscriptionName, - Rule rule) throws ServiceException { + public CreateRuleResult createRule(String topicName, String subscriptionName, Rule rule) throws ServiceException { return next.createRule(topicName, subscriptionName, rule); } - public void deleteRule(String topicName, String subscriptionName, - String ruleName) throws ServiceException { + public void deleteRule(String topicName, String subscriptionName, String ruleName) throws ServiceException { next.deleteRule(topicName, subscriptionName, ruleName); } - public GetRuleResult getRule(String topicName, String subscriptionName, - String ruleName) throws ServiceException { + public GetRuleResult getRule(String topicName, String subscriptionName, String ruleName) throws ServiceException { return next.getRule(topicName, subscriptionName, ruleName); } - public ListRulesResult listRules(String topicName, String subscriptionName) - throws ServiceException { + public ListRulesResult listRules(String topicName, String subscriptionName) throws ServiceException { return next.listRules(topicName, subscriptionName); } + + public ListQueuesResult listQueues(ListQueuesOptions options) throws ServiceException { + return next.listQueues(options); + } + + public ListTopicsResult listTopics(ListTopicsOptions options) throws ServiceException { + return next.listTopics(options); + } + + public ListSubscriptionsResult listSubscriptions(String topicName, ListSubscriptionsOptions options) + throws ServiceException { + return next.listSubscriptions(topicName, options); + } + + public ListRulesResult listRules(String topicName, String subscriptionName, ListRulesOptions options) + throws ServiceException { + return next.listRules(topicName, subscriptionName, options); + } } diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusExceptionProcessor.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusExceptionProcessor.java index e0dcbd501eaad..befbc7817a183 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusExceptionProcessor.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusExceptionProcessor.java @@ -16,9 +16,13 @@ import com.microsoft.windowsazure.services.serviceBus.models.GetRuleResult; import com.microsoft.windowsazure.services.serviceBus.models.GetSubscriptionResult; import com.microsoft.windowsazure.services.serviceBus.models.GetTopicResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListRulesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListRulesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsResult; import com.microsoft.windowsazure.services.serviceBus.models.Message; import com.microsoft.windowsazure.services.serviceBus.models.Queue; @@ -55,8 +59,7 @@ private ServiceException processCatch(ServiceException e) { return ServiceExceptionFactory.process("serviceBus", e); } - public void sendQueueMessage(String path, Message message) - throws ServiceException { + public void sendQueueMessage(String path, Message message) throws ServiceException { try { next.sendQueueMessage(path, message); } @@ -68,8 +71,7 @@ public void sendQueueMessage(String path, Message message) } } - public ReceiveQueueMessageResult receiveQueueMessage(String queueName) - throws ServiceException { + public ReceiveQueueMessageResult receiveQueueMessage(String queueName) throws ServiceException { try { return next.receiveQueueMessage(queueName); } @@ -81,8 +83,8 @@ public ReceiveQueueMessageResult receiveQueueMessage(String queueName) } } - public ReceiveQueueMessageResult receiveQueueMessage(String queueName, - ReceiveMessageOptions options) throws ServiceException { + public ReceiveQueueMessageResult receiveQueueMessage(String queueName, ReceiveMessageOptions options) + throws ServiceException { try { return next.receiveQueueMessage(queueName, options); } @@ -94,8 +96,7 @@ public ReceiveQueueMessageResult receiveQueueMessage(String queueName, } } - public void sendTopicMessage(String path, Message message) - throws ServiceException { + public void sendTopicMessage(String path, Message message) throws ServiceException { try { next.sendTopicMessage(path, message); } @@ -107,11 +108,10 @@ public void sendTopicMessage(String path, Message message) } } - public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, - String subscriptionName) throws ServiceException { + public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, String subscriptionName) + throws ServiceException { try { - return next.receiveSubscriptionMessage(topicName, - subscriptionName); + return next.receiveSubscriptionMessage(topicName, subscriptionName); } catch (UniformInterfaceException e) { throw processCatch(new ServiceException(e)); @@ -121,12 +121,10 @@ public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicN } } - public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, - String subscriptionName, ReceiveMessageOptions options) - throws ServiceException { + public ReceiveSubscriptionMessageResult receiveSubscriptionMessage(String topicName, String subscriptionName, + ReceiveMessageOptions options) throws ServiceException { try { - return next.receiveSubscriptionMessage(topicName, - subscriptionName, options); + return next.receiveSubscriptionMessage(topicName, subscriptionName, options); } catch (UniformInterfaceException e) { throw processCatch(new ServiceException(e)); @@ -256,7 +254,8 @@ public ListTopicsResult listTopics() throws ServiceException { } } - public CreateSubscriptionResult createSubscription(String topicPath, Subscription subscription) throws ServiceException { + public CreateSubscriptionResult createSubscription(String topicPath, Subscription subscription) + throws ServiceException { try { return next.createSubscription(topicPath, subscription); } @@ -268,8 +267,7 @@ public CreateSubscriptionResult createSubscription(String topicPath, Subscriptio } } - public void deleteSubscription(String topicPath, String subscriptionName) - throws ServiceException { + public void deleteSubscription(String topicPath, String subscriptionName) throws ServiceException { try { next.deleteSubscription(topicPath, subscriptionName); } @@ -281,8 +279,7 @@ public void deleteSubscription(String topicPath, String subscriptionName) } } - public GetSubscriptionResult getSubscription(String topicPath, String subscriptionName) - throws ServiceException { + public GetSubscriptionResult getSubscription(String topicPath, String subscriptionName) throws ServiceException { try { return next.getSubscription(topicPath, subscriptionName); } @@ -306,8 +303,7 @@ public ListSubscriptionsResult listSubscriptions(String topicPath) throws Servic } } - public CreateRuleResult createRule(String topicPath, String subscriptionName, - Rule rule) throws ServiceException { + public CreateRuleResult createRule(String topicPath, String subscriptionName, Rule rule) throws ServiceException { try { return next.createRule(topicPath, subscriptionName, rule); } @@ -319,8 +315,7 @@ public CreateRuleResult createRule(String topicPath, String subscriptionName, } } - public void deleteRule(String topicPath, String subscriptionName, - String ruleName) throws ServiceException { + public void deleteRule(String topicPath, String subscriptionName, String ruleName) throws ServiceException { try { next.deleteRule(topicPath, subscriptionName, ruleName); } @@ -332,8 +327,7 @@ public void deleteRule(String topicPath, String subscriptionName, } } - public GetRuleResult getRule(String topicPath, String subscriptionName, - String ruleName) throws ServiceException { + public GetRuleResult getRule(String topicPath, String subscriptionName, String ruleName) throws ServiceException { try { return next.getRule(topicPath, subscriptionName, ruleName); } @@ -345,8 +339,7 @@ public GetRuleResult getRule(String topicPath, String subscriptionName, } } - public ListRulesResult listRules(String topicPath, String subscriptionName) - throws ServiceException { + public ListRulesResult listRules(String topicPath, String subscriptionName) throws ServiceException { try { return next.listRules(topicPath, subscriptionName); } @@ -358,4 +351,54 @@ public ListRulesResult listRules(String topicPath, String subscriptionName) } } + public ListQueuesResult listQueues(ListQueuesOptions options) throws ServiceException { + try { + return next.listQueues(options); + } + catch (UniformInterfaceException e) { + throw processCatch(new ServiceException(e)); + } + catch (ClientHandlerException e) { + throw processCatch(new ServiceException(e)); + } + } + + public ListTopicsResult listTopics(ListTopicsOptions options) throws ServiceException { + try { + return next.listTopics(options); + } + catch (UniformInterfaceException e) { + throw processCatch(new ServiceException(e)); + } + catch (ClientHandlerException e) { + throw processCatch(new ServiceException(e)); + } + } + + public ListSubscriptionsResult listSubscriptions(String topicName, ListSubscriptionsOptions options) + throws ServiceException { + try { + return next.listSubscriptions(topicName, options); + } + catch (UniformInterfaceException e) { + throw processCatch(new ServiceException(e)); + } + catch (ClientHandlerException e) { + throw processCatch(new ServiceException(e)); + } + } + + public ListRulesResult listRules(String topicName, String subscriptionName, ListRulesOptions options) + throws ServiceException { + try { + return next.listRules(topicName, subscriptionName, options); + } + catch (UniformInterfaceException e) { + throw processCatch(new ServiceException(e)); + } + catch (ClientHandlerException e) { + throw processCatch(new ServiceException(e)); + } + } + } diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusRestProxy.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusRestProxy.java index 135d3e9c8ddc1..e7b51c7d4c886 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusRestProxy.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/implementation/ServiceBusRestProxy.java @@ -13,6 +13,7 @@ import com.microsoft.windowsazure.services.serviceBus.ServiceBusContract; +import com.microsoft.windowsazure.services.serviceBus.models.AbstractListOptions; import com.microsoft.windowsazure.services.serviceBus.models.CreateQueueResult; import com.microsoft.windowsazure.services.serviceBus.models.CreateRuleResult; import com.microsoft.windowsazure.services.serviceBus.models.CreateSubscriptionResult; @@ -21,9 +22,13 @@ import com.microsoft.windowsazure.services.serviceBus.models.GetRuleResult; import com.microsoft.windowsazure.services.serviceBus.models.GetSubscriptionResult; import com.microsoft.windowsazure.services.serviceBus.models.GetTopicResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListQueuesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListRulesOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListRulesResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListSubscriptionsResult; +import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsOptions; import com.microsoft.windowsazure.services.serviceBus.models.ListTopicsResult; import com.microsoft.windowsazure.services.serviceBus.models.Message; import com.microsoft.windowsazure.services.serviceBus.models.Queue; @@ -225,9 +230,9 @@ public GetQueueResult getQueue(String queuePath) throws ServiceException { .get(Queue.class)); } - public ListQueuesResult listQueues() throws ServiceException { - Feed feed = getResource() - .path("$Resources/Queues") + public ListQueuesResult listQueues(ListQueuesOptions options) throws ServiceException { + Feed feed = listOptions(options, getResource() + .path("$Resources/Queues")) .get(Feed.class); ArrayList queues = new ArrayList(); for (Entry entry : feed.getEntries()) { @@ -238,6 +243,16 @@ public ListQueuesResult listQueues() throws ServiceException { return result; } + private WebResource listOptions(AbstractListOptions options, WebResource path) { + if (options.getTop() != null) { + path = path.queryParam("$top", options.getTop().toString()); + } + if (options.getSkip() != null) { + path = path.queryParam("$skip", options.getSkip().toString()); + } + return path; + } + public CreateTopicResult createTopic(Topic entry) throws ServiceException { return new CreateTopicResult(getResource() .path(entry.getName()) @@ -257,9 +272,9 @@ public GetTopicResult getTopic(String TopicPath) throws ServiceException { .get(Topic.class)); } - public ListTopicsResult listTopics() throws ServiceException { - Feed feed = getResource() - .path("$Resources/Topics") + public ListTopicsResult listTopics(ListTopicsOptions options) throws ServiceException { + Feed feed = listOptions(options, getResource() + .path("$Resources/Topics")) .get(Feed.class); ArrayList Topics = new ArrayList(); for (Entry entry : feed.getEntries()) { @@ -295,10 +310,10 @@ public GetSubscriptionResult getSubscription(String topicPath, String subscripti .get(Subscription.class)); } - public ListSubscriptionsResult listSubscriptions(String topicPath) { - Feed feed = getResource() + public ListSubscriptionsResult listSubscriptions(String topicPath, ListSubscriptionsOptions options) { + Feed feed = listOptions(options, getResource() .path(topicPath) - .path("subscriptions") + .path("subscriptions")) .get(Feed.class); ArrayList list = new ArrayList(); for (Entry entry : feed.getEntries()) { @@ -343,12 +358,12 @@ public GetRuleResult getRule(String topicPath, String subscriptionName, .get(Rule.class)); } - public ListRulesResult listRules(String topicPath, String subscriptionName) { - Feed feed = getResource() + public ListRulesResult listRules(String topicPath, String subscriptionName, ListRulesOptions options) { + Feed feed = listOptions(options, getResource() .path(topicPath) .path("subscriptions") .path(subscriptionName) - .path("rules") + .path("rules")) .get(Feed.class); ArrayList list = new ArrayList(); for (Entry entry : feed.getEntries()) { @@ -359,4 +374,20 @@ public ListRulesResult listRules(String topicPath, String subscriptionName) { return result; } + public ListQueuesResult listQueues() throws ServiceException { + return listQueues(ListQueuesOptions.DEFAULT); + } + + public ListTopicsResult listTopics() throws ServiceException { + return listTopics(ListTopicsOptions.DEFAULT); + } + + public ListSubscriptionsResult listSubscriptions(String topicName) throws ServiceException { + return listSubscriptions(topicName, ListSubscriptionsOptions.DEFAULT); + } + + public ListRulesResult listRules(String topicName, String subscriptionName) throws ServiceException { + return listRules(topicName, subscriptionName, ListRulesOptions.DEFAULT); + } + } diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/AbstractListOptions.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/AbstractListOptions.java new file mode 100644 index 0000000000000..285d60bcc89c9 --- /dev/null +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/AbstractListOptions.java @@ -0,0 +1,26 @@ +package com.microsoft.windowsazure.services.serviceBus.models; + +public abstract class AbstractListOptions { + Integer skip; + Integer top; + + public Integer getSkip() { + return skip; + } + + @SuppressWarnings("unchecked") + public T setSkip(Integer skip) { + this.skip = skip; + return (T) this; + } + + public Integer getTop() { + return top; + } + + @SuppressWarnings("unchecked") + public T setTop(Integer top) { + this.top = top; + return (T) this; + } +} diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListQueuesOptions.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListQueuesOptions.java new file mode 100644 index 0000000000000..ae44c1e3e74ce --- /dev/null +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListQueuesOptions.java @@ -0,0 +1,5 @@ +package com.microsoft.windowsazure.services.serviceBus.models; + +public class ListQueuesOptions extends AbstractListOptions { + public static final ListQueuesOptions DEFAULT = new ListQueuesOptions(); +} diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListRulesOptions.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListRulesOptions.java new file mode 100644 index 0000000000000..1720a3051145b --- /dev/null +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListRulesOptions.java @@ -0,0 +1,5 @@ +package com.microsoft.windowsazure.services.serviceBus.models; + +public class ListRulesOptions extends AbstractListOptions { + public static final ListRulesOptions DEFAULT = new ListRulesOptions(); +} diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListSubscriptionsOptions.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListSubscriptionsOptions.java new file mode 100644 index 0000000000000..57532efcb586e --- /dev/null +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListSubscriptionsOptions.java @@ -0,0 +1,5 @@ +package com.microsoft.windowsazure.services.serviceBus.models; + +public class ListSubscriptionsOptions extends AbstractListOptions { + public static final ListSubscriptionsOptions DEFAULT = new ListSubscriptionsOptions(); +} diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListTopicsOptions.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListTopicsOptions.java new file mode 100644 index 0000000000000..3a65872bd67ef --- /dev/null +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/serviceBus/models/ListTopicsOptions.java @@ -0,0 +1,5 @@ +package com.microsoft.windowsazure.services.serviceBus.models; + +public class ListTopicsOptions extends AbstractListOptions { + public static final ListTopicsOptions DEFAULT = new ListTopicsOptions(); +}