| org.sakaiproject.component.app.syllabus.SyllabusManagerImpl
SyllabusManagerImpl | public class SyllabusManagerImpl extends HibernateDaoSupport implements SyllabusManager(Code) | | SyllabusManagerImpl provides convenience functions to query the database
author: Jarrod Lannan version: $Id: |
Method Summary | |
public void | addSyllabusAttachToSyllabusData(SyllabusData syllabusData, SyllabusAttachment syllabusAttach) | public void | addSyllabusToSyllabusItem(SyllabusItem syllabusItem, SyllabusData syllabusData) | public SyllabusAttachment | createSyllabusAttachmentObject(String attachId, String name) | public SyllabusData | createSyllabusDataObject(String title, Integer position, String asset, String view, String status, String emailNotification) | public SyllabusItem | createSyllabusItem(String userId, String contextId, String redirectURL) | public Integer | findLargestSyllabusPosition(SyllabusItem syllabusItem) | public Set | getSyllabiForSyllabusItem(SyllabusItem syllabusItem) | public SyllabusAttachment | getSyllabusAttachment(String syllabusAttachId) | public Set | getSyllabusAttachmentsForSyllabusData(SyllabusData syllabusData) | public SyllabusData | getSyllabusData(String dataId) | public SyllabusItem | getSyllabusItemByContextId(String contextId) | public SyllabusItem | getSyllabusItemByUserAndContextIds(String userId, String contextId) | public void | removeSyllabusAttachSyllabusData(SyllabusData syllabusData, SyllabusAttachment syllabusAttach) | public void | removeSyllabusAttachmentObject(SyllabusAttachment o) | public void | removeSyllabusDataObject(SyllabusData o) | public void | removeSyllabusFromSyllabusItem(SyllabusItem syllabusItem, SyllabusData syllabusData) | public void | saveSyllabus(SyllabusData data) | public void | saveSyllabusAttachment(SyllabusAttachment attach) | public void | saveSyllabusItem(SyllabusItem item) | public void | swapSyllabusDataPositions(SyllabusItem syllabusItem, SyllabusData d1, SyllabusData d2) |
addSyllabusToSyllabusItem | public void addSyllabusToSyllabusItem(SyllabusItem syllabusItem, SyllabusData syllabusData)(Code) | | addSyllabusToSyllabusItem adds a SyllabusData object to syllabi collection
Parameters: syllabusItem - Parameters: syllabusData - Set |
createSyllabusDataObject | public SyllabusData createSyllabusDataObject(String title, Integer position, String asset, String view, String status, String emailNotification)(Code) | | createSyllabusData creates a persistent SyllabusData object
Parameters: title - Parameters: position - Parameters: assetId - Parameters: view - Parameters: status - Parameters: emailNotification - |
createSyllabusItem | public SyllabusItem createSyllabusItem(String userId, String contextId, String redirectURL)(Code) | | createSyllabusItem creates a new SyllabusItem
Parameters: userId - Parameters: contextId - Parameters: redirectURL - |
findLargestSyllabusPosition | public Integer findLargestSyllabusPosition(SyllabusItem syllabusItem)(Code) | | findLargestSyllabusPosition finds the largest syllabus data position for an item
Parameters: syllabusItem - |
getSyllabiForSyllabusItem | public Set getSyllabiForSyllabusItem(SyllabusItem syllabusItem)(Code) | | getSyllabiForSyllabusItem returns the collection of syllabi
Parameters: syllabusItem - |
getSyllabusAttachmentsForSyllabusData | public Set getSyllabusAttachmentsForSyllabusData(SyllabusData syllabusData)(Code) | | |
getSyllabusItemByContextId | public SyllabusItem getSyllabusItemByContextId(String contextId)(Code) | | getSyllabusItemByContextId finds a SyllabusItem
Parameters: contextId - SyllabusItem |
getSyllabusItemByUserAndContextIds | public SyllabusItem getSyllabusItemByUserAndContextIds(String userId, String contextId)(Code) | | getSyllabusItemByUserAndContextIds finds a SyllabusItem
Parameters: userId - Parameters: contextId - SyllabusItem |
removeSyllabusFromSyllabusItem | public void removeSyllabusFromSyllabusItem(SyllabusItem syllabusItem, SyllabusData syllabusData)(Code) | | removeSyllabusToSyllabusItem loads many side of the relationship
Parameters: syllabusItem - Parameters: syllabusData - Set |
saveSyllabus | public void saveSyllabus(SyllabusData data)(Code) | | saveSyllabus persists a SyllabusData object
Parameters: item - |
saveSyllabusItem | public void saveSyllabusItem(SyllabusItem item)(Code) | | saveSyllabusItem persists a SyllabusItem
Parameters: item - |
swapSyllabusDataPositions | public void swapSyllabusDataPositions(SyllabusItem syllabusItem, SyllabusData d1, SyllabusData d2)(Code) | | swapSyllabusDataPositions swaps positions for two SyllabusData objects
Parameters: syllabusItem - Parameters: d1 - Parameters: d2 - |
|
|