|
||||||||||
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 Clipboard
objectToCopy
-
ClipboardException
public ClipboardSelection getObject()
getObject
in interface Clipboard
public Collection<ClipboardSelection> getObjects()
getObjects
in interface Clipboard
public Collection<ClipboardSelection> getSelectedObjects() throws ClipboardException
getSelectedObjects
in interface Clipboard
ClipboardException
public int size() throws ClipboardException
size
in interface Clipboard
ClipboardException
public ClipboardSelection getObject(int index) throws ClipboardException
getObject
in interface Clipboard
index
-
ClipboardException
public void PasteDone()
PasteDone
in interface Clipboard
public void setSelected(int index, boolean setIt) throws ClipboardException
setSelected
in interface Clipboard
index
- setIt
-
ClipboardException
public void removeObject(int index) throws ClipboardException
removeObject
in interface Clipboard
index
-
ClipboardException
public void clear()
clear
in interface Clipboard
ClipboardException
public void setMultiClipboard() throws ClipboardException
setMultiClipboard
in interface Clipboard
ClipboardException
public void setSingleClipboard()
setSingleClipboard
in interface Clipboard
public int getCount()
getCount
in interface Clipboard
public String getMessageError()
getMessageError
in interface Clipboard
public Exception getExceptionError()
Clipboard
getExceptionError
in interface Clipboard
public void setMessageError(String messageID, Exception e)
setMessageError
in interface Clipboard
messageID
- e
-
public void remove()
remove
in interface Clipboard
public String getName()
getName
in interface Clipboard
public Clipboard create(String name)
create
in interface Clipboard
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |