Subversion Repositories SmartDukaan

Rev

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

Rev 3430 Rev 5217
Line 19... Line 19...
19
  DELETED(1),
19
  DELETED(1),
20
  PAUSED(2),
20
  PAUSED(2),
21
  ACTIVE(3),
21
  ACTIVE(3),
22
  IN_PROCESS(4),
22
  IN_PROCESS(4),
23
  CONTENT_COMPLETE(5),
23
  CONTENT_COMPLETE(5),
24
  PAUSED_BY_RISK(6);
24
  PAUSED_BY_RISK(6),
-
 
25
  COMING_SOON(7);
25
 
26
 
26
  private final int value;
27
  private final int value;
27
 
28
 
28
  private status(int value) {
29
  private status(int value) {
29
    this.value = value;
30
    this.value = value;
Line 54... Line 55...
54
        return IN_PROCESS;
55
        return IN_PROCESS;
55
      case 5:
56
      case 5:
56
        return CONTENT_COMPLETE;
57
        return CONTENT_COMPLETE;
57
      case 6:
58
      case 6:
58
        return PAUSED_BY_RISK;
59
        return PAUSED_BY_RISK;
-
 
60
      case 7:
-
 
61
        return COMING_SOON;
59
      default:
62
      default:
60
        return null;
63
        return null;
61
    }
64
    }
62
  }
65
  }
63
}
66
}