com.sapportals.wcm.command.clipboard

Class Clipboard

java.lang.Object
  extended by com.sapportals.wcm.command.clipboard.Clipboard

public final class Clipboard
extends Object

This is the clipboards persistency access.


Nested Class Summary
static class Clipboard.ClipboardEntry
           
 
Method Summary
 boolean clearClipboard()
           
static Clipboard.ClipboardEntry createClipboardEntry(String[] rid, boolean isCut)
           
 Clipboard.ClipboardEntry getEntry()
           
static Clipboard getInstance(IResourceContext context)
          Get an instance of the clipboard
 Exception getLastException()
           
 boolean hasEntry()
           
 boolean setEntry(Clipboard.ClipboardEntry entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Clipboard getInstance(IResourceContext context)
Get an instance of the clipboard

Parameters:
context -
Returns:
an instance of the clipboard

createClipboardEntry

public static Clipboard.ClipboardEntry createClipboardEntry(String[] rid,
                                                            boolean isCut)
Parameters:
rid -
isCut -
Returns:
clipboard entry

setEntry

public boolean setEntry(Clipboard.ClipboardEntry entry)
Parameters:
entry -
Returns:
boolean value

getEntry

public Clipboard.ClipboardEntry getEntry()
Returns:
result

hasEntry

public boolean hasEntry()

clearClipboard

public boolean clearClipboard()

getLastException

public Exception getLastException()
Returns:
Returns the lastEx.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice