Class BlackoutApiImpl
java.lang.Object
com.xebialabs.xlrelease.api.v1.impl.BlackoutApiImpl
- All Implemented Interfaces:
com.xebialabs.xlrelease.api.ApiService,com.xebialabs.xlrelease.api.v1.BlackoutApi
@Controller
public class BlackoutApiImpl
extends Object
implements com.xebialabs.xlrelease.api.v1.BlackoutApi
-
Field Summary
Fields inherited from interface com.xebialabs.xlrelease.api.ApiService
DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATAFields inherited from interface com.xebialabs.xlrelease.api.v1.BlackoutApi
SERVICE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionBlackoutApiImpl(com.xebialabs.xlrelease.service.CalendarService calendarService, com.xebialabs.xlrelease.security.PermissionChecker permissions) -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.calendar.BlackoutaddBlackout(com.xebialabs.xlrelease.domain.calendar.Blackout blackout) com.xebialabs.xlrelease.domain.calendar.BlackoutaddBlackout(com.xebialabs.xlrelease.domain.calendar.BlackoutForm form) voiddeleteBlackout(String blackoutId) com.xebialabs.xlrelease.domain.calendar.BlackoutgetBlackout(String blackoutId) List<com.xebialabs.xlrelease.domain.calendar.Blackout> List<com.xebialabs.xlrelease.domain.calendar.Blackout> getBlackouts(Date from, Date to) com.xebialabs.xlrelease.domain.calendar.BlackoutnewBlackout(String label, Date startDate, Date endDate) com.xebialabs.xlrelease.domain.calendar.BlackoutupdateBlackout(com.xebialabs.xlrelease.domain.calendar.Blackout blackout) com.xebialabs.xlrelease.domain.calendar.BlackoutupdateBlackout(String blackoutId, com.xebialabs.xlrelease.domain.calendar.BlackoutForm form) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.xlrelease.api.v1.BlackoutApi
serviceName
-
Constructor Details
-
BlackoutApiImpl
@Autowired public BlackoutApiImpl(com.xebialabs.xlrelease.service.CalendarService calendarService, com.xebialabs.xlrelease.security.PermissionChecker permissions)
-
-
Method Details
-
getBlackouts
- Specified by:
getBlackoutsin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
getBlackouts
- Specified by:
getBlackoutsin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
getBlackout
- Specified by:
getBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
addBlackout
public com.xebialabs.xlrelease.domain.calendar.Blackout addBlackout(com.xebialabs.xlrelease.domain.calendar.Blackout blackout) - Specified by:
addBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
addBlackout
public com.xebialabs.xlrelease.domain.calendar.Blackout addBlackout(com.xebialabs.xlrelease.domain.calendar.BlackoutForm form) - Specified by:
addBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
updateBlackout
public com.xebialabs.xlrelease.domain.calendar.Blackout updateBlackout(com.xebialabs.xlrelease.domain.calendar.Blackout blackout) - Specified by:
updateBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
updateBlackout
public com.xebialabs.xlrelease.domain.calendar.Blackout updateBlackout(String blackoutId, com.xebialabs.xlrelease.domain.calendar.BlackoutForm form) - Specified by:
updateBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
deleteBlackout
- Specified by:
deleteBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
withinBlackout
public boolean withinBlackout()- Specified by:
withinBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-
newBlackout
public com.xebialabs.xlrelease.domain.calendar.Blackout newBlackout(String label, Date startDate, Date endDate) - Specified by:
newBlackoutin interfacecom.xebialabs.xlrelease.api.v1.BlackoutApi
-