public class SakaiProxyImpl extends Object implements SakaiProxy
| Constructor and Description |
|---|
SakaiProxyImpl() |
public void init()
public String getCurrentUserId()
getCurrentUserId in interface SakaiProxypublic boolean isSuperUser()
isSuperUser in interface SakaiProxypublic Session getCurrentSession()
getCurrentSession in interface SakaiProxypublic List<Site> getAllSites()
getAllSites in interface SakaiProxypublic List<Site> getAllSitesByPages(Map<String,String> propsMap, int page, int pageMax, boolean orderByModifiedDate)
getAllSitesByPages in interface SakaiProxypublic void postEvent(String event, String reference, boolean modify)
postEvent in interface SakaiProxypublic Set<Tool> getAllTools()
getAllTools in interface SakaiProxypublic Tool getTool(String toolId)
getTool in interface SakaiProxypublic String[] getHomeTools()
getHomeTools in interface SakaiProxypublic String getSkinRepoProperty()
getSkinRepoProperty in interface SakaiProxypublic String getToolSkinCSS(String skinRepo)
getToolSkinCSS in interface SakaiProxypublic List<User> searchUsers(String search)
searchUsers in interface SakaiProxypublic User getUser(String id)
getUser in interface SakaiProxypublic User getUserByEid(String eid)
getUserByEid in interface SakaiProxypublic Site getSiteByRef(String siteRef)
getSiteByRef in interface SakaiProxypublic Site getSiteById(String siteId)
getSiteById in interface SakaiProxypublic void saveSite(Site site)
saveSite in interface SakaiProxypublic String getRootName()
getRootName in interface SakaiProxypublic String[] getServerConfigurationStrings(String property)
getServerConfigurationStrings in interface SakaiProxypublic Map<String,List<String>> getShoppingRealmOptions()
getShoppingRealmOptions in interface SakaiProxypublic Map<String,List<String>> getDelegatedAccessRealmOptions()
getDelegatedAccessRealmOptions in interface SakaiProxypublic void refreshCurrentUserAuthz()
refreshCurrentUserAuthz in interface SakaiProxypublic Set<String> getUserMembershipForCurrentUser()
getUserMembershipForCurrentUser in interface SakaiProxypublic List<Site> getSites(SiteService.SelectionType type, String search, Map<String,String> propsMap)
getSites in interface SakaiProxypublic boolean isShoppingTool()
isShoppingTool in interface SakaiProxypublic AuthzGroup getAuthzGroup(String siteId)
getAuthzGroup in interface SakaiProxypublic void removeRoleFromAuthzGroup(AuthzGroup group, Role role)
removeRoleFromAuthzGroup in interface SakaiProxypublic void copyNewRole(String siteRef, String copyRealm, String copyRole, String newRole)
copyNewRole in interface SakaiProxypublic SecurityAdvisor addSiteUpdateSecurityAdvisor()
addSiteUpdateSecurityAdvisor in interface SakaiProxypublic void popSecurityAdvisor(SecurityAdvisor advisor)
popSecurityAdvisor in interface SakaiProxypublic String getTermField()
getTermField in interface SakaiProxypublic boolean useCourseManagementApiForTerms()
useCourseManagementApiForTerms in interface SakaiProxypublic int showLatestXTerms()
public List<String[]> getTerms()
getTerms in interface SakaiProxypublic void sendEmail(String subject, String body)
sendEmail in interface SakaiProxypublic boolean getDisableUserTreeView()
getDisableUserTreeView in interface SakaiProxypublic boolean getDisableShoppingTreeView()
getDisableShoppingTreeView in interface SakaiProxypublic boolean isUserInstructor(String userId, String siteId)
isUserInstructor in interface SakaiProxypublic List<User> getInstructorsForSite(String siteId)
getInstructorsForSite in interface SakaiProxypublic boolean isUserMember(String userId, String siteRef)
isUserMember in interface SakaiProxypublic Map<String,String> isUserMember(String userId, Collection<String> siteRefs)
isUserMember in interface SakaiProxypublic boolean isShoppingPeriodInstructorEditable()
isShoppingPeriodInstructorEditable in interface SakaiProxypublic boolean getSyncMyworkspaceTool()
getSyncMyworkspaceTool in interface SakaiProxypublic String[] getHideRolesForInstructorViewAccess()
getHideRolesForInstructorViewAccess in interface SakaiProxypublic String[] getSubAdminOrderedRealmRoles()
getSubAdminOrderedRealmRoles in interface SakaiProxypublic boolean isActiveSiteFlagEnabled()
isActiveSiteFlagEnabled in interface SakaiProxypublic void setSessionUserId(String userId)
setSessionUserId in interface SakaiProxypublic boolean allowAccessAdminsSetBecomeUserPerm()
allowAccessAdminsSetBecomeUserPerm in interface SakaiProxypublic String siteReference(String context)
siteReference in interface SakaiProxypublic Placement getCurrentPlacement()
getCurrentPlacement in interface SakaiProxypublic boolean isProviderIdLookupEnabled()
isProviderIdLookupEnabled in interface SakaiProxypublic String getProviderId(String siteRef)
getProviderId in interface SakaiProxypublic String getHierarchySearchLabel(String hierarchyLevel)
getHierarchySearchLabel in interface SakaiProxypublic boolean isSearchHideTerm()
isSearchHideTerm in interface SakaiProxyCopyright © 2003–2016 Sakai Project. All rights reserved.