|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PDMLinkHelperIfc class provides abstract access to methods in the
com.ptc.windchill.pdmlink package classes from classes in Windchill foundation.
Supported API: false
Field Summary | |
static int |
PRODUCT
|
static int |
PRODUCT_AND_REPOSITORY
|
static int |
REPOSITORY
|
Method Summary | |
QueryResult |
getEligibleCabinetsByType(int typeToReturn)
Returns the wt.folder.Cabinet objects of the specified type to which the current principal has read access. |
Object[] |
getEligibleRepositoriesByType(int typeToReturn)
Returns the PDMLinkRepository objects of the specified type to which the current principal has read access. |
Cabinet |
getRepositoryCabinet(Object repository)
Returns the cabinet associated with a PDMLinkRepository object. |
String |
getRepositoryName(DomainAdministered obj)
Returns the name of the PDMLink repository to which the given object belongs. |
String |
getRepositoryName(Object repository)
Get the name of a PDMLinkRepository Supported API: false |
String |
getRepositoryObjectReference(Object repository)
Returns the oid of a PDMLinkRepository object. |
boolean |
isEligibleCabinet(String cabinetName,
int typeToReturn)
Returns true if there is a cabinet of the specified type with the specified name and the current principal has READ access to it. |
Field Detail |
public static final int PRODUCT
public static final int REPOSITORY
public static final int PRODUCT_AND_REPOSITORY
Method Detail |
public QueryResult getEligibleCabinetsByType(int typeToReturn) throws WTException
typeToReturn
- - valid values are PRODUCT, REPOSITORY, and PRODUCT_AND_REPOSITORY from wt.pdmlink.PDMLinkHelperIfc
WTException
public boolean isEligibleCabinet(String cabinetName, int typeToReturn) throws WTException
cabinetName
- - name of cabinettypeToReturn
- - valid values are PRODUCT, REPOSITORY, and PRODUCT_AND_REPOSITORY from wt.pdmlink.PDMLinkHelperIfc
WTException
public String getRepositoryName(DomainAdministered obj) throws WTException
WTException
public String getRepositoryName(Object repository) throws WTException
repository
- a PDMLinkRepository object
WTException
public Cabinet getRepositoryCabinet(Object repository) throws WTException
repository
- - PDMLinkRepository whose cabinet is needed
WTException
public String getRepositoryObjectReference(Object repository) throws WTException
WTException
public Object[] getEligibleRepositoriesByType(int typeToReturn) throws WTException
typeToReturn
- - valid values are PRODUCT, REPOSITORY, and PRODUCT_AND_REPOSITORY from wt.pdmlink.PDMLinkHelperIfc
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |