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

Quick Search    Search Deep

com.flexstor.common.modules.registry.asset
Class AssetRecord  view AssetRecord download AssetRecord.java

java.lang.Object
  extended bycom.flexstor.common.modules.registry.asset.AssetRecord

public class AssetRecord
extends java.lang.Object


Field Summary
private  com.flexstor.common.data.ejb.search.MultiValueData[] assetData
           
private  java.util.ArrayList assetInstances
           
private  boolean bPartialData
           
private  boolean bVersionsLoaded
           
private  com.flexstor.common.modules.registry.InstanceId editLockId
           
private  long[] naVersionIds
           
private  com.flexstor.common.data.ejb.search.MultiValueData[] roleData
           
private  long timeStamp
           
 
Constructor Summary
AssetRecord()
           
 
Method Summary
 boolean areVersionIdsLoaded()
           
 boolean containsAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)
           
 com.flexstor.common.data.ejb.search.MultiValueData[] getAssetData()
           
 java.util.ArrayList getAssetInstanceList()
           
 com.flexstor.common.modules.registry.InstanceId getLockId()
           
 com.flexstor.common.data.ejb.search.MultiValueData[] getRoleData()
           
 long getTimeStamp()
           
 long[] getVersionIds()
           
 boolean hasPartialData()
           
 int isAssetLocked(com.flexstor.common.modules.registry.InstanceId id)
           
 boolean isEmpty()
           
 int lockAsset(com.flexstor.common.modules.registry.InstanceId id)
           
 void registerAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)
           
 void setAssetData(com.flexstor.common.data.ejb.search.MultiValueData[] data, boolean bPartialData)
           
 void setAssetData(com.flexstor.common.data.ejb.search.MultiValueData[] data, boolean bPartialData, long timeStamp)
           
 void setPartialData(boolean bPartialData)
           
 void setRoleData(com.flexstor.common.data.ejb.search.MultiValueData[] data)
           
 void setTimeStamp(long timeStamp)
           
 void setVersions(long[] ids, boolean bLoaded)
           
 boolean unlockAsset(com.flexstor.common.modules.registry.InstanceId id)
           
 void unregisterAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assetData

private com.flexstor.common.data.ejb.search.MultiValueData[] assetData

roleData

private com.flexstor.common.data.ejb.search.MultiValueData[] roleData

bPartialData

private boolean bPartialData

timeStamp

private long timeStamp

assetInstances

private java.util.ArrayList assetInstances

naVersionIds

private long[] naVersionIds

bVersionsLoaded

private boolean bVersionsLoaded

editLockId

private com.flexstor.common.modules.registry.InstanceId editLockId
Constructor Detail

AssetRecord

public AssetRecord()
Method Detail

registerAssetInstance

public void registerAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)

unregisterAssetInstance

public void unregisterAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)

containsAssetInstance

public boolean containsAssetInstance(com.flexstor.common.modules.registry.SharedAssetInstanceId id)

isEmpty

public boolean isEmpty()

getAssetInstanceList

public java.util.ArrayList getAssetInstanceList()

setAssetData

public void setAssetData(com.flexstor.common.data.ejb.search.MultiValueData[] data,
                         boolean bPartialData,
                         long timeStamp)

setAssetData

public void setAssetData(com.flexstor.common.data.ejb.search.MultiValueData[] data,
                         boolean bPartialData)

getAssetData

public com.flexstor.common.data.ejb.search.MultiValueData[] getAssetData()

setRoleData

public void setRoleData(com.flexstor.common.data.ejb.search.MultiValueData[] data)

getRoleData

public com.flexstor.common.data.ejb.search.MultiValueData[] getRoleData()

setTimeStamp

public void setTimeStamp(long timeStamp)

getTimeStamp

public long getTimeStamp()

hasPartialData

public boolean hasPartialData()

setPartialData

public void setPartialData(boolean bPartialData)

areVersionIdsLoaded

public boolean areVersionIdsLoaded()

getVersionIds

public long[] getVersionIds()

setVersions

public void setVersions(long[] ids,
                        boolean bLoaded)

getLockId

public com.flexstor.common.modules.registry.InstanceId getLockId()

isAssetLocked

public int isAssetLocked(com.flexstor.common.modules.registry.InstanceId id)

lockAsset

public int lockAsset(com.flexstor.common.modules.registry.InstanceId id)

unlockAsset

public boolean unlockAsset(com.flexstor.common.modules.registry.InstanceId id)