|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.cms.site.usecases.Clipboard
public class Clipboard
Clipboard for cut/copy/paste of documents. The clipping method is either METHOD_CUT or
METHOD_COPY.
| Field Summary | |
|---|---|
static int |
METHOD_COPY
The "copy" method. |
static int |
METHOD_CUT
The "cut" method. |
| Constructor Summary | |
|---|---|
Clipboard(org.apache.lenya.cms.publication.Document document,
int _method)
Ctor. |
|
| Method Summary | |
|---|---|
org.apache.lenya.cms.publication.Document |
getDocument(org.apache.lenya.cms.publication.DocumentFactory identityMap,
org.apache.lenya.cms.publication.Publication publication)
Returns the document for the current identity map. |
int |
getMethod()
Returns the method of this clipboard. |
java.lang.String |
getPublicationId()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int METHOD_CUT
public static final int METHOD_COPY
| Constructor Detail |
|---|
public Clipboard(org.apache.lenya.cms.publication.Document document,
int _method)
document - The document to put on the clipboard._method - The clipping method.| Method Detail |
|---|
public org.apache.lenya.cms.publication.Document getDocument(org.apache.lenya.cms.publication.DocumentFactory identityMap,
org.apache.lenya.cms.publication.Publication publication)
throws org.apache.lenya.cms.publication.DocumentBuildException
identityMap - The identity map.publication - The publication.
org.apache.lenya.cms.publication.DocumentBuildException - if the document could not be built.public java.lang.String getPublicationId()
public int getMethod()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||