Subversion Repositories SmartDukaan

Rev

Rev 37764 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37764 Rev 37935
Line 5... Line 5...
5
import java.util.Arrays;
5
import java.util.Arrays;
6
import java.util.Collections;
6
import java.util.Collections;
7
import java.util.List;
7
import java.util.List;
8
 
8
 
9
/**
9
/**
10
 * Who may change a partner store's status. Shared by the fofo RetailerController and the web V2FofoRetailerController
10
 * Who may extend a store's billing grace date. Shared by the fofo RetailerController and the web
11
 * so the two copies of each endpoint cannot drift apart.
11
 * V2FofoRetailerController. Store status changes are authorised by StoreStatusService instead.
12
 */
12
 */
13
public final class StoreAccess {
13
public final class StoreAccess {
14
 
14
 
15
	public static final List<String> CLOSE = Collections.unmodifiableList(Arrays.asList(
-
 
16
			"kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com", "amit.gupta@smartdukaan.com",
-
 
17
			"vikas.jangra@smartdukaan.com", "neeraj.gupta@smartdukaan.com"));
-
 
18
 
-
 
19
	public static final List<String> DEACTIVATE = Collections.unmodifiableList(Arrays.asList(
15
	public static final List<String> EXTEND_BILLING = Collections.unmodifiableList(Arrays.asList(
20
			"kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com", "amit.gupta@smartdukaan.com",
-
 
21
			"vikas.jangra@smartdukaan.com"));
-
 
22
 
-
 
23
	public static final List<String> ACTIVATE = Collections.unmodifiableList(Arrays.asList(
-
 
24
			"kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com", "amit.gupta@smartdukaan.com"));
16
			"kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com", "amit.gupta@smartdukaan.com"));
25
 
17
 
26
	public static final List<String> EXTEND_BILLING = ACTIVATE;
-
 
27
 
-
 
28
	private StoreAccess() {
18
	private StoreAccess() {
29
	}
19
	}
30
 
20
 
31
	/**
21
	/**
32
	 * @param action the verb shown in the error, e.g. "close store"
22
	 * @param action the verb shown in the error, e.g. "close store"