de.deepamehta.plugins.workspaces.migrations
Class Migration6

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.service.Migration
      extended by de.deepamehta.plugins.workspaces.migrations.Migration6

public class Migration6
extends Migration

Assigns standard association definitions (and their view config topics) to DeepaMehta workspace. Runs only in UPDATE mode.

Part of DM 4.6


Field Summary
private  long assocDefs
           
private  long configTopics
           
private  long deepamehtaWorkspaceId
           
private  Logger logger
           
private static String PROP_WORKSPACE_ID
           
private  long standardTypes
           
private  long types
           
private  WorkspacesService wsService
           
 
Fields inherited from class de.deepamehta.core.service.Migration
dms
 
Constructor Summary
Migration6()
           
 
Method Summary
(package private)  void assignToDeepamehtaWorkspace(DeepaMehtaObject object)
           
(package private)  void assignWorkspace(Type type)
           
private  Topic getDeepaMehtaWorkspace()
           
private  boolean isDeepaMehtaStandardType(Type type)
           
 void run()
           
 
Methods inherited from class de.deepamehta.core.service.Migration
addAssociationTypeSetting, addTopicTypeSetting, addTypeSetting, setCoreService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_WORKSPACE_ID

private static final String PROP_WORKSPACE_ID
See Also:
Constant Field Values

wsService

private WorkspacesService wsService

deepamehtaWorkspaceId

private long deepamehtaWorkspaceId

types

private long types

standardTypes

private long standardTypes

assocDefs

private long assocDefs

configTopics

private long configTopics

logger

private Logger logger
Constructor Detail

Migration6

public Migration6()
Method Detail

run

public void run()
Specified by:
run in class Migration

assignWorkspace

void assignWorkspace(Type type)

assignToDeepamehtaWorkspace

void assignToDeepamehtaWorkspace(DeepaMehtaObject object)

getDeepaMehtaWorkspace

private Topic getDeepaMehtaWorkspace()

isDeepaMehtaStandardType

private boolean isDeepaMehtaStandardType(Type type)


Copyright © 2015. All Rights Reserved.