|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.pdcSubscription.ejb.PdcSubscriptionBmEJB
public class PdcSubscriptionBmEJB
| Constructor Summary | |
|---|---|
PdcSubscriptionBmEJB()
|
|
| Method Summary | |
|---|---|
void |
checkAxisOnDelete(int axisId,
String axisName)
Remote inteface method Implements PDCSubscription check for axis deletion. |
protected boolean |
checkSubscriptionRemove(PDCSubscription subscription,
int axisId,
List<String> oldPath,
List<String> newPath)
|
void |
checkSubscriptions(List<? extends Value> classifyValues,
String componentId,
int silverObjectid)
This method check is any subscription that match criterias provided and sends notification if succeed |
protected boolean |
checkValueInPath(String value,
List<String> pathList)
Checks if values provided presented in provided path. |
void |
checkValueOnDelete(int axisId,
String axisName,
List<String> oldPath,
List<String> newPath,
List<Value> pathInfo)
Implements PDCSubscription check for value deletion. |
protected boolean |
checkValues(Criteria criteria,
Value searchValue)
|
protected boolean |
checkValuesRemove(String originalPath,
List<String> oldPath,
List<String> newPath)
|
int |
createPDCSubscription(PDCSubscription subscription)
Remote interface method |
List<PDCSubscription> |
getPDCSubscriptionByUserId(int userId)
Remote interface method |
PDCSubscription |
getPDCSubsriptionById(int id)
Remote interface method |
protected boolean |
isCorrespondingSubscription(PDCSubscription subscription,
List<? extends Value> classifyValues)
|
void |
removePDCSubscriptionById(int id)
Remote interface method |
void |
removePDCSubscriptionById(int[] ids)
Remote interface method |
void |
updatePDCSubscription(PDCSubscription subscription)
Remote interface method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdcSubscriptionBmEJB()
| Method Detail |
|---|
public List<PDCSubscription> getPDCSubscriptionByUserId(int userId)
getPDCSubscriptionByUserId in interface PdcSubscriptionBmuserId -
PDCSubscriptions finded by id providedpublic PDCSubscription getPDCSubsriptionById(int id)
getPDCSubsriptionById in interface PdcSubscriptionBmid -
public int createPDCSubscription(PDCSubscription subscription)
createPDCSubscription in interface PdcSubscriptionBmsubscription -
public void updatePDCSubscription(PDCSubscription subscription)
updatePDCSubscription in interface PdcSubscriptionBmsubscription - public void removePDCSubscriptionById(int id)
removePDCSubscriptionById in interface PdcSubscriptionBmid - public void removePDCSubscriptionById(int[] ids)
removePDCSubscriptionById in interface PdcSubscriptionBmids -
public void checkAxisOnDelete(int axisId,
String axisName)
checkAxisOnDelete in interface PdcSubscriptionBmaxisId - the axis to be checkedaxisName - the name of the axis
public void checkValueOnDelete(int axisId,
String axisName,
List<String> oldPath,
List<String> newPath,
List<Value> pathInfo)
checkValueOnDelete in interface PdcSubscriptionBmaxisId - the axis to be checkedaxisName - the name of the axisoldPath - old path that would be removed soonnewPath - new path. That will be places instead of old for this axispathInfo - should contains PdcBm.getFullPath data structure
public void checkSubscriptions(List<? extends Value> classifyValues,
String componentId,
int silverObjectid)
checkSubscriptions in interface PdcSubscriptionBmclassifyValues - Linst of ClassifyValues to be checkedcomponentId - component where classify event occuressilverObjectid - object that was classified
protected boolean checkSubscriptionRemove(PDCSubscription subscription,
int axisId,
List<String> oldPath,
List<String> newPath)
subscription - PDCSubscription to checkaxisId - id of the axis value of which should be removedoldPath - list of original axis paths (before deletion)newPath - list new axis path to be places instead of old path
protected boolean checkValuesRemove(String originalPath,
List<String> oldPath,
List<String> newPath)
originalPath - oldPath - newPath -
protected boolean checkValueInPath(String value,
List<String> pathList)
protected boolean isCorrespondingSubscription(PDCSubscription subscription,
List<? extends Value> classifyValues)
subscription - classifyValues -
protected boolean checkValues(Criteria criteria,
Value searchValue)
criteria - searchValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||