public abstract class AbstractUserUtilities
extends java.lang.Object
Constructor and Description |
---|
AbstractUserUtilities() |
Modifier and Type | Method and Description |
---|---|
UIResponse |
addHoliday(HolidayModel holiday) |
protected abstract UIResponse |
addHolidayImpl(HolidayModel holiday) |
UIResponse |
addSchedule(AbstractScheduleModel schedule) |
protected abstract UIResponse |
addScheduleImpl(AbstractScheduleModel schedule) |
UIResponse |
editHoliday(java.lang.String holidayName,
HolidayModel holiday) |
protected abstract UIResponse |
editHolidayImpl(java.lang.String holidayName,
HolidayModel holiday) |
UIResponse |
editSchedule(java.lang.String scheduleName,
AbstractScheduleModel schedule) |
protected abstract UIResponse |
editScheduleImpl(java.lang.String scheduleName,
AbstractScheduleModel schedule) |
HolidayModel |
getHoliday(java.lang.String holidayName) |
protected abstract HolidayModel |
getHolidayImpl(java.lang.String holidayName) |
java.util.List<java.lang.String> |
getHolidayNames() |
protected abstract java.util.Collection<java.lang.String> |
getHolidayNamesImpl() |
java.util.List<HolidayModel> |
getHolidays() |
protected abstract java.util.Collection<HolidayModel> |
getHolidaysImpl() |
java.util.List<java.lang.String> |
getRoles(java.lang.String userSource) |
protected abstract java.util.Collection<java.lang.String> |
getRolesImpl(java.lang.String userSource) |
AbstractScheduleModel |
getSchedule(java.lang.String scheduleName) |
protected abstract AbstractScheduleModel |
getScheduleImpl(java.lang.String scheduleName) |
java.util.List<java.lang.String> |
getScheduleNames() |
protected abstract java.util.Collection<java.lang.String> |
getScheduleNamesImpl() |
java.util.List<AbstractScheduleModel> |
getSchedules() |
protected abstract java.util.Collection<AbstractScheduleModel> |
getSchedulesImpl() |
User |
getUser(java.lang.String userSource,
java.lang.String username) |
protected abstract User |
getUserImpl(java.lang.String userSource,
java.lang.String username)
Find a specific user based on username.
|
java.util.List<PyUser> |
getUsers(java.lang.String userSource) |
protected abstract java.util.Collection<User> |
getUsersImpl(java.lang.String userSource)
List all users in a user source
|
UIResponse |
removeHoliday(java.lang.String holidayName) |
protected abstract UIResponse |
removeHolidayImpl(java.lang.String holidayName) |
UIResponse |
removeSchedule(java.lang.String scheduleName) |
protected abstract UIResponse |
removeScheduleImpl(java.lang.String schedule) |
public java.util.List<PyUser> getUsers(java.lang.String userSource) throws java.lang.Exception
java.lang.Exception
public User getUser(java.lang.String userSource, java.lang.String username) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> getRoles(java.lang.String userSource) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> getScheduleNames() throws java.lang.Exception
java.lang.Exception
@Nullable public AbstractScheduleModel getSchedule(java.lang.String scheduleName) throws java.lang.Exception
java.lang.Exception
public java.util.List<AbstractScheduleModel> getSchedules() throws java.lang.Exception
java.lang.Exception
public UIResponse removeSchedule(java.lang.String scheduleName) throws java.lang.Exception
java.lang.Exception
public UIResponse editSchedule(java.lang.String scheduleName, AbstractScheduleModel schedule) throws java.lang.Exception
java.lang.Exception
public UIResponse addSchedule(AbstractScheduleModel schedule) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> getHolidayNames() throws java.lang.Exception
java.lang.Exception
public HolidayModel getHoliday(java.lang.String holidayName) throws java.lang.Exception
java.lang.Exception
public java.util.List<HolidayModel> getHolidays() throws java.lang.Exception
java.lang.Exception
public UIResponse removeHoliday(java.lang.String holidayName) throws java.lang.Exception
java.lang.Exception
public UIResponse editHoliday(java.lang.String holidayName, HolidayModel holiday) throws java.lang.Exception
java.lang.Exception
public UIResponse addHoliday(HolidayModel holiday) throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<User> getUsersImpl(java.lang.String userSource) throws java.lang.Exception
java.lang.Exception
protected abstract User getUserImpl(java.lang.String userSource, java.lang.String username) throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<java.lang.String> getRolesImpl(java.lang.String userSource) throws java.lang.Exception
java.lang.Exception
@Nullable protected abstract AbstractScheduleModel getScheduleImpl(java.lang.String scheduleName) throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<AbstractScheduleModel> getSchedulesImpl() throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<java.lang.String> getScheduleNamesImpl() throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse removeScheduleImpl(java.lang.String schedule) throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse editScheduleImpl(java.lang.String scheduleName, AbstractScheduleModel schedule) throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse addScheduleImpl(AbstractScheduleModel schedule) throws java.lang.Exception
java.lang.Exception
protected abstract HolidayModel getHolidayImpl(java.lang.String holidayName) throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<java.lang.String> getHolidayNamesImpl() throws java.lang.Exception
java.lang.Exception
protected abstract java.util.Collection<HolidayModel> getHolidaysImpl() throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse removeHolidayImpl(java.lang.String holidayName) throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse editHolidayImpl(java.lang.String holidayName, HolidayModel holiday) throws java.lang.Exception
java.lang.Exception
protected abstract UIResponse addHolidayImpl(HolidayModel holiday) throws java.lang.Exception
java.lang.Exception