Interface Clipboard
-
- All Known Implementing Classes:
MainClipboardService
,MainSessionController
public interface Clipboard
A clipboard in Silverpeas to receive the objects cut or copied by users in Silverpeas.- Author:
- ehugonnet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(ClipboardSelection clipObject)
void
clear()
int
getCount()
Exception
getExceptionError()
String
getMessageError()
ClipboardSelection
getObject()
ClipboardSelection
getObject(int index)
Collection<ClipboardSelection>
getObjects()
Collection<ClipboardSelection>
getSelectedObjects()
void
PasteDone()
void
removeObject(int index)
void
setMessageError(String messageID, Exception e)
void
setMultiClipboard()
void
setSelected(int index, boolean setIt)
void
setSingleClipboard()
int
size()
-
-
-
Method Detail
-
add
void add(ClipboardSelection clipObject) throws ClipboardException
- Throws:
ClipboardException
-
getObject
ClipboardSelection getObject()
-
PasteDone
void PasteDone() throws ClipboardException
- Throws:
ClipboardException
-
getSelectedObjects
Collection<ClipboardSelection> getSelectedObjects() throws ClipboardException
- Throws:
ClipboardException
-
getObjects
Collection<ClipboardSelection> getObjects() throws ClipboardException
- Throws:
ClipboardException
-
size
int size() throws ClipboardException
- Throws:
ClipboardException
-
getObject
ClipboardSelection getObject(int index) throws ClipboardException
- Throws:
ClipboardException
-
setSelected
void setSelected(int index, boolean setIt) throws ClipboardException
- Throws:
ClipboardException
-
removeObject
void removeObject(int index) throws ClipboardException
- Throws:
ClipboardException
-
clear
void clear()
-
setMultiClipboard
void setMultiClipboard() throws ClipboardException
- Throws:
ClipboardException
-
setSingleClipboard
void setSingleClipboard() throws ClipboardException
- Throws:
ClipboardException
-
getCount
int getCount() throws ClipboardException
- Throws:
ClipboardException
-
getMessageError
String getMessageError() throws ClipboardException
- Throws:
ClipboardException
-
getExceptionError
Exception getExceptionError() throws ClipboardException
- Throws:
ClipboardException
-
setMessageError
void setMessageError(String messageID, Exception e) throws ClipboardException
- Throws:
ClipboardException
-
-