|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ou.kmi.buddyspace.plugins.pubsub.core.BSPubsubAdapter | +--edu.ou.kmi.buddyspace.plugins.plans.gui.BSPlansBean
BSPlansBean
provides plans functionality.
Field Summary | |
protected static java.lang.String |
GET_OP
|
protected static java.lang.String |
INIT1_OP
|
protected static java.lang.String |
INIT2_OP
|
protected static java.lang.String |
PUBLISH_OP
|
protected static java.lang.String |
PURGE_OP
|
protected static java.lang.String |
SUBSCRIBE_OP
|
Constructor Summary | |
BSPlansBean(BSMainFrame mainFrame)
|
Method Summary | |
void |
conected()
|
void |
error(InfoQuery iq,
java.lang.String id)
Called when an error occured |
boolean |
getPlan(JID jid)
|
boolean |
initPlan()
|
protected boolean |
initPlan2()
|
void |
itemsEvent(Message m,
PubsubEventItems items,
java.lang.String id)
Called when received items event - published or retracted items. |
void |
itemsReceived(InfoQuery iq,
PubsubItems items,
java.lang.String id)
Called when result of items request received. |
boolean |
publishPlan()
|
void |
receivedEmptyResult(InfoQuery iq,
java.lang.String id)
Called when empty result (possible of previous "set") received |
void |
sendFailed(InfoQuery iq,
java.lang.String id)
Called when a send fails |
protected boolean |
sendItem()
|
void |
setOnlyThisResource(boolean onlyThisResource)
|
void |
setPubsubJID(JID pubsubJID)
|
void |
setRosterBean(BSRosterBean rosterBean)
|
void |
setShowUpdates(boolean showUpdates)
|
protected void |
showPubsubJIDNotSetError()
|
boolean |
subscribeToPlan(JID jid)
|
void |
subscriptionResult(InfoQuery iq,
PubsubEntity entity,
java.lang.String id)
Called when result of subscription request received. |
Methods inherited from class edu.ou.kmi.buddyspace.plugins.pubsub.core.BSPubsubAdapter |
affiliationsReceived, configureReceived, instantNodeCreated, nodeDeletedEvent, nodeEntities, optionsReceived |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String PUBLISH_OP
protected static final java.lang.String GET_OP
protected static final java.lang.String PURGE_OP
protected static final java.lang.String SUBSCRIBE_OP
protected static final java.lang.String INIT1_OP
protected static final java.lang.String INIT2_OP
Constructor Detail |
public BSPlansBean(BSMainFrame mainFrame)
Method Detail |
public void conected()
public void setRosterBean(BSRosterBean rosterBean)
public void setPubsubJID(JID pubsubJID)
public void setShowUpdates(boolean showUpdates)
public void setOnlyThisResource(boolean onlyThisResource)
protected void showPubsubJIDNotSetError()
public boolean publishPlan()
protected boolean sendItem()
public boolean initPlan()
protected boolean initPlan2()
public boolean getPlan(JID jid)
public boolean subscribeToPlan(JID jid)
public void itemsEvent(Message m, PubsubEventItems items, java.lang.String id)
itemsEvent
in interface BSPubsubListener
itemsEvent
in class BSPubsubAdapter
public void itemsReceived(InfoQuery iq, PubsubItems items, java.lang.String id)
itemsReceived
in interface BSPubsubListener
itemsReceived
in class BSPubsubAdapter
public void error(InfoQuery iq, java.lang.String id)
error
in interface BSPubsubListener
error
in class BSPubsubAdapter
public void sendFailed(InfoQuery iq, java.lang.String id)
sendFailed
in interface BSPubsubListener
sendFailed
in class BSPubsubAdapter
public void receivedEmptyResult(InfoQuery iq, java.lang.String id)
receivedEmptyResult
in interface BSPubsubListener
receivedEmptyResult
in class BSPubsubAdapter
public void subscriptionResult(InfoQuery iq, PubsubEntity entity, java.lang.String id)
subscriptionResult
in interface BSPubsubListener
subscriptionResult
in class BSPubsubAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |