@Deprecated public class LightSourceGraphSpec extends AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec
specialized for processing light sources.BaseGraphSpec.SubSpecIterator
isAbstract, optSource, rawOption, types
Constructor and Description |
---|
LightSourceGraphSpec(List<String> entries)
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
chgrpQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
Return a
QueryBuilder which has been properly initialized to take the parameters "id"
and "grp" and then have QueryBuilder.query(Session) called. |
protected Class |
getRoot()
Deprecated.
Return the root class for this hierarchy.
|
protected Set<Class<? extends LightSource>> |
getTypes(ExtendedMetadata em)
Deprecated.
Returns all the types that are known for this hierarchy.
|
protected void |
handleOptions(int i,
String[] parts)
Deprecated.
Called once per loop iteration throw rawOptions during
AbstractHierarchyGraphSpec.initialize(long, String, Map) |
protected boolean |
isOverrideKeep(int step,
QueryBuilder and,
String alias)
Deprecated.
If
BaseGraphSpec.overrideKeep() returns true for a subclass, then this method
will likely want to (at least sometimes) return a true value. |
boolean |
overrideKeep()
Deprecated.
Always returns false.
|
protected void |
postProcessOptions()
Deprecated.
If any options exist, this method will be called to finalize any of
the processing done by
AbstractHierarchyGraphSpec.handleOptions(int, String[]) . |
initialize, queryBackupIds, setExtendedMetadata
buildQuery, chmodQuery, createQueryBuilder, deleteQuery, entries, getHibernateClass, getName, getSuperSpec, groupInfo, join, joinDataset, joinPlate, load, parseResults, permissionsClause, postProcess, runQuery, setBeanName, toString, walk, walk
protected Class getRoot()
AbstractHierarchyGraphSpec
getRoot
in class AbstractHierarchyGraphSpec
protected Set<Class<? extends LightSource>> getTypes(ExtendedMetadata em)
AbstractHierarchyGraphSpec
getTypes
in class AbstractHierarchyGraphSpec
public QueryBuilder chgrpQuery(EventContext ec, String table, GraphOpts opts)
GraphSpec
QueryBuilder
which has been properly initialized to take the parameters "id"
and "grp" and then have QueryBuilder.query(Session)
called.chgrpQuery
in interface GraphSpec
chgrpQuery
in class BaseGraphSpec
protected void handleOptions(int i, String[] parts)
AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec.initialize(long, String, Map)
handleOptions
in class AbstractHierarchyGraphSpec
i
- Index into AbstractHierarchyGraphSpec.rawOption
which is being processed.parts
- semi-colon split values of rawOptions[i]protected void postProcessOptions()
AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec.handleOptions(int, String[])
.postProcessOptions
in class AbstractHierarchyGraphSpec
public boolean overrideKeep()
BaseGraphSpec
overrideKeep
in interface GraphSpec
overrideKeep
in class BaseGraphSpec
protected boolean isOverrideKeep(int step, QueryBuilder and, String alias)
AbstractHierarchyGraphSpec
BaseGraphSpec.overrideKeep()
returns true for a subclass, then this method
will likely want to (at least sometimes) return a true value. When it
returns true, then it should also modify the QueryBuilder
in
order to properly filter for only those objects of interest. If a false
is returned, then no IDs will be queried for this entity.isOverrideKeep
in class AbstractHierarchyGraphSpec
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.