|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.part.StandardLineNumberService
public class StandardLineNumberService
Use the newStandardLineNumberService static factory method(s),
not the StandardLineNumberService 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
| Method Summary | |
|---|---|
Hashtable |
findAllPublishedLineNumbers(WTPartMaster partMaster,
View view)
Returns a hash table of PublishedLineNumber objects associated with the given part number (i.e., WTPartMaster) in the given view. |
LineNumber |
getLatestLineNumber(WTPart part)
Returns the largest line number assigned to the part. |
boolean |
hasLinksWithoutLineNumbers(WTPart assembly)
Returns true if any of the usage links for the given assembly do not have line numbers.. |
boolean |
isLineNumberPublished(LineNumber number,
WTPartMaster part,
View view)
Returns true if the line number associated with the given part number (i.e., WTPartMaster) in the given view is published. |
boolean |
isLineNumberPublished(WTPartUsageLink usageLink)
Returns true if the line number associated with the given part usage link has been published. |
void |
publishAllLineNumbers(WTPart part)
Publish all the line numbers associated with each of the usage links for the given part assembly. |
void |
publishLineNumber(LineNumber number,
WTPartMaster part,
View view)
Publishes the line number associated with the given part number (i.e., WTPartMaster) in the given view. |
void |
publishLineNumber(WTPartUsageLink usageLink)
Publishes the line number associated with the given part usage link. |
void |
unpublishLineNumber(LineNumber number,
WTPartMaster part,
View view)
Unpublishes the line number associated with the given part number (i.e., WTPartMaster) in the given view. |
void |
unpublishLineNumber(WTPartUsageLink usageLink)
Unpublishes the line number associated with the given part usage link and its view. |
| Methods inherited from class wt.services.StandardManager |
|---|
getManagerService, getManagerStatus, getName, getStartupType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public LineNumber getLatestLineNumber(WTPart part)
throws WTException
getLatestLineNumber in interface LineNumberServicepart -
WTException
public void publishLineNumber(WTPartUsageLink usageLink)
throws WTException
publishLineNumber in interface LineNumberServiceusageLink -
WTException
public void publishLineNumber(LineNumber number,
WTPartMaster part,
View view)
throws WTException
publishLineNumber in interface LineNumberServicenumber - part - view -
WTException
public void publishAllLineNumbers(WTPart part)
throws WTException
publishAllLineNumbers in interface LineNumberServicepart -
WTException
public boolean isLineNumberPublished(WTPartUsageLink usageLink)
throws WTException
isLineNumberPublished in interface LineNumberServiceusageLink -
WTException
public boolean isLineNumberPublished(LineNumber number,
WTPartMaster part,
View view)
throws WTException
isLineNumberPublished in interface LineNumberServicenumber - part - view -
WTException
public void unpublishLineNumber(WTPartUsageLink usageLink)
throws WTException
unpublishLineNumber in interface LineNumberServiceusageLink -
WTException
public void unpublishLineNumber(LineNumber number,
WTPartMaster part,
View view)
throws WTException
unpublishLineNumber in interface LineNumberServicenumber - part - view -
WTException
public boolean hasLinksWithoutLineNumbers(WTPart assembly)
throws WTException
hasLinksWithoutLineNumbers in interface LineNumberServiceassembly -
WTException
public Hashtable findAllPublishedLineNumbers(WTPartMaster partMaster,
View view)
throws WTException
If ht is the hash table returned by this method, then the calling
code can determine whether a given line number has been published
by invoking the following method: ht.get(a_LineNumber). If the
method returns a null, the specified line number is not published.
Supported API: true
findAllPublishedLineNumbers in interface LineNumberServicepartMaster - view -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||