Subversion Repositories SmartDukaan

Rev

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

Rev 3356 Rev 3485
Line 109... Line 109...
109
    public Helpdoc getHelpdoc(long helpdocId){
109
    public Helpdoc getHelpdoc(long helpdocId){
110
    	return (Helpdoc) views.getHelpdocMap().get(helpdocId);
110
    	return (Helpdoc) views.getHelpdocMap().get(helpdocId);
111
    }
111
    }
112
 
112
 
113
    /**
113
    /**
-
 
114
     * Delete helpdoc for an given id
-
 
115
     * @param helpdocId
-
 
116
     * @return
-
 
117
     */
-
 
118
    public void deleteHelpdoc(long helpdocId){
-
 
119
    	views.getHelpdocMap().remove(helpdocId);
-
 
120
    }
-
 
121
 
-
 
122
    /**
114
     * update helpdpc for an given entity
123
     * update helpdpc for an given entity
115
     * @param helpdoc
124
     * @param helpdoc
116
     */
125
     */
117
    @SuppressWarnings("unchecked")
126
    @SuppressWarnings("unchecked")
118
	public void updateHelpdoc(Helpdoc helpdoc){
127
	public void updateHelpdoc(Helpdoc helpdoc){