| org.sakaiproject.tool.assessment.facade.ItemFacadeQueriesAPI
All known Subclasses: org.sakaiproject.tool.assessment.facade.ItemFacadeQueries,
ItemFacadeQueriesAPI | public interface ItemFacadeQueriesAPI (Code) | | |
deleteItemMetaData | public void deleteItemMetaData(Long itemId, String label)(Code) | | |
getItem | public ItemFacade getItem(Long itemId)(Code) | | private void exportXml(ItemDataIfc item) {
XStream xstream = new XStream();
xstream = new XStream(new DomDriver());
xstream.alias("item", ItemData.class);
xstream.alias("itemText", ItemText.class);
xstream.alias("itemFeedback", ItemFeedback.class);
xstream.alias("itemMetaData", ItemMetaData.class);
xstream.alias("answer", Answer.class);
xstream.alias("answerFeedback", AnswerFeedback.class);
String xml = xstream.toXML(item);
byte[] b = xml.getBytes();
try {
FileOutputStream out = new FileOutputStream("out");
out.write(b);
}
catch (FileNotFoundException ex) {
}
catch (IOException ex1) {
}
}
|
listType | public void listType()(Code) | | |
|
|