adding Get by IntentId to LinkResourceService

Change-Id: Ic27daef6e3e55a7d2301f8009432d6c216e1523d
This commit is contained in:
Brian O'Connor 2014-10-23 13:36:23 -07:00
parent 8d9d38f3e9
commit e7e4bd5825
2 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,8 @@ public interface LinkResourceService {
*/ */
Iterable<LinkResourceAllocations> getAllocations(); Iterable<LinkResourceAllocations> getAllocations();
LinkResourceAllocations getAllocation(IntentId intentId);
/** /**
* Returns all allocated resources to given link. * Returns all allocated resources to given link.
* *

View File

@ -47,6 +47,12 @@ public class LinkResourceManager implements LinkResourceService {
return null; return null;
} }
@Override
public LinkResourceAllocations getAllocation(IntentId intentId) {
// TODO Auto-generated method stub
return null;
}
@Override @Override
public Iterable<LinkResourceAllocations> getAllocations(Link link) { public Iterable<LinkResourceAllocations> getAllocations(Link link) {
// TODO Auto-generated method stub // TODO Auto-generated method stub