Subversion Repositories SmartDukaan

Rev

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

Rev 2720 Rev 3018
Line 156... Line 156...
156
            }
156
            }
157
        }
157
        }
158
        return youtubeLabels;
158
        return youtubeLabels;
159
    }
159
    }
160
 
160
 
-
 
161
    public List<String> getDocumentLabels(){
-
 
162
        List<String> documentLabels = new ArrayList<String>();
-
 
163
        if(this.medias != null){
-
 
164
            for(Media media: medias.values()){
-
 
165
                if(media.getType().equals(Type.DOCUMENT))
-
 
166
                {
-
 
167
                    documentLabels.add(media.getLabel());
-
 
168
                }
-
 
169
            }
-
 
170
        }
-
 
171
        return documentLabels;
-
 
172
    }
-
 
173
 
161
}
174
}