|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDistributionListDAO
Defines the interfaces for all methods needed to insert, modify and delete a Distribution List
Method Summary | |
---|---|
void |
eraseAllRelatedDistributionListObjects(java.lang.String triggername)
Implements the query to erase all distribution list objects with the related triggername. |
void |
eraseDistributionList(DistributionList aDistributionList)
Implements the query to erase a distribution list. |
void |
eraseDistributionListObjects(DistributionList dl,
int biobId,
java.lang.String triggername)
Implements the query to erase distribution list objects. |
java.util.List |
getXmlRelated(DistributionList dl,
int objId)
Returns a list of the Xmls related to the specified Distribution List and the specified Document. |
boolean |
hasBIObjAssociated(java.lang.String dsId)
Tells if a distribution list is associated to any BI Object. |
void |
insertDistributionList(DistributionList aDistributionList)
Implements the query to insert a distribution list. |
void |
insertDLforDocument(DistributionList dl,
int objId,
java.lang.String xml)
Inserts the document with id objId in the list of documents for the DIstributionList dl with the xml of its schedulation. |
boolean |
isDocScheduleAlreadyLinkedToDL(DistributionList dl,
int objId,
java.lang.String xml)
Verifies if the document with id objId is already in the list of documents for the DIstributionList dl with the xml of its schedulation. |
boolean |
isDocScheduledInOtherTime(DistributionList dl,
int objId,
java.lang.String xml)
Verifies if the document with id objId is already in the list of documents for the DIstributionList dl with another xml of schedulation. |
java.util.List |
loadAllDistributionLists()
Loads all distribution lists. |
DistributionList |
loadDistributionListById(java.lang.Integer Id)
Loads all detail information for a distribution list identified by its id. |
DistributionList |
loadDistributionListByName(java.lang.String name)
Loads all detail information for a distribution list identified by its name. |
void |
modifyDistributionList(DistributionList aDistributionList)
Implements the query to modify a distributionlist. |
void |
subscribeToDistributionList(DistributionList aDistributionList,
Email user)
Subscribes user to the distribution list. |
void |
unsubscribeFromDistributionList(DistributionList aDistributionList,
java.lang.String user)
Unubscribes user from the distribution list. |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Method Detail |
---|
DistributionList loadDistributionListById(java.lang.Integer Id) throws it.eng.spago.error.EMFUserError
Id
- The id for the distributionlist to load
distributionlist
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredDistributionList loadDistributionListByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
name
- The name for the distributionlist to load
distributionlist
object containing all loaded informations
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllDistributionLists() throws it.eng.spago.error.EMFUserError
List
object containing all distribution Lists
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyDistributionList(DistributionList aDistributionList) throws it.eng.spago.error.EMFUserError
distributionlist
object.
aDistributionList
- The object containing all modified informations
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertDistributionList(DistributionList aDistributionList) throws it.eng.spago.error.EMFUserError
distributionlist
object.
aDistributionList
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseDistributionList(DistributionList aDistributionList) throws it.eng.spago.error.EMFUserError
distributionlist
object.
aDistributionList
- The object containing all informations to be deleted
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseDistributionListObjects(DistributionList dl, int biobId, java.lang.String triggername) throws it.eng.spago.error.EMFUserError
biobId
- The id of the documenttriggername
- The triggername regarding the schedulation of the documentdl
- the dl
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseAllRelatedDistributionListObjects(java.lang.String triggername) throws it.eng.spago.error.EMFUserError
triggername
- The triggername regarding the schedulation of the document
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean hasBIObjAssociated(java.lang.String dsId) throws it.eng.spago.error.EMFUserError
dsId
- The distribution list identifier
it.eng.spago.error.EMFUserError
- If any exception occurredvoid subscribeToDistributionList(DistributionList aDistributionList, Email user) throws it.eng.spago.error.EMFUserError
user
- The user to be subscribedaDistributionList
- the a distribution list
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid unsubscribeFromDistributionList(DistributionList aDistributionList, java.lang.String user) throws it.eng.spago.error.EMFUserError
user
- The user to be unsubscribedaDistributionList
- the a distribution list
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertDLforDocument(DistributionList dl, int objId, java.lang.String xml) throws it.eng.spago.error.EMFUserError
objId
- The id of the documentxml
- The xml regarding the schedulation of the documentdl
- the dl
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean isDocScheduleAlreadyLinkedToDL(DistributionList dl, int objId, java.lang.String xml) throws it.eng.spago.error.EMFUserError
objId
- The id of the documentxml
- The xml regarding the schedulation of the documentdl
- the dl
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean isDocScheduledInOtherTime(DistributionList dl, int objId, java.lang.String xml) throws it.eng.spago.error.EMFUserError
objId
- The id of the documentxml
- The xml regarding the schedulation of the documentdl
- the dl
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List getXmlRelated(DistributionList dl, int objId) throws it.eng.spago.error.EMFUserError
objId
- The id of the documentdl
- the dl
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |