◆ getAllowNew()
static boolean org.turro.contacts.service.ServiceContext.getAllowNew |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 61 of file ServiceContext.java.
63 return constructor.isInRole(
"marketplace:new") ||
64 (Strings.isBlank(marketRoles) ? false : constructor.isInRole(marketRoles));
static String getServiceContextAttribute(String attribute, String defaultValue)
◆ getAllowQuestion()
static boolean org.turro.contacts.service.ServiceContext.getAllowQuestion |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 67 of file ServiceContext.java.
69 return constructor.isInRole(
"marketplace:new") ||
70 (Strings.isBlank(questionRoles) ? false : constructor.isInRole(questionRoles));
◆ getAllowSingle()
static boolean org.turro.contacts.service.ServiceContext.getAllowSingle |
( |
| ) |
|
|
static |
◆ getAttribute() [1/2]
String org.turro.contacts.service.ServiceContext.getAttribute |
( |
String |
attribute | ) |
|
◆ getAttribute() [2/2]
String org.turro.contacts.service.ServiceContext.getAttribute |
( |
String |
attribute, |
|
|
String |
defaultValue |
|
) |
| |
◆ getRecipients()
static List<String> org.turro.contacts.service.ServiceContext.getRecipients |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 73 of file ServiceContext.java.
75 return Arrays.asList(recipients.split(
"\\s*,\\s*"));
◆ getServiceContextAttribute()
static String org.turro.contacts.service.ServiceContext.getServiceContextAttribute |
( |
String |
attribute, |
|
|
String |
defaultValue |
|
) |
| |
|
static |
Definition at line 45 of file ServiceContext.java.
46 return ElephantProperties.getContextProperty(SERVICE_CONTEXT, attribute, defaultValue);
◆ getServiceThematicList()
static List<String> org.turro.contacts.service.ServiceContext.getServiceThematicList |
( |
| ) |
|
|
static |
Definition at line 53 of file ServiceContext.java.
54 return ElephantProperties.getContextPrefixedProperties(SERVICE_CONTEXT,
"thematic_");
◆ getServiceTypeList()
static List<String> org.turro.contacts.service.ServiceContext.getServiceTypeList |
( |
| ) |
|
|
static |
Definition at line 49 of file ServiceContext.java.
50 return ElephantProperties.getContextPrefixedProperties(SERVICE_CONTEXT,
"type_");
The documentation for this class was generated from the following file: