|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.epm.familytable.EPMStandardFamilyTableManager
Use the newEPMStandardFamilyTableManager
static factory
method(s), not the EPMStandardFamilyTableManager
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: true
Extendable: false
Nested Class Summary | |
private static class |
EPMStandardFamilyTableManager.GenericInfo
|
private static class |
EPMStandardFamilyTableManager.InstanceInfo
|
Field Summary | |
private static String |
CLASSNAME
|
private static String |
EPMRESOURCE
|
private static String |
RESOURCE
|
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 | |
EPMStandardFamilyTableManager()
|
Method Summary | |
private static EPMSepFamilyTable |
addToFamily(EPMWorkspace ws,
EPMDocument generic,
EPMSepFamilyTable familyTable,
boolean isFamilyTableNew,
Collection instanceInfos,
WTCollection docs,
WTCollection links)
|
WTValuedMap |
addToFamily(WTKeyedMap instances)
Adds a collection of instances to a family table by creating an EPMContainedIn link and an EPMVariantLink between the instance and the family table. |
private static WTKeyedHashMap |
callPLSQL_getFTCompatible(long[] seeds,
WTContainer container)
|
static void |
checkInstanceIsNotGeneric(Collection instances)
|
static void |
checkLastInstance(WTSet familyTables)
|
static void |
checkModifiability(Collection documents,
String message)
|
static Collection |
clearGenericFlag(Collection generics,
boolean checkModifiability)
|
static Collection |
clearInstanceFlag(Collection instances,
boolean checkModifiability,
boolean checkLinks)
|
static Collection |
collectDisplayIdetity(Collection objects)
|
WTKeyedMap |
getCompatibleFamilyTables(Collection documents,
WTContainer container)
Calculates and returns compatible and complete lists of family tables for given EPMDocuments. |
String |
getConceptualClassname()
Deprecated. |
static WTSet |
getModifiable(Collection documents)
|
static WTSet |
getNonModifiable(Collection documents)
|
protected void |
initialize()
Supported API: false |
WTCollection |
makeStandalone(WTCollection instances)
Makes a family table instances a standalone document by removing the EPMContainedIn links and EPMVariantLinks. |
static EPMStandardFamilyTableManager |
newEPMStandardFamilyTableManager()
Default factory for the class. |
static BigDecimal |
object2BigDecimalId(Persistable object)
|
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
private void |
processFamilyTablesOnRemoveDocumentsFromWorkspace(EPMCheckpoint bl,
WTCollection documents)
|
private void |
processPostDeleteFamilyTableEvent(WTCollection objects)
|
private void |
processPostMoveEvent(WTCollection targetDocs,
boolean checkFolderForAll)
|
private void |
processPostSandboxCheckinFamilyTableEvent(WTValuedMap workingPairsMap)
|
private void |
processPostSandboxCheckoutFamilyTableEvent(WTValuedMap workingPairsMap)
|
private void |
processPostSandboxUndoCheckoutFamilyTableEvent(WTCollection workingCopies)
|
private void |
processPostStoreEPMContainedIn(WTCollection newLinks)
|
private void |
processPreDeleteFamilyTableEvent(WTCollection targets)
|
private void |
processPreSandboxCheckinFamilyTableEvent(WTCollection documents)
|
private void |
processPreSandboxCheckoutFamilyTableEvent(WTContainerRef sandboxContainerRef,
WTCollection documents)
|
private void |
processPreSandboxUndoCheckoutFamilyTableEvent(WTValuedMap workingToOriginalMap)
|
void |
removeFromFamily(EPMWorkspace workspace,
EPMDocument topGeneric,
WTCollection instanceMasters)
Removes a collection of family table instances from a family table by removing the EPMContainedIn links between the instance and the family table. |
void |
removeFromFamily(EPMWorkspace workspace,
EPMFamilyTable familyTable,
WTCollection instanceMasters)
Removes a collection of family table instances from a family table by removing the EPMContainedIn links between the instance and the family table. |
private void |
synchronizePersistables(Persistable toObj,
Persistable fromObj)
|
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 String EPMRESOURCE
Constructor Detail |
public EPMStandardFamilyTableManager()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void initialize() throws WTException
initialize
in class StandardManager
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static EPMStandardFamilyTableManager newEPMStandardFamilyTableManager() throws WTException
WTException
public WTKeyedMap getCompatibleFamilyTables(Collection documents, WTContainer container) throws WTException
-- members: all documents presented in the input document list and
belong to this family table
-- compatible family tables: all family table objects that contains
all document from given list
-- complete family tables: all family table objects that does not
have any members that is not in the given document list
Supported API: false
getCompatibleFamilyTables
in interface EPMFamilyTableManager
documents
- list of EPMDocumentscontainer
- scope for search. If scope ia PDM or PDMLink null can be passed as value
WTException
public WTValuedMap addToFamily(WTKeyedMap instances) throws WTException
addToFamily
in interface EPMFamilyTableManager
instances
-
WTException
public WTCollection makeStandalone(WTCollection instances) throws WTException
makeStandalone
in interface EPMFamilyTableManager
instances
-
WTException
public void removeFromFamily(EPMWorkspace workspace, EPMFamilyTable familyTable, WTCollection instanceMasters) throws WTException
removeFromFamily
in interface EPMFamilyTableManager
workspace
- familyTable
- instanceMasters
-
WTException
public void removeFromFamily(EPMWorkspace workspace, EPMDocument topGeneric, WTCollection instanceMasters) throws WTException
removeFromFamily
in interface EPMFamilyTableManager
workspace
- topGeneric
- instanceMasters
-
WTException
private static WTKeyedHashMap callPLSQL_getFTCompatible(long[] seeds, WTContainer container) throws WTException
WTException
private void processPostStoreEPMContainedIn(WTCollection newLinks) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
private void processPreDeleteFamilyTableEvent(WTCollection targets) throws WTException
WTException
private void processPostDeleteFamilyTableEvent(WTCollection objects) throws WTException
WTException
private void processPreSandboxCheckoutFamilyTableEvent(WTContainerRef sandboxContainerRef, WTCollection documents) throws WTException
WTException
private void processPostSandboxCheckoutFamilyTableEvent(WTValuedMap workingPairsMap) throws WTException
WTException
private void processPreSandboxCheckinFamilyTableEvent(WTCollection documents) throws WTException
WTException
private void processPostSandboxCheckinFamilyTableEvent(WTValuedMap workingPairsMap) throws WTException
WTException
private void processPreSandboxUndoCheckoutFamilyTableEvent(WTValuedMap workingToOriginalMap) throws WTException
WTException
private void processPostSandboxUndoCheckoutFamilyTableEvent(WTCollection workingCopies) throws WTException
WTException
private void processFamilyTablesOnRemoveDocumentsFromWorkspace(EPMCheckpoint bl, WTCollection documents) throws WTException
WTException
private void synchronizePersistables(Persistable toObj, Persistable fromObj)
private static EPMSepFamilyTable addToFamily(EPMWorkspace ws, EPMDocument generic, EPMSepFamilyTable familyTable, boolean isFamilyTableNew, Collection instanceInfos, WTCollection docs, WTCollection links) throws WTException
WTException
public static void checkModifiability(Collection documents, String message) throws WTException
WTException
public static WTSet getModifiable(Collection documents) throws WTException
WTException
public static WTSet getNonModifiable(Collection documents) throws WTException
WTException
public static void checkInstanceIsNotGeneric(Collection instances) throws WTException
WTException
public static Collection clearGenericFlag(Collection generics, boolean checkModifiability) throws WTException
WTException
public static Collection clearInstanceFlag(Collection instances, boolean checkModifiability, boolean checkLinks) throws WTException
WTException
public static void checkLastInstance(WTSet familyTables) throws WTException
WTException
private void processPostMoveEvent(WTCollection targetDocs, boolean checkFolderForAll) throws WTException
WTException
public static BigDecimal object2BigDecimalId(Persistable object)
public static Collection collectDisplayIdetity(Collection objects) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |