|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.enterprise.object.commands.DeleteObjectCommands
public class DeleteObjectCommands
Delete Class used to delete objects from the object info page or a object in
a table and then either refresh or redirect the page. If an error occurs
event console will be launched.
Supported API: true
Extendable: true
| Constructor Summary | |
|---|---|
DeleteObjectCommands()
Defaul Constructor Supported API: true |
|
| Method Summary | |
|---|---|
FormResult |
_delete(NmCommandBean cb)
Will delete the selected object and return a FormResult for the next action either a page refresh, the object previsous revision or redirect to container info page of the object delete. |
static FormResult |
delete(NmCommandBean cb)
Will delete the selected object and return a FormResult for the next action either a page refresh, the object previsous version or redirect to container info page of the object delete. |
protected NmOid |
getActionOid()
Will return the NmOid of the object getting deleted. |
protected NmOid |
getContainerOid()
Will return the container NmOid of the object getting deleted. |
protected String |
getFolderPageOfContainer()
Will return the url for the folder page of the Container. |
protected String |
getNmOidInfoPage(NmOid oid)
Will return the url for the info page of the NmOid that is passed in. |
protected void |
setActionOid(NmCommandBean cb)
Will set the NmOid of the object getting deleted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteObjectCommands()
| Method Detail |
|---|
public static FormResult delete(NmCommandBean cb)
throws WTException
cb - The command bean for the current client
WTException
public FormResult _delete(NmCommandBean cb)
throws WTException
cb - The command bean for the current client
WTException
protected NmOid getActionOid()
throws WTException
WTException
protected void setActionOid(NmCommandBean cb)
throws WTException
The - client data.
WTException
protected NmOid getContainerOid()
throws WTException
WTException
protected String getNmOidInfoPage(NmOid oid)
throws WTException
oid - The NmOid of the next action.
WTException
protected String getFolderPageOfContainer()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||