adding Get by IntentId to LinkResourceService
Change-Id: Ic27daef6e3e55a7d2301f8009432d6c216e1523d
Showing
2 changed files
with
8 additions
and
0 deletions
... | @@ -30,6 +30,8 @@ public interface LinkResourceService { | ... | @@ -30,6 +30,8 @@ public interface LinkResourceService { |
30 | */ | 30 | */ |
31 | Iterable<LinkResourceAllocations> getAllocations(); | 31 | Iterable<LinkResourceAllocations> getAllocations(); |
32 | 32 | ||
33 | + LinkResourceAllocations getAllocation(IntentId intentId); | ||
34 | + | ||
33 | /** | 35 | /** |
34 | * Returns all allocated resources to given link. | 36 | * Returns all allocated resources to given link. |
35 | * | 37 | * | ... | ... |
... | @@ -48,6 +48,12 @@ public class LinkResourceManager implements LinkResourceService { | ... | @@ -48,6 +48,12 @@ public class LinkResourceManager implements LinkResourceService { |
48 | } | 48 | } |
49 | 49 | ||
50 | @Override | 50 | @Override |
51 | + public LinkResourceAllocations getAllocation(IntentId intentId) { | ||
52 | + // TODO Auto-generated method stub | ||
53 | + return null; | ||
54 | + } | ||
55 | + | ||
56 | + @Override | ||
51 | public Iterable<LinkResourceAllocations> getAllocations(Link link) { | 57 | public Iterable<LinkResourceAllocations> getAllocations(Link link) { |
52 | // TODO Auto-generated method stub | 58 | // TODO Auto-generated method stub |
53 | return null; | 59 | return null; | ... | ... |
-
Please register or login to post a comment