Subversion Repositories SmartDukaan

Rev

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

Rev 3356 Rev 3485
Line 405... Line 405...
405
	}
405
	}
406
 
406
 
407
	public static Map<Long, Helpdoc> getHelpdocs() throws Exception {
407
	public static Map<Long, Helpdoc> getHelpdocs() throws Exception {
408
		return StorageManager.getStorageManager().getHelpdocs();
408
		return StorageManager.getStorageManager().getHelpdocs();
409
	}
409
	}
-
 
410
 
-
 
411
	public static void deleteHelpdoc(Long helpdocId) throws Exception {
-
 
412
		StorageManager.getStorageManager().deleteHelpdoc(helpdocId);
410
	
413
	}
-
 
414
 
411
	public static long getNewHelpdocId() {
415
	public static long getNewHelpdocId() {
412
		if(helpDocId == 0){
416
		if(helpDocId == 0){
413
			helpDocId = 200000;
417
			helpDocId = 200000;
414
			Map<Long, Helpdoc> helpdocs = StorageManager.getStorageManager().getHelpdocs();
418
			Map<Long, Helpdoc> helpdocs = StorageManager.getStorageManager().getHelpdocs();
415
			if(helpdocs != null){
419
			if(helpdocs != null){