public class SakaiFacadeImpl extends Object implements SakaiFacade
This is an implementation of SakaiFacade interface and it provides all necessary methods, which are depend on the Sakai Services. This will allow the separation of Signup Tool and the Sakai Tools
GROUP_PREFIX, GROUP_PROP_SIGNUP_IGNORE, GROUP_PROP_SITEINFO_VISIBLE, NO_LOCATION, REALM_ID_FOR_LOGIN_REQUIRED_ONLY, SIGNUP_ATTEND, SIGNUP_ATTEND_ALL, SIGNUP_CREATE_GROUP, SIGNUP_CREATE_GROUP_ALL, SIGNUP_CREATE_SITE, SIGNUP_DELETE_GROUP, SIGNUP_DELETE_GROUP_ALL, SIGNUP_DELETE_SITE, SIGNUP_UPDATE_GROUP, SIGNUP_UPDATE_GROUP_ALL, SIGNUP_UPDATE_SITE, SIGNUP_VIEW, SIGNUP_VIEW_ALL, STUDENT_ROLE_ID| Constructor and Description |
|---|
SakaiFacadeImpl() |
public void setFunctionManager(FunctionManager functionManager)
functionManager - a Sakai FunctionManager objectpublic void setToolManager(ToolManager toolManager)
toolManager - a Sakai ToolManager objectpublic ToolManager getToolManager()
getToolManager in interface SakaiFacadepublic void setSecurityService(SecurityService securityService)
securityService - a Sakai SecurityService objectpublic void setSessionManager(SessionManager sessionManager)
sessionManager - a Sakai SessionManager objectpublic void setSiteService(SiteService siteService)
siteService - a Sakai SiteService objectpublic SiteService getSiteService()
getSiteService in interface SakaiFacadepublic void setUserDirectoryService(UserDirectoryService userDirectoryService)
userDirectoryService - a Sakai UserDirectoryService objectpublic void setCalendarService(CalendarService calendarService)
calendarService - a Sakai CalendarService objectpublic ServerConfigurationService getServerConfigurationService()
getServerConfigurationService in interface SakaiFacadepublic void setServerConfigurationService(ServerConfigurationService serverConfigurationService)
serverConfigurationService - a Sakai ServerConfigurationService objectpublic FormattedText getFormattedText()
getFormattedText in interface SakaiFacadepublic void setFormattedText(FormattedText formattedText)
formattedText - a FormattedText objectpublic AuthzGroupService getAuthzGroupService()
public void setAuthzGroupService(AuthzGroupService authzGroupService)
public Calendar getAdditionalCalendar(String siteId) throws PermissionException
getAdditionalCalendar in interface SakaiFacadePermissionExceptionpublic void init()
public boolean isUserAdmin(String userId)
isUserAdmin in interface SakaiFacadepublic String getCurrentUserId()
getCurrentUserId in interface SakaiFacadepublic User getUser(String userId)
getUser in interface SakaiFacadepublic User getUserQuietly(String userId)
getUserQuietly in interface SakaiFacadepublic boolean checkForUser(String userId)
checkForUser in interface SakaiFacadepublic String getUserDisplayName(String userId)
getUserDisplayName in interface SakaiFacadepublic String getUserDisplayLastFirstName(String userId)
getUserDisplayLastFirstName in interface SakaiFacadepublic String getCurrentLocationId()
getCurrentLocationId in interface SakaiFacadepublic String getCurrentPageId()
getCurrentPageId in interface SakaiFacadepublic String getSiteSignupPageId(String siteId)
getSiteSignupPageId in interface SakaiFacadepublic String getLocationTitle(String locationId)
getLocationTitle in interface SakaiFacadepublic List<String> getUserPublishedSiteIds(String userId)
getUserPublishedSiteIds in interface SakaiFacadepublic List<SignupSite> getUserSites(String userId)
getUserSites in interface SakaiFacadepublic boolean isAllowedGroup(String userId, String permission, String siteId, String groupId)
isAllowedGroup in interface SakaiFacadepublic boolean isAllowedSite(String userId, String permission, String siteId)
isAllowedSite in interface SakaiFacadepublic String getUserId(String eid) throws UserNotDefinedException
getUserId in interface SakaiFacadeUserNotDefinedExceptionpublic List<SignupUser> getAllUsers(SignupMeeting meeting)
getAllUsers in interface SakaiFacadepublic List<SignupUser> getAllPossibleAttendees(SignupMeeting meeting)
getAllPossibleAttendees in interface SakaiFacadepublic List<SignupUser> getAllPossibleCoordinators(SignupMeeting meeting)
getAllPossibleCoordinators in interface SakaiFacadepublic List<SignupUser> getAllPossbileCoordinatorsOnFastTrack(SignupMeeting meeting)
getAllPossbileCoordinatorsOnFastTrack in interface SakaiFacadepublic SignupUser getSignupUser(SignupMeeting meeting, String userId)
getSignupUser in interface SakaiFacadepublic List<User> getUsersWithPermission(String permission)
getUsersWithPermission in interface SakaiFacadepublic boolean hasPermissionToCreate(SignupMeeting meeting, String userId)
hasPermissionToCreate in interface SakaiFacadepublic Calendar getCalendar(String siteId) throws PermissionException
getCalendar in interface SakaiFacadePermissionExceptionpublic Calendar getCalendarById(String calendarId) throws PermissionException
getCalendarById in interface SakaiFacadePermissionExceptionpublic Group getGroup(String siteId, String groupId) throws IdUnusedException
getGroup in interface SakaiFacadeIdUnusedExceptionpublic TimeService getTimeService()
getTimeService in interface SakaiFacadepublic void setTimeService(TimeService timeService)
timeService - a TimeService object.public ContentHostingService getContentHostingService()
getContentHostingService in interface SakaiFacadepublic void setContentHostingService(ContentHostingService contentHostingService)
contentHostingService - a ContentHostingService objectpublic Collection<User> getUsersByEmail(String email)
getUsersByEmail in interface SakaiFacadepublic User getUserByEmail(String email)
getUserByEmail in interface SakaiFacadepublic User getUserByEid(String eid)
getUserByEid in interface SakaiFacadepublic boolean isCsvExportEnabled()
isCsvExportEnabled in interface SakaiFacadepublic SecurityAdvisor pushAllowCalendarEdit(Calendar calendar)
pushAllowCalendarEdit in interface SakaiFacadepublic SecurityAdvisor pushSecurityAdvisor()
pushSecurityAdvisor in interface SakaiFacadepublic void popSecurityAdvisor(SecurityAdvisor advisor)
popSecurityAdvisor in interface SakaiFacadepublic String createGroup(String siteId, String title, String description, List<String> userUuids)
createGroup in interface SakaiFacadepublic boolean addUsersToGroup(Collection<String> userIds, String siteId, String groupId, String timeslottoGroup)
addUsersToGroup in interface SakaiFacadepublic boolean synchonizeGroupTitle(String siteId, String groupId, String newTitle)
synchonizeGroupTitle in interface SakaiFacadepublic boolean removeUserFromGroup(String userId, String siteId, String groupId)
removeUserFromGroup in interface SakaiFacadepublic List<String> getGroupMembers(String siteId, String groupId)
getGroupMembers in interface SakaiFacadepublic boolean checkForGroup(String siteId, String groupId)
checkForGroup in interface SakaiFacadeCopyright © 2007–2017 Sakai Project. All rights reserved.