ome.services.sharing
Class FreezeShareStore

java.lang.Object
  extended by ome.services.sharing.ShareStore
      extended by ome.services.sharing.FreezeShareStore

public class FreezeShareStore
extends ShareStore

Entry to the Ice code generated data/ directory.

Since:
3.0-Beta4
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
IShare

Field Summary
protected  Freeze.Connection conn
           
protected  String envItems
           
protected  File envLocation
           
protected  String envMap
           
protected  String envRoot
           
 
Fields inherited from class ome.services.sharing.ShareStore
ic, log
 
Constructor Summary
FreezeShareStore(String root, File location)
           
 
Method Summary
 void doClose()
           
<T extends ome.model.IObject>
boolean
doContains(long sessionId, Class<T> kls, long objId)
           
 void doInit()
           
 void doSet(ome.model.meta.Share share, ShareData data, List<ShareItem> items)
           
 ShareData get(long id)
           
 List<ShareData> getShares(long userId, boolean own, boolean active)
           
 Set<Long> keys()
           
 Long totalSharedItems()
           
 Long totalShares()
           
 
Methods inherited from class ome.services.sharing.ShareStore
close, contains, init, parse, parse, set, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

envRoot

protected final String envRoot

envMap

protected final String envMap

envItems

protected final String envItems

envLocation

protected final File envLocation

conn

protected final Freeze.Connection conn
Constructor Detail

FreezeShareStore

public FreezeShareStore(String root,
                        File location)
Method Detail

doInit

public void doInit()
Specified by:
doInit in class ShareStore

totalShares

public Long totalShares()
Specified by:
totalShares in class ShareStore

totalSharedItems

public Long totalSharedItems()
Specified by:
totalSharedItems in class ShareStore

doContains

public <T extends ome.model.IObject> boolean doContains(long sessionId,
                                                        Class<T> kls,
                                                        long objId)
Specified by:
doContains in class ShareStore

doClose

public void doClose()
Specified by:
doClose in class ShareStore

doSet

public void doSet(ome.model.meta.Share share,
                  ShareData data,
                  List<ShareItem> items)
Specified by:
doSet in class ShareStore

get

public ShareData get(long id)
Specified by:
get in class ShareStore

getShares

public List<ShareData> getShares(long userId,
                                 boolean own,
                                 boolean active)
Specified by:
getShares in class ShareStore

keys

public Set<Long> keys()
Specified by:
keys in class ShareStore


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.