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

Quick Search    Search Deep

com.flexstor.common.modules.registry.bucket
Class BucketInstance  view BucketInstance download BucketInstance.java

java.lang.Object
  extended bycom.flexstor.common.modules.registry.BaseInstance
      extended bycom.flexstor.common.modules.registry.bucket.BucketInstance
All Implemented Interfaces:
com.flexstor.common.modules.registry.BaseInstanceI, BucketInstanceI, com.flexstor.common.modules.registry.EditableInstanceI

public class BucketInstance
extends com.flexstor.common.modules.registry.BaseInstance
implements BucketInstanceI


Field Summary
 
Fields inherited from class com.flexstor.common.modules.registry.BaseInstance
id
 
Fields inherited from interface com.flexstor.common.modules.registry.EditableInstanceI
LOCKED_BY_OTHER_INSTANCE, LOCKED_BY_THIS_INSTANCE, NOT_LOCKED
 
Constructor Summary
BucketInstance(com.flexstor.common.modules.registry.InstanceId id)
           
 
Method Summary
 com.flexstor.common.data.ejb.search.MultiValueData getData(int nFieldId)
           
 com.flexstor.common.data.ejb.search.MultiValueData[] getData(int[] naFieldIds)
           
 com.flexstor.common.data.ejb.search.MultiValueData[] getData(java.lang.String sDisplay)
           
 com.flexstor.common.modules.registry.disguise.DisguiseInstanceI getDisguiseInstance()
           
 int getLevel()
           
 long getRecordId()
           
 java.lang.String getReportSignature()
           
 com.flexstor.common.modules.registry.resultset.ResultSetInstanceI getResultSetInstance()
           
 int getStructureId()
           
 long getTimeStamp()
           
 com.flexstor.common.modules.registry.BaseInstanceI getTopBucket()
           
 com.flexstor.common.data.TraversalInfo getTraversalPath()
           
 boolean hasPartialData()
           
 boolean isDeleted()
           
 boolean isInserted()
           
 boolean isLowestBucket()
           
 boolean isModified()
           
 int isRecordLocked()
           
 int isStructureLocked()
           
 boolean isTopBucket()
           
 int lockRecord()
           
 int lockStructure()
           
 void renameAsCopyOf()
           
 void resetData()
           
 void restoreData()
           
 void setDeleted(boolean bDeleted)
           
 void setInserted(boolean bInserted)
           
 void setMultiValueData(com.flexstor.common.data.ejb.search.MultiValueData[] data)
           
 void setPartialData(boolean bFlag)
           
 void setTimeStamp(long nTimeStamp)
           
 boolean unlockRecord()
           
 boolean unlockStructure()
           
 
Methods inherited from class com.flexstor.common.modules.registry.BaseInstance
buildError, equals, getChildren, getDescription, getFullDescription, getInstanceId, getLabel, getLabel, getParentInstance, getPosition, getRootInstance, getUserObject, hashCode, isValid, setUserObject, toString, unlinkChild, unregister
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.flexstor.common.modules.registry.BaseInstanceI
getChildren, getDescription, getFullDescription, getInstanceId, getLabel, getLabel, getParentInstance, getPosition, getRootInstance, getUserObject, isValid, setUserObject, unlinkChild, unregister
 

Constructor Detail

BucketInstance

public BucketInstance(com.flexstor.common.modules.registry.InstanceId id)
Method Detail

getStructureId

public int getStructureId()
Specified by:
getStructureId in interface com.flexstor.common.modules.registry.BaseInstanceI

getRecordId

public long getRecordId()
Specified by:
getRecordId in interface BucketInstanceI

isDeleted

public boolean isDeleted()
Specified by:
isDeleted in interface com.flexstor.common.modules.registry.EditableInstanceI

isInserted

public boolean isInserted()
Specified by:
isInserted in interface com.flexstor.common.modules.registry.EditableInstanceI

isModified

public boolean isModified()
Specified by:
isModified in interface com.flexstor.common.modules.registry.EditableInstanceI

setDeleted

public void setDeleted(boolean bDeleted)
Specified by:
setDeleted in interface com.flexstor.common.modules.registry.EditableInstanceI

setInserted

