Subversion Repositories SmartDukaan

Rev

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

Rev 5217 Rev 10403
Line 20... Line 20...
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
  COMING_SOON(7),
-
 
26
  PARTIALLY_ACTIVE(8);
26
 
27
 
27
  private final int value;
28
  private final int value;
28
 
29
 
29
  private status(int value) {
30
  private status(int value) {
30
    this.value = value;
31
    this.value = value;
Line 57... Line 58...
57
        return CONTENT_COMPLETE;
58
        return CONTENT_COMPLETE;
58
      case 6:
59
      case 6:
59
        return PAUSED_BY_RISK;
60
        return PAUSED_BY_RISK;
60
      case 7:
61
      case 7:
61
        return COMING_SOON;
62
        return COMING_SOON;
-
 
63
      case 8:
-
 
64
        return PARTIALLY_ACTIVE;
62
      default:
65
      default:
63
        return null;
66
        return null;
64
    }
67
    }
65
  }
68
  }
66
}
69
}