Subversion Repositories SmartDukaan

Rev

Rev 1329 | Rev 3430 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1329 Rev 2984
Line 17... Line 17...
17
    PHASED_OUT(0),
17
    PHASED_OUT(0),
18
    DELETED(1),
18
    DELETED(1),
19
    PAUSED(2),
19
    PAUSED(2),
20
    ACTIVE(3),
20
    ACTIVE(3),
21
    IN_PROCESS(4),
21
    IN_PROCESS(4),
22
    CONTENT_COMPLETE(5);
22
    CONTENT_COMPLETE(5),
-
 
23
    PAUSED_BY_RISK(6);
23
 
24
 
24
  private static final Map<Integer, status> BY_VALUE = new HashMap<Integer,status>() {{
25
  private static final Map<Integer, status> BY_VALUE = new HashMap<Integer,status>() {{
25
    for(status val : status.values()) {
26
    for(status val : status.values()) {
26
      put(val.getValue(), val);
27
      put(val.getValue(), val);
27
    }
28
    }