public void setInserted(boolean bInserted)
Specified by:
setInserted in interface com.flexstor.common.modules.registry.EditableInstanceI

getDisguiseInstance

public com.flexstor.common.modules.registry.disguise.DisguiseInstanceI getDisguiseInstance()
Specified by:
getDisguiseInstance in interface com.flexstor.common.modules.registry.BaseInstanceI

getResultSetInstance

public com.flexstor.common.modules.registry.resultset.ResultSetInstanceI getResultSetInstance()
Specified by:
getResultSetInstance in interface com.flexstor.common.modules.registry.BaseInstanceI

getReportSignature

public java.lang.String getReportSignature()
Specified by:
getReportSignature in interface com.flexstor.common.modules.registry.BaseInstanceI

renameAsCopyOf

public void renameAsCopyOf()
Specified by:
renameAsCopyOf in interface com.flexstor.common.modules.registry.EditableInstanceI

getLevel

public int getLevel()
Specified by:
getLevel in interface com.flexstor.common.modules.registry.BaseInstanceI

isRecordLocked

public int isRecordLocked()
Specified by:
isRecordLocked in interface com.flexstor.common.modules.registry.EditableInstanceI

lockRecord

public int lockRecord()
Specified by:
lockRecord in interface com.flexstor.common.modules.registry.EditableInstanceI

unlockRecord

public boolean unlockRecord()
Specified by:
unlockRecord in interface com.flexstor.common.modules.registry.EditableInstanceI

isStructureLocked

public int isStructureLocked()
Specified by:
isStructureLocked in interface com.flexstor.common.modules.registry.EditableInstanceI

lockStructure

public int lockStructure()
Specified by:
lockStructure in interface com.flexstor.common.modules.registry.EditableInstanceI

unlockStructure

public boolean unlockStructure()
Specified by:
unlockStructure in interface com.flexstor.common.modules.registry.EditableInstanceI

hasPartialData

public boolean hasPartialData()
Specified by:
hasPartialData in interface com.flexstor.common.modules.registry.EditableInstanceI

setPartialData

public void setPartialData(boolean bFlag)
Specified by:
setPartialData in interface com.flexstor.common.modules.registry.EditableInstanceI

setMultiValueData

public void setMultiValueData(com.flexstor.common.data.ejb.search.MultiValueData[] data)
Specified by:
setMultiValueData in interface BucketInstanceI

getData

public com.flexstor.common.data.ejb.search.MultiValueData getData(int nFieldId)
                                                           throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
getData in interface com.flexstor.common.modules.registry.EditableInstanceI

getData

public com.flexstor.common.data.ejb.search.MultiValueData[] getData(int[] naFieldIds)
                                                             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
getData in interface com.flexstor.common.modules.registry.EditableInstanceI

getData

public com.flexstor.common.data.ejb.search.MultiValueData[] getData(java.lang.String sDisplay)
                                                             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
getData in interface com.flexstor.common.modules.registry.EditableInstanceI

getTopBucket

public com.flexstor.common.modules.registry.BaseInstanceI getTopBucket()
Specified by:
getTopBucket in interface com.flexstor.common.modules.registry.BaseInstanceI

isTopBucket

public boolean isTopBucket()
Specified by:
isTopBucket in interface com.flexstor.common.modules.registry.BaseInstanceI

isLowestBucket

public boolean isLowestBucket()
Specified by:
isLowestBucket in interface com.flexstor.common.modules.registry.BaseInstanceI

getTraversalPath

public com.flexstor.common.data.TraversalInfo getTraversalPath()
Specified by:
getTraversalPath in interface com.flexstor.common.modules.registry.BaseInstanceI

restoreData

public void restoreData()
Specified by:
restoreData in interface com.flexstor.common.modules.registry.EditableInstanceI

resetData

public void resetData()
Specified by:
resetData in interface com.flexstor.common.modules.registry.EditableInstanceI

getTimeStamp

public long getTimeStamp()
Specified by:
getTimeStamp in interface com.flexstor.common.modules.registry.EditableInstanceI

setTimeStamp

public void setTimeStamp(long nTimeStamp)
Specified by:
setTimeStamp in interface com.flexstor.common.modules.registry.EditableInstanceI