|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.util.DependencyHelper
This is a helper class.This class has methods to get the new objects, checkedOut objects and checkedIn Objects. This class uses the FamilyHelper to get the family objects based on inclusionCriteria and creates collection of new objects, checkedOut objects and checkedIn Objects. If no inclusionCriteria is while constructing the instance of this class then family objects will not be included By default the family objects are included in context of workspace. If the user of this class intends to use this class outside the context of workspace, then the empty contructor should be used and appropriate set methods provided should be used. This class has methods to get the usagelinks and buildLinks
Field Summary | |
private WTCollection |
checkedInObjects
|
private WTCollection |
checkedOutObjects
|
private boolean |
checkInWorkspace
|
private WTCollection |
docSet
|
private FamilyTableResult |
familyResult
|
private int |
inclusionCriteria
|
private static Log |
log
logging |
private WTCollection |
newObjects
|
private WTPrincipal |
principal
|
private WTCollection |
reqObjects
|
private EPMWorkspace |
workspace
|
Constructor Summary | |
DependencyHelper()
|
|
DependencyHelper(WTCollection reqObjects,
EPMWorkspace workspace)
|
|
DependencyHelper(WTCollection reqObjects,
EPMWorkspace workspace,
WTPrincipal principal)
|
|
DependencyHelper(WTCollection reqObjects,
EPMWorkspace workspace,
WTPrincipal principal,
int inclusionCriteria)
|
|
DependencyHelper(WTCollection reqObjects,
EPMWorkspace workspace,
WTPrincipal principal,
int inclusionCriteria,
boolean checkInWorkspace)
|
Method Summary | |
Collection |
getActivelyAssociatedWTParts(WTCollection actionObjects)
This method returns the Association WTParts of the collection of epmdocuments passed. |
Collection |
getBuildLinks(WTCollection actionObjects)
This method returns the AssociationLinks of the collection of objects |
WTCollection |
getCheckedInObjects()
Gets checkedInObjects |
WTCollection |
getCheckedOutObjects()
Gets checkedOutObjects |
FamilyTableResult |
getFamilyResult()
|
static WTCollection |
getIterationDependencies(WTCollection seeds,
WTContainer container,
ConfigSpec cs)
This method returns the Required Dependents of the collection of objects |
Collection |
getLinks(WTCollection actionObjects)
This method returns all the links (Association, memberlinks and usage links of the objects in collection) |
WTCollection |
getNewObjects()
Gets ObjectsToDelete |
Collection |
getUsageLinks(WTCollection actionObjects)
This method returns the UsageLinks ofthe collection of objects |
void |
processWorkables()
Splits the supplied WTCollection of objects into newObjects, CheckedOutObjects and checkedInObjects |
void |
setCheckInWorkspace(boolean checkInWorkspace)
|
void |
setCurrentWorkspace(EPMWorkspace workspace)
Sets the currnt workspace |
void |
setParameters(WTCollection reqObjects,
EPMWorkspace workspace,
WTPrincipal principal)
|
void |
setPrincipal(WTPrincipal principal)
Sets the principal |
void |
setReqObjects(WTCollection reqObjects)
Sets the action objects which are to be processed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private WTCollection reqObjects
private WTCollection newObjects
private WTCollection checkedOutObjects
private WTCollection checkedInObjects
private WTCollection docSet
private EPMWorkspace workspace
private WTPrincipal principal
private int inclusionCriteria
private boolean checkInWorkspace
private FamilyTableResult familyResult
private static Log log
Constructor Detail |
public DependencyHelper()
public DependencyHelper(WTCollection reqObjects, EPMWorkspace workspace) throws WTException
public DependencyHelper(WTCollection reqObjects, EPMWorkspace workspace, WTPrincipal principal) throws WTException
public DependencyHelper(WTCollection reqObjects, EPMWorkspace workspace, WTPrincipal principal, int inclusionCriteria) throws WTException
public DependencyHelper(WTCollection reqObjects, EPMWorkspace workspace, WTPrincipal principal, int inclusionCriteria, boolean checkInWorkspace) throws WTException
Method Detail |
public void processWorkables() throws WTException
WTException
public WTCollection getNewObjects()
public WTCollection getCheckedOutObjects()
public WTCollection getCheckedInObjects()
public void setCurrentWorkspace(EPMWorkspace workspace)
public void setPrincipal(WTPrincipal principal)
public void setReqObjects(WTCollection reqObjects)
public void setParameters(WTCollection reqObjects, EPMWorkspace workspace, WTPrincipal principal)
public void setCheckInWorkspace(boolean checkInWorkspace)
public Collection getBuildLinks(WTCollection actionObjects) throws WTException, WTPropertyVetoException
actionObjects
- WTCollection
WTException,
- WTPropertyVetoException
WTException
WTPropertyVetoException
public Collection getActivelyAssociatedWTParts(WTCollection actionObjects) throws WTException, WTPropertyVetoException
actionObjects
- WTCollection
WTException,
- WTPropertyVetoException
WTException
WTPropertyVetoException
public Collection getUsageLinks(WTCollection actionObjects) throws WTException, WTPropertyVetoException
actionObjects
- WTCollection
WTException,
- WTPropertyVetoException
WTException
WTPropertyVetoException
public Collection getLinks(WTCollection actionObjects) throws WTException, WTPropertyVetoException
actionObjects
- WTCollection
WTException,
- WTPropertyVetoException
WTException
WTPropertyVetoException
public static WTCollection getIterationDependencies(WTCollection seeds, WTContainer container, ConfigSpec cs) throws WTPropertyVetoException, WTException
container
- WTContainercs
- ConfigSpec
WTException,
- WTPropertyVetoException
WTPropertyVetoException
WTException
public FamilyTableResult getFamilyResult()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |