|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.clipboard.control.ejb.ClipboardBmEJB
public class ClipboardBmEJB
Stateful EJB to maintain the status of the clipboard of Silverpeas content.
| Constructor Summary | |
|---|---|
ClipboardBmEJB()
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(ClipboardSelection objectToCopy)
Copy a node. |
void |
clear()
Removes all of the elements from the clipboard. |
Clipboard |
create(String name)
|
int |
getCount()
Get the count access of clipboard. |
Exception |
getExceptionError()
Method declaration |
String |
getMessageError()
Method getMessageError |
String |
getName()
|
ClipboardSelection |
getObject()
Paste a node. |
ClipboardSelection |
getObject(int index)
Returns the element at the specified position in the clipboard. |
Collection<ClipboardSelection> |
getObjects()
Return al the objects. |
Collection<ClipboardSelection> |
getSelectedObjects()
Return the selected objects. |
void |
PasteDone()
When paste is done. |
void |
remove()
|
void |
removeObject(int index)
Removes the element at the specified position in the clipboard. |
void |
setMessageError(String messageID,
Exception e)
- Method setMessageError |
void |
setMultiClipboard()
Switch the clipboard to multi mode. |
void |
setSelected(int index,
boolean setIt)
Returns the element at the specified position in the clipboard. |
void |
setSingleClipboard()
Switch the clipboard to single mode. |
int |
size()
Returns the number of elements in the clipboard. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClipboardBmEJB()
| Method Detail |
|---|
public void add(ClipboardSelection objectToCopy)
throws ClipboardException
add in interface ClipboardobjectToCopy -
ClipboardExceptionpublic ClipboardSelection getObject()
getObject in interface Clipboardpublic Collection<ClipboardSelection> getObjects()
getObjects in interface Clipboard
public Collection<ClipboardSelection> getSelectedObjects()
throws ClipboardException
getSelectedObjects in interface ClipboardClipboardException
public int size()
throws ClipboardException
size in interface ClipboardClipboardException
public ClipboardSelection getObject(int index)
throws ClipboardException
getObject in interface Clipboardindex -
ClipboardExceptionpublic void PasteDone()
PasteDone in interface Clipboard
public void setSelected(int index,
boolean setIt)
throws ClipboardException
setSelected in interface Clipboardindex - setIt -
ClipboardException
public void removeObject(int index)
throws ClipboardException
removeObject in interface Clipboardindex -
ClipboardExceptionpublic void clear()
clear in interface ClipboardClipboardException
public void setMultiClipboard()
throws ClipboardException
setMultiClipboard in interface ClipboardClipboardExceptionpublic void setSingleClipboard()
setSingleClipboard in interface Clipboardpublic int getCount()
getCount in interface Clipboardpublic String getMessageError()
getMessageError in interface Clipboardpublic Exception getExceptionError()
Clipboard
getExceptionError in interface Clipboard
public void setMessageError(String messageID,
Exception e)
setMessageError in interface ClipboardmessageID - e - public void remove()
remove in interface Clipboardpublic String getName()
getName in interface Clipboardpublic Clipboard create(String name)
create in interface Clipboard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||