Class AlarmRestService

    • Constructor Detail

      • AlarmRestService

        public AlarmRestService()
    • Method Detail

      • getCriteriaBehaviors

        protected java.util.Map<java.lang.String,​CriteriaBehavior<?>> getCriteriaBehaviors()
        Description copied from class: AbstractDaoRestServiceWithDTO

        Map CXF query bean properties to Criteria property names, conversions, and actions. In the absence of a mapping, the query bean property will be specified directly as a Criteria property with the same name.

        • Key: CXF query property name
        • Value: CriteriaBehavior to execute when this search term is specified
        Overrides:
        getCriteriaBehaviors in class AbstractDaoRestServiceWithDTO<OnmsAlarm,​AlarmDTO,​org.apache.cxf.jaxrs.ext.search.SearchBean,​java.lang.Integer,​java.lang.Integer>
        Returns:
      • updateMemo

        public javax.ws.rs.core.Response updateMemo​(@Context
                                                    javax.ws.rs.core.SecurityContext securityContext,
                                                    java.lang.Integer alarmId,
                                                    MultivaluedMapImpl params)
      • updateJournal

        public javax.ws.rs.core.Response updateJournal​(@Context
                                                       javax.ws.rs.core.SecurityContext securityContext,
                                                       java.lang.Integer alarmId,
                                                       MultivaluedMapImpl params)
      • removeMemo

        public javax.ws.rs.core.Response removeMemo​(@Context
                                                    javax.ws.rs.core.SecurityContext securityContext,
                                                    java.lang.Integer alarmId)
      • removeJournal

        public javax.ws.rs.core.Response removeJournal​(@Context
                                                       javax.ws.rs.core.SecurityContext securityContext,
                                                       java.lang.Integer alarmId)
      • createTicket

        public javax.ws.rs.core.Response createTicket​(@Context
                                                      javax.ws.rs.core.SecurityContext securityContext,
                                                      java.lang.Integer alarmId)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateTicket

        public javax.ws.rs.core.Response updateTicket​(@Context
                                                      javax.ws.rs.core.SecurityContext securityContext,
                                                      java.lang.Integer alarmId)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • closeTicket

        public javax.ws.rs.core.Response closeTicket​(@Context
                                                     javax.ws.rs.core.SecurityContext securityContext,
                                                     java.lang.Integer alarmId)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception