public interface SiteAssocManager
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociation(String fromContext,
String toContext)
Method to create a unidirectional association from one context to
another.
|
List<String> |
getAssociatedFrom(String context)
Method to get a list of contexts that the given context has been
associated to.
|
List<String> |
getAssociatedTo(String context)
Method to get a list of contexts from which associations have been made
to the given context.
|
Site |
getSite(String context) |
void |
removeAssociation(String fromContext,
String toContext)
Method to remove the unidirectional association from one context to
another.
|
void |
setSiteService(SiteService siteService) |
void setSiteService(SiteService siteService)
siteService - List<String> getAssociatedTo(String context)
context - The context that associations have been made to.List<String> getAssociatedFrom(String context)
context - The context that associations have been made from.void addAssociation(String fromContext, String toContext)
fromContext - The context from which to make the association.toContext - The context to make the association to.PermissionException - Exception thrown if current user doesn't have permission to
perform this action.void removeAssociation(String fromContext, String toContext)
fromContext - The context the association was made from.toContext - The context the association was made to.PermissionException - Exception thrown if current user doesn't have permission to
perform this action.Copyright © 2003–2016 The Sakai Foundation. All rights reserved.