|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.dataops.objectcol.StandardCollectionService
Use the newStandardCollectionService
static factory method(s),
not the StandardCollectionService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
cleanUpEnabled
|
private static boolean |
EXECUTE_QUEUES
|
private static String |
QUEUE_NAME
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
private static String |
WT_HOME
|
private static String |
WT_TEMP
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardCollectionService()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
private static final String WT_HOME
private static final String WT_TEMP
private static boolean EXECUTE_QUEUES
private static final String QUEUE_NAME
private static boolean cleanUpEnabled
Constructor Detail |
public StandardCollectionService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardCollectionService newStandardCollectionService() throws WTException
WTException
public CollectionActivity createCollection(CollectionCriteria criteria) throws WTException
createCollection
in interface CollectionService
criteria
-
WTException
public CollectionActivity createCollection(CollectionCriteria criteria, RelationshipMap relationshipMap) throws WTException
createCollection
in interface CollectionService
criteria
- relationshipMap
-
WTException
public CollectionActivity addDependencies(CollectionGraph input, RelationshipMap relationshipMap, boolean updateInPlace) throws WTException
addDependencies
in interface CollectionService
input
- relationshipMap
- updateInPlace
-
WTException
public void exportCriteria(CollectionCriteria criteria, OutputStream output) throws WTException
exportCriteria
in interface CollectionService
criteria
- output
-
WTException
public CollectionCriteria importCriteria(String name, InputStream input) throws WTException
importCriteria
in interface CollectionService
name
- input
-
WTException
public CollectionCriteria getCollectionCriteria(String name) throws WTException
getCollectionCriteria
in interface CollectionService
name
-
WTException
public QueryResult getAllCollectionCriteria() throws WTException
getAllCollectionCriteria
in interface CollectionService
WTException
public QueryResult getEnabledCollectionCriteria() throws WTException
getEnabledCollectionCriteria
in interface CollectionService
WTException
public QueryResult getDisabledCollectionCriteria() throws WTException
getDisabledCollectionCriteria
in interface CollectionService
WTException
public QueryResult getAllRelationshipMaps() throws WTException
getAllRelationshipMaps
in interface CollectionService
WTException
public CollectionCriteria storeCriteria(CollectionCriteria criteria, CriterionObject[] criterions, InputValue[][] inputs) throws WTException
storeCriteria
in interface CollectionService
criteria
- criterions
- inputs
-
WTException
public BaseCriterionDef[] getAvailableCriterionDefs(BaseCriterionDef[] current) throws WTException
getAvailableCriterionDefs
in interface CollectionService
current
-
WTException
public RelationshipMap storeRelationshipMap(String name, RelationshipMapDef definition, InputValue[] inputs) throws WTException
storeRelationshipMap
in interface CollectionService
name
- definition
- inputs
-
WTException
public RelationshipMap getRelationshipMap(String name) throws WTException
getRelationshipMap
in interface CollectionService
name
-
WTException
public CollectionCriteria getCollectionCriteria(String name, WTContainerRef containerRef) throws WTException
getCollectionCriteria
in interface CollectionService
name
- containerRef
-
WTException
public RelationshipMap getRelationshipMap(String name, WTContainerRef containerRef) throws WTException
getRelationshipMap
in interface CollectionService
name
- containerRef
-
WTException
public File exportToFile(CollectionCriteria criteria, RelationshipMap map, File output) throws WTException
exportToFile
in interface CollectionService
criteria
- map
- output
-
WTException
public void importFromFile(File input) throws WTException
importFromFile
in interface CollectionService
input
-
WTException
protected void performStartupProcess() throws ManagerException
StandardManager
performStartupProcess
in class StandardManager
ManagerException
protected void registerAsListener() throws ManagerException
ManagerException
private void processPreDeleteEvent(CollectionCriteria criteria) throws WTException
WTException
private void processPreDeleteEvent(CriterionObject criterion) throws WTException
WTException
private void processPreDeleteEvent(BaseCriterionDef definition) throws WTException
WTException
private void processPreDeleteEvent(RelationshipMap map) throws WTException
WTException
private void processPreStoreEvent(CriterionObject co) throws WTException
WTException
private void processPreStoreEvent(InputValue iv) throws WTException
WTException
private QueryResult findCollectionCriteria(boolean flag) throws QueryException, WTException
QueryException
WTException
protected CollectionCriteria setDefaultContainer(CollectionCriteria criteria, CriterionObject[] criterions, InputValue[][] inputs) throws WTException
WTException
protected CollectionCriteria setContNDomainRefIfAccess(CollectionCriteria criteria, WTContainerRef contRef, AdminDomainRef domainRef) throws WTException
WTException
protected CollectionProcessor createCollectionProcessor(CollectionCriteria criteria) throws WTException
WTException
protected RelationshipMapProcessor getDefaultArchiveRelationshipMapProcessor() throws WTException
WTException
protected WTContained getNamedWTContained(Class type, String nameLbl, String name, WTContainerRef containerRef, String containerRefNullErrMsgKey, String multipleObjsErrMsgKey) throws WTException
WTException
protected void PPln(String msg)
protected void PP(String msg)
private static void addQueueEntry() throws WTException
WTException
private static Timestamp getFutureTime()
public static void cleanupInvalidObjects(String message) throws WTException
WTException
private boolean checkExistsQueueEntry() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |