Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.modules.clipboard
Class FlexClipboard  view FlexClipboard download FlexClipboard.java

java.lang.Object
  extended bycom.flexstor.common.modules.clipboard.FlexClipboard

public class FlexClipboard
extends java.lang.Object


Field Summary
static int ASSET_ITEM
           
private  com.flexstor.common.modules.registry.asset.AssetRegistry assetReg
           
static int BUCKET_ITEM
           
private  com.flexstor.common.modules.registry.bucket.BucketRegistry buckReg
           
private  java.util.ArrayList clipboard
           
static int ELEMENT_ITEM
           
private  com.flexstor.common.modules.registry.element.ElementRegistry elemReg
           
private  long[] naCurrentAssetIds
           
private  int nAssetCount
           
private  int nBucketCount
           
private  int nDisguiseId
           
private  int nElementCount
           
private  int nInsertBucketLevel
           
private  int nItemType
           
static int PASTE_DUPLICATE
           
static int PASTE_INVALID
           
static int PASTE_OK
           
static int UNKNOWN_ITEM
           
 
Constructor Summary
FlexClipboard()
           
 
Method Summary
 void copy(java.util.List orginal)
           
private  void copyItems(java.util.List orginal, int nDepth)
           
 int getContentLevel()
           
 int getContentType()
           
private  int getDisguiseId(java.lang.Object o)
           
private  boolean hasAssetDuplicates(com.flexstor.common.modules.registry.BaseInstanceI dest)
           
 void invalidate()
           
 java.util.ArrayList paste(com.flexstor.common.modules.registry.BaseInstanceI dest)
           
private  java.util.ArrayList pasteItems(com.flexstor.common.modules.registry.BaseInstanceI dest)
           
 boolean quickValidate(com.flexstor.common.modules.registry.BaseInstanceI dest)
           
 int validate(com.flexstor.common.modules.registry.BaseInstanceI dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PASTE_OK

public static final int PASTE_OK
See Also:
Constant Field Values

PASTE_INVALID

public static final int PASTE_INVALID
See Also:
Constant Field Values

PASTE_DUPLICATE

public static final int PASTE_DUPLICATE
See Also:
Constant Field Values

UNKNOWN_ITEM

public static final int UNKNOWN_ITEM
See Also:
Constant Field Values

BUCKET_ITEM

public static final int BUCKET_ITEM
See Also:
Constant Field Values

ELEMENT_ITEM

public static final int ELEMENT_ITEM
See Also:
Constant Field Values

ASSET_ITEM

public static final int ASSET_ITEM
See Also:
Constant Field Values

nDisguiseId

private int nDisguiseId

nBucketCount

private int nBucketCount

nElementCount

private int nElementCount

nAssetCount

private int nAssetCount

nItemType

private int nItemType

nInsertBucketLevel

private int nInsertBucketLevel

naCurrentAssetIds

private long[] naCurrentAssetIds

clipboard

private java.util.ArrayList clipboard

buckReg

private com.flexstor.common.modules.registry.bucket.BucketRegistry buckReg

elemReg

private com.flexstor.common.modules.registry.element.ElementRegistry elemReg

assetReg

private com.flexstor.common.modules.registry.asset.AssetRegistry assetReg
Constructor Detail

FlexClipboard

public FlexClipboard()
Method Detail

invalidate

public void invalidate()

quickValidate

public boolean quickValidate(com.flexstor.common.modules.registry.BaseInstanceI dest)

validate

public int validate(com.flexstor.common.modules.registry.BaseInstanceI dest)

hasAssetDuplicates

private boolean hasAssetDuplicates(com.flexstor.common.modules.registry.BaseInstanceI dest)

copy

public void copy(java.util.List orginal)

getContentType

public int getContentType()

getContentLevel

public int getContentLevel()

copyItems

private void copyItems(java.util.List orginal,
                       int nDepth)
                throws com.flexstor.common.gateway.exceptions.TransactionFailedException

paste

public java.util.ArrayList paste(com.flexstor.common.modules.registry.BaseInstanceI dest)

pasteItems

private java.util.ArrayList pasteItems(com.flexstor.common.modules.registry.BaseInstanceI dest)

getDisguiseId

private int getDisguiseId(java.lang.Object o)