Package cz.metacentrum.perun.core.blImpl
Class RTMessagesManagerBlImpl
java.lang.Object
cz.metacentrum.perun.core.blImpl.RTMessagesManagerBlImpl
- All Implemented Interfaces:
RTMessagesManagerBl
RTMessage manager can create a new message and send it to RT like predefined service user.
- Author:
- Michal Stava invalid input: '<'stavamichal@gmail.com>
-
Constructor Summary
ConstructorsConstructorDescriptionRTMessagesManagerBlImpl
(PerunBl perunBl, String rtURL, String rtDefaultQueue) -
Method Summary
Modifier and TypeMethodDescriptionsendMessageToRT
(PerunSession sess, int voId, String subject, String text) This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.sendMessageToRT
(PerunSession sess, int voId, String queue, String subject, String text) This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.sendMessageToRT
(PerunSession sess, Member meber, String queue, String subject, String text) Deprecated.sendMessageToRT
(PerunSession sess, String queue, String subject, String text) This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.
-
Constructor Details
-
RTMessagesManagerBlImpl
-
-
Method Details
-
getPerunBl
-
sendMessageToRT
@Deprecated public RTMessage sendMessageToRT(PerunSession sess, Member meber, String queue, String subject, String text) Deprecated.Description copied from interface:RTMessagesManagerBl
This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.- Specified by:
sendMessageToRT
in interfaceRTMessagesManagerBl
- Parameters:
sess
-meber
- member which send message to RTqueue
- in which queue will be message sendsubject
- subject of messagetext
- text of message- Returns:
- RTMessage with information about success or not
-
sendMessageToRT
Description copied from interface:RTMessagesManagerBl
This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.queue define concrete queue in RT
- Specified by:
sendMessageToRT
in interfaceRTMessagesManagerBl
- Parameters:
sess
-queue
- in which queue will be message sendsubject
- subject of messagetext
- text of message- Returns:
- RTMessage with information about success or not
-
sendMessageToRT
Description copied from interface:RTMessagesManagerBl
This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.voId is there especially for searching voAttribute rtVoQueue
- Specified by:
sendMessageToRT
in interfaceRTMessagesManagerBl
- Parameters:
sess
- (also to get user from it)voId
- id of vo, where user is membersubject
- subject of messagetext
- text of message- Returns:
- RTMessage with information about success or not
-
sendMessageToRT
public RTMessage sendMessageToRT(PerunSession sess, int voId, String queue, String subject, String text) Description copied from interface:RTMessagesManagerBl
This method get needed information and by predefined service user send message to RT which try to create new ticket For basic usage this method is for error msg from users of perun.voId is there especially for searching voAttribute rtVoQueue queue define concrete queue in RT
- Specified by:
sendMessageToRT
in interfaceRTMessagesManagerBl
- Parameters:
sess
- (also to get user from it)voId
- id of vo, where user is memberqueue
- in which queue will be message sendsubject
- subject of messagetext
- text of message- Returns:
- RTMessage with information about success or not
-