|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.site.usecases.ClipboardHelper
public class ClipboardHelper
Helper class for clipboard handling.
Constructor Summary | |
---|---|
ClipboardHelper()
|
Method Summary | |
---|---|
Clipboard |
getClipboard(org.apache.avalon.framework.context.Context context)
Returns the clipboard attachted to the session. |
protected org.apache.cocoon.environment.Session |
getSession(org.apache.avalon.framework.context.Context context)
|
protected java.lang.String |
getSessionAttributeName()
|
void |
removeClipboard(org.apache.avalon.framework.context.Context context)
Removes the clipboard from the session. |
void |
saveClipboard(org.apache.avalon.framework.context.Context context,
Clipboard clipboard)
Saves the clipboard to the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClipboardHelper()
Method Detail |
---|
public Clipboard getClipboard(org.apache.avalon.framework.context.Context context)
context
- The context containing the session.
null
if no clipboard is attached to
the session.protected java.lang.String getSessionAttributeName()
protected org.apache.cocoon.environment.Session getSession(org.apache.avalon.framework.context.Context context)
context
- The context.
public void saveClipboard(org.apache.avalon.framework.context.Context context, Clipboard clipboard)
context
- The context.clipboard
- The clipboard.public void removeClipboard(org.apache.avalon.framework.context.Context context)
context
- The context.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |