|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl
com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject
com.filenet.wcm.toolkit.server.util.xml.WcmXMLProperties
com.filenet.wcm.toolkit.server.util.xml.WcmXMLSubscription
WcmXMLProperties derived class for manipulating the Workflow Subscription specific XML
Field Summary | |
static java.lang.String |
ELEM_EVENTACTION
XPath for event action node |
static java.lang.String |
ELEM_SOURCE
XPath for source node |
static java.lang.String |
ELEM_TARGET
XPath for target node |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLProperties |
ELEM_PROPERTY |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject |
ELEM_CLASSID, ELEM_CLASSNAME, ELEM_OBJECT, ELEM_OBJECTSTORE |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl |
ELEM_OBJECTSET, thisDoc |
Method Summary | |
org.w3c.dom.Element |
createWorkflowsubscriptionElement()
Create the workflowsubscription Element |
protected org.w3c.dom.Element |
getEventActionElement()
Returns the Element for the eventaction |
java.lang.String |
getEventActionId()
Returns the eventaction id |
protected org.w3c.dom.Element |
getSourceElement()
Returns the source Element |
java.lang.String |
getSourceId()
Returns the id of the source |
java.lang.String |
getSourceLabel()
Returns the Label of the source |
java.lang.String |
getSourceVernum()
returns the version number |
java.lang.String |
getSubscriptionId()
|
java.lang.String |
getSubscriptionLabel()
|
java.lang.String |
getTargetClass()
Returns the target class |
protected org.w3c.dom.Element |
getTargetElement()
Get the target Element |
java.lang.String |
getTargetId()
Returns the target Id |
int |
getTargetType()
Returns the target type |
protected org.w3c.dom.Element |
getWorkflowsubscription()
Returns the workflowsubscription Element or creates a new one |
static WcmXMLSubscription |
getXMLSubscription()
get method returns a new instance of this object |
static WcmXMLSubscription |
getXMLSubscription(org.w3c.dom.Document newXMLSubscription)
get method creates or contains the Document as one of this type |
static org.w3c.dom.Document |
getXMLSubscriptions(WcmSearchDataProvider sdp,
java.lang.String XSLFile,
java.lang.String objectStore)
Deprecated. use getXMLSubscriptionsRelative |
static org.w3c.dom.Document |
getXMLSubscriptionsRelative(WcmSearchDataProvider sdp,
java.lang.String XSLFile,
java.lang.String objectStore)
Get Subscription XML using ADO query on the indicated object store. |
boolean |
isSourceModified()
Indicates if the source has been modified |
org.w3c.dom.Element |
setDocumentTarget(java.lang.String sName,
java.lang.String sVerSerId,
java.lang.String sId,
java.lang.String sVernum)
Handle setting document targets |
void |
setEventActionId(java.lang.String sId)
Set the eventaction id |
org.w3c.dom.Element |
setObjectStoreId(java.lang.String sObjectStoreName)
Clear properties that may be unapplicable on a target change, then call base class method |
void |
setSourceId(java.lang.String sId)
Sets the source Id |
void |
setSourceLabel(java.lang.String sLabel)
Sets the source Label |
org.w3c.dom.Element |
setTarget(int nType,
java.lang.String sName,
java.lang.String sId)
Handles setting the target for all but document target types |
Methods inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject |
getClassdescElement, getClassId, getClassName, getObjectElement, getObjectId, getObjectStoreElement, getObjectStoreId, getObjectTagValue, getObjectXPath, getXMLObject, getXMLObject, setClassDescription, setObjectTagValue, setObjectXPath |
Methods inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl |
createCDATAChildElement, createChildElement, createChildElement, createNamespace, getDocumentImpl, getElement, getElement, getElementText, getNodeList, getThis |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ELEM_TARGET
public static final java.lang.String ELEM_SOURCE
public static final java.lang.String ELEM_EVENTACTION
Method Detail |
public static WcmXMLSubscription getXMLSubscription() throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document getXMLSubscriptions(WcmSearchDataProvider sdp, java.lang.String XSLFile, java.lang.String objectStore) throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document getXMLSubscriptionsRelative(WcmSearchDataProvider sdp, java.lang.String XSLFile, java.lang.String objectStore) throws java.lang.Exception
sdp
- The Search data provider that will perform the searchXSLFile
- The XSL file for transforming the ADOobjectStore
- The object store to search
java.lang.Exception
public org.w3c.dom.Element setObjectStoreId(java.lang.String sObjectStoreName) throws java.lang.Exception
setObjectStoreId
in class WcmXMLObject
sObjectStoreName
-
java.lang.Exception
public static WcmXMLSubscription getXMLSubscription(org.w3c.dom.Document newXMLSubscription) throws java.lang.Exception
newXMLSubscription
- The Document to contain
java.lang.Exception
protected org.w3c.dom.Element getWorkflowsubscription() throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element createWorkflowsubscriptionElement() throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Element getTargetElement() throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Element getEventActionElement() throws java.lang.Exception
java.lang.Exception
public java.lang.String getEventActionId() throws java.lang.Exception
java.lang.Exception
public void setEventActionId(java.lang.String sId) throws java.lang.Exception
sId
- for the eventaction
java.lang.Exception
protected org.w3c.dom.Element getSourceElement() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSourceId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSourceLabel() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSubscriptionId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSubscriptionLabel() throws java.lang.Exception
java.lang.Exception
public boolean isSourceModified() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSourceVernum() throws java.lang.Exception
java.lang.Exception
public void setSourceId(java.lang.String sId) throws java.lang.Exception
sId
- Value to use
java.lang.Exception
public void setSourceLabel(java.lang.String sLabel) throws java.lang.Exception
sLabel
- Value to use
java.lang.Exception
public org.w3c.dom.Element setDocumentTarget(java.lang.String sName, java.lang.String sVerSerId, java.lang.String sId, java.lang.String sVernum) throws java.lang.Exception
sName
- The name of the document targetsVerSerId
- The version series id for the document targetsId
- The id for the document targetsVernum
- The version number for the document target
java.lang.Exception
public java.lang.String getTargetId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getTargetClass() throws java.lang.Exception
java.lang.Exception
public int getTargetType() throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element setTarget(int nType, java.lang.String sName, java.lang.String sId) throws java.lang.Exception
nType
- The Object TypesName
- The target namesId
- The target Id
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |