public class VitamLogbookMessages extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsKey(String key) |
static Map<String,String> |
getAllMessages()
Retrieve all the messages
|
static String |
getCodeLfc(String stepOrHandler,
StatusCode code)
Lifecycle Logbook context
|
static String |
getCodeLfc(String stepOrHandler,
StatusCode code,
Object... args)
Lifecycle Logbook context
|
static String |
getCodeLfc(String stepOrHandler,
String transaction,
StatusCode code)
Lifecycle Logbook context
|
static String |
getCodeLfc(String stepOrHandler,
String transaction,
StatusCode code,
Object... args)
Lifecycle Logbook context
|
static String |
getCodeLfc(String stepOrHandler,
String transaction,
String detailedOutcome,
StatusCode code,
Object... args)
Lifecycle Logbook context
|
static String |
getCodeOp(String stepOrHandler,
StatusCode code)
Operation Logbook context
|
static String |
getCodeOp(String stepOrHandler,
StatusCode code,
Object... args)
Operation Logbook context
|
static String |
getCodeOp(String stepOrHandler,
String transaction,
StatusCode code)
Operation Logbook context
|
static String |
getCodeOp(String stepOrHandler,
String transaction,
StatusCode code,
Object... args)
Operation Logbook context
|
static String |
getEventTypeLfc(String stepOrHandler) |
static String |
getEventTypeStarted(String stepOrHandler) |
static String |
getFromFullCodeKey(String completeCodeKey)
Get a message labe knowing its full code key
|
static String |
getFromFullCodeKey(String completeCodeKey,
Object... args) |
static String |
getLabelLfc(String stepOrHandler)
Lifecycle Logbook context
|
static String |
getLabelLfc(String stepOrHandler,
String transaction)
Lifecycle Logbook context
|
static String |
getLabelOp(String stepOrHandler)
Operation Logbook context
|
static String |
getLabelOp(String stepOrHandler,
String transaction)
Operation Logbook context
|
static String |
getOutcomeDetail(String stepOrHandler,
StatusCode code) |
static String |
getOutcomeDetail(String stepOrHandler,
String transaction,
StatusCode code) |
static String |
getOutcomeDetailLfc(String stepOrHandler,
StatusCode code) |
static String |
getOutcomeDetailLfc(String stepOrHandler,
String transaction,
StatusCode code) |
static String |
getOutcomeDetailLfc(String stepOrHandler,
String transaction,
String detailedOutcome,
StatusCode code) |
static String |
getSeparator() |
static String |
getSubTaskEventTypeLfc(String stepOrHandler,
String subTaskName) |
static String |
getSubTaskEventTypeOp(String stepOrHandler,
String subTaskName) |
public static Map<String,String> getAllMessages()
public static final String getLabelOp(String stepOrHandler)
stepOrHandler
- step or handler name or full name (on Front Office Application)public static final String getLabelLfc(String stepOrHandler)
stepOrHandler
- step or handler name or full name (on Front Office Application)public static final String getEventTypeStarted(String stepOrHandler)
stepOrHandler
- step or handler name or full namepublic static final String getEventTypeLfc(String stepOrHandler)
stepOrHandler
- step or handler name or full namepublic static final String getSubTaskEventTypeLfc(String stepOrHandler, String subTaskName)
stepOrHandler
- step or handler name or full namesubTaskName
- name of the sub taskpublic static final String getSubTaskEventTypeOp(String stepOrHandler, String subTaskName)
stepOrHandler
- step or handler name or full namesubTaskName
- name of the sub taskpublic static final String getLabelOp(String stepOrHandler, String transaction)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)public static final String getLabelLfc(String stepOrHandler, String transaction)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)public static final String getOutcomeDetail(String stepOrHandler, StatusCode code)
stepOrHandler
- step or handler name or full namecode
- the code from which the message is neededpublic static final String getOutcomeDetailLfc(String stepOrHandler, StatusCode code)
stepOrHandler
- step or handler name or full namecode
- of statuspublic static final String getOutcomeDetail(String stepOrHandler, String transaction, StatusCode code)
stepOrHandler
- step or handler name or full nametransaction
- transaction transaction name (within this handler)code
- the code from which the message is neededpublic static final String getOutcomeDetailLfc(String stepOrHandler, String transaction, String detailedOutcome, StatusCode code)
stepOrHandler
- step or handler name or full nametransaction
- transaction transaction name (within this handler)detailedOutcome
- the detailed outcome for the transactioncode
- the code from which the message is neededpublic static final String getOutcomeDetailLfc(String stepOrHandler, String transaction, StatusCode code)
stepOrHandler
- step or handler name or full nametransaction
- transaction transaction name (within this handler)code
- the code from which the message is neededpublic static final String getCodeOp(String stepOrHandler, StatusCode code)
stepOrHandler
- step or handler name or full name (on Front Office Application)code
- the code from which the message is neededpublic static final String getCodeLfc(String stepOrHandler, StatusCode code)
stepOrHandler
- step or handler name or full name (on Front Office Application)code
- the code from which the message is neededpublic static final String getCodeOp(String stepOrHandler, String transaction, StatusCode code)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)code
- the code from which the message is neededpublic static final String getCodeLfc(String stepOrHandler, String transaction, StatusCode code)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)code
- the code from which the message is neededpublic static final String getCodeOp(String stepOrHandler, StatusCode code, Object... args)
stepOrHandler
- step or handler name or full name (on Front Office Application)code
- the code from which the message is neededargs
- list of extra argument to apply as MessageFormat.format(message, args)public static final String getCodeLfc(String stepOrHandler, StatusCode code, Object... args)
stepOrHandler
- step or handler name or full name (on Front Office Application)code
- the code from which the message is neededargs
- list of extra argument to apply as MessageFormat.format(message, args)public static final String getCodeOp(String stepOrHandler, String transaction, StatusCode code, Object... args)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)code
- the code from which the message is neededargs
- list of extra argument to apply as MessageFormat.format(message, args)public static final String getCodeLfc(String stepOrHandler, String transaction, StatusCode code, Object... args)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)code
- the code from which the message is neededargs
- list of extra argument to apply as MessageFormat.format(message, args)public static final String getCodeLfc(String stepOrHandler, String transaction, String detailedOutcome, StatusCode code, Object... args)
stepOrHandler
- step or handler name or full name (on Front Office Application)transaction
- transaction name (within this handler)detailedOutcome
- the detailed outcome for the transactioncode
- the code from which the message is neededargs
- list of extra argument to apply as MessageFormat.format(message, args)public static final String getFromFullCodeKey(String completeCodeKey)
completeCodeKey
- the key of the label to be retrievedpublic static final String getFromFullCodeKey(String completeCodeKey, Object... args)
public static final String getSeparator()
public static final boolean containsKey(String key)
key
- Copyright © 2018 Vitam. All rights reserved.