Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmoogk2008-05-13 20:53:11 +0000
committerpmoogk2008-05-13 20:53:11 +0000
commita8c9b0abad8c6034c59d455084ecadfdcff48b96 (patch)
treead43ad5c23c79356e693b064ba80f97938f92376 /docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html
parenta8abc40fea62099c3c4618672dcfa8b53d797e3a (diff)
downloadwebtools.webservices-a8c9b0abad8c6034c59d455084ecadfdcff48b96.tar.gz
webtools.webservices-a8c9b0abad8c6034c59d455084ecadfdcff48b96.tar.xz
webtools.webservices-a8c9b0abad8c6034c59d455084ecadfdcff48b96.zip
[231383] Creation of org.eclipse.wst.api.doc
Diffstat (limited to 'docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html')
-rw-r--r--docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html706
1 files changed, 706 insertions, 0 deletions
diff --git a/docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html b/docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html
new file mode 100644
index 000000000..94ec1b59f
--- /dev/null
+++ b/docs/org.eclipse.wst.ws.api.doc/reference/api/org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html
@@ -0,0 +1,706 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0) on Tue May 13 15:32:21 EDT 2008 -->
+<TITLE>
+ServicePolicyPlatform
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.eclipse.wst.ws.service.policy.ServicePolicyPlatform class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ServicePolicyPlatform";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServicePolicyPlatform.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyActivator.html" title="class in org.eclipse.wst.ws.service.policy"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ServicePolicyPlatform.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<A NAME="main"></A>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.eclipse.wst.ws.service.policy</FONT>
+<BR>
+Class ServicePolicyPlatform</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.ws.service.policy.ServicePolicyPlatform</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>ServicePolicyPlatform</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+This class is used to access and add service policies to the platform.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#addChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener, boolean)">addChildChangeListener</A></B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener&nbsp;listener,
+ boolean&nbsp;onCommit)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows calls to listener to any child change that is
+ made in the service policy platform regardless of where it is
+ located in the tree of service policies.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#addProjectLoadListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener)">addProjectLoadListener</A></B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener&nbsp;listener)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a project platform listener.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#commitChanges()">commitChanges</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling this method will commit all the state changes that were made to all
+ the service policies.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#commitChanges(org.eclipse.core.resources.IProject)">commitChanges</A></B>(org.eclipse.core.resources.IProject&nbsp;project)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling this method will commit all the state changes that were made to all
+ the service policies for a particular project.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#createServicePolicy(org.eclipse.wst.ws.service.policy.IServicePolicy, java.lang.String, java.lang.String, java.lang.String)">createServicePolicy</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&nbsp;parent,
+ java.lang.String&nbsp;id,
+ java.lang.String&nbsp;enumListId,
+ java.lang.String&nbsp;defaultEnumId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method creates an IServicePolicy object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#discardChanges()">discardChanges</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling this method will discard all the state changes that were made to all
+ the service policies.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#discardChanges(org.eclipse.core.resources.IProject)">discardChanges</A></B>(org.eclipse.core.resources.IProject&nbsp;project)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling this method will discard all the state changes that were made to all
+ the service policies for a particular project.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.util.Set&lt;java.lang.String&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getAllPolicyIds()">getAllPolicyIds</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html" title="class in org.eclipse.wst.ws.service.policy">ServicePolicyPlatform</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getInstance()">getInstance</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getRootServicePolicies(org.eclipse.wst.ws.service.policy.IFilter)">getRootServicePolicies</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IFilter.html" title="interface in org.eclipse.wst.ws.service.policy">IFilter</A>&nbsp;filter)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getServicePolicy(java.lang.String)">getServicePolicy</A></B>(java.lang.String&nbsp;id)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy">IStateEnumerationItem</A>&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getStateEnumeration(java.lang.String)">getStateEnumeration</A></B>(java.lang.String&nbsp;enumId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy">IStateEnumerationItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#getStateItemEnumeration(java.lang.String)">getStateItemEnumeration</A></B>(java.lang.String&nbsp;stateItemId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#isEnabled(java.lang.Object)">isEnabled</A></B>(java.lang.Object&nbsp;object)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#isProjectPreferencesEnabled(org.eclipse.core.resources.IProject)">isProjectPreferencesEnabled</A></B>(org.eclipse.core.resources.IProject&nbsp;project)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#queueChildChangeListeners(boolean)">queueChildChangeListeners</A></B>(boolean&nbsp;queue)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#removeChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener, boolean)">removeChildChangeListener</A></B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener&nbsp;listener,
+ boolean&nbsp;onCommit)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a child change listener from the service policy platform.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#removeProjectLoadListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener)">removeProjectLoadListener</A></B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener&nbsp;listener)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a project platform listener.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#removeServicePolicy(org.eclipse.wst.ws.service.policy.IServicePolicy)">removeServicePolicy</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&nbsp;policy)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a service policy from the service policy platform.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#restoreDefaults()">restoreDefaults</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the workspace level defaults.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#restoreDefaults(org.eclipse.core.resources.IProject)">restoreDefaults</A></B>(org.eclipse.core.resources.IProject&nbsp;project)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the project level defaults.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html#setProjectPreferencesEnabled(org.eclipse.core.resources.IProject, boolean)">setProjectPreferencesEnabled</A></B>(org.eclipse.core.resources.IProject&nbsp;project,
+ boolean&nbsp;value)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether project specific service policy preferences is enabled or not.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getInstance()"><!-- --></A><H3>
+getInstance</H3>
+<PRE>
+public static <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html" title="class in org.eclipse.wst.ws.service.policy">ServicePolicyPlatform</A> <B>getInstance</B>()</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>returns a singleton instance of this service policy platform.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isEnabled(java.lang.Object)"><!-- --></A><H3>
+isEnabled</H3>
+<PRE>
+public boolean <B>isEnabled</B>(java.lang.Object&nbsp;object)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>object</CODE> -
+<DT><B>Returns:</B><DD>returns true if this platform is enabled for specified object. In most
+ cases the specified object will be an IProject. This method is usually called
+ to determine if a the service policy entry should appear for a particular project.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="commitChanges()"><!-- --></A><H3>
+commitChanges</H3>
+<PRE>
+public void <B>commitChanges</B>()</PRE>
+<DL>
+<DD>Calling this method will commit all the state changes that were made to all
+ the service policies. The method only applies to state changes at the workspace
+ level.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="discardChanges()"><!-- --></A><H3>
+discardChanges</H3>
+<PRE>
+public void <B>discardChanges</B>()</PRE>
+<DL>
+<DD>Calling this method will discard all the state changes that were made to all
+ the service policies. The method only applies to state changes at the workspace
+ level.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="commitChanges(org.eclipse.core.resources.IProject)"><!-- --></A><H3>
+commitChanges</H3>
+<PRE>
+public void <B>commitChanges</B>(org.eclipse.core.resources.IProject&nbsp;project)</PRE>
+<DL>
+<DD>Calling this method will commit all the state changes that were made to all
+ the service policies for a particular project. The method only applies to
+ state changes at the project level.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="discardChanges(org.eclipse.core.resources.IProject)"><!-- --></A><H3>
+discardChanges</H3>
+<PRE>
+public void <B>discardChanges</B>(org.eclipse.core.resources.IProject&nbsp;project)</PRE>
+<DL>
+<DD>Calling this method will discard all the state changes that were made to all
+ the service policies for a particular project. The method only applies to
+ state changes at the project level.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllPolicyIds()"><!-- --></A><H3>
+getAllPolicyIds</H3>
+<PRE>
+public java.util.Set&lt;java.lang.String&gt; <B>getAllPolicyIds</B>()</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>returns all service policy IDs that are defined.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRootServicePolicies(org.eclipse.wst.ws.service.policy.IFilter)"><!-- --></A><H3>
+getRootServicePolicies</H3>
+<PRE>
+public java.util.List&lt;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&gt; <B>getRootServicePolicies</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IFilter.html" title="interface in org.eclipse.wst.ws.service.policy">IFilter</A>&nbsp;filter)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>filter</CODE> - a filter a the service policies. This method may be null if
+ no filter is required.
+<DT><B>Returns:</B><DD>returns all root level service policies. If a filter is specified
+ some service policies may be removed from the returned list. A root
+ level service policy is defined to be a service policy with no parent.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getServicePolicy(java.lang.String)"><!-- --></A><H3>
+getServicePolicy</H3>
+<PRE>
+public <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A> <B>getServicePolicy</B>(java.lang.String&nbsp;id)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>id</CODE> -
+<DT><B>Returns:</B><DD>returns a service policy given it's unique ID.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isProjectPreferencesEnabled(org.eclipse.core.resources.IProject)"><!-- --></A><H3>
+isProjectPreferencesEnabled</H3>
+<PRE>
+public boolean <B>isProjectPreferencesEnabled</B>(org.eclipse.core.resources.IProject&nbsp;project)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>project</CODE> -
+<DT><B>Returns:</B><DD>returns true if the specified project has been enabled for
+ project specific policy preferences.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setProjectPreferencesEnabled(org.eclipse.core.resources.IProject, boolean)"><!-- --></A><H3>
+setProjectPreferencesEnabled</H3>
+<PRE>
+public void <B>setProjectPreferencesEnabled</B>(org.eclipse.core.resources.IProject&nbsp;project,
+ boolean&nbsp;value)</PRE>
+<DL>
+<DD>Sets whether project specific service policy preferences is enabled or not.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>project</CODE> - <DD><CODE>value</CODE> - </DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="restoreDefaults()"><!-- --></A><H3>
+restoreDefaults</H3>
+<PRE>
+public void <B>restoreDefaults</B>()</PRE>
+<DL>
+<DD>Restores the workspace level defaults. Note: the state changes made by
+ calling this method need to be committed or discarded by the platform.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="restoreDefaults(org.eclipse.core.resources.IProject)"><!-- --></A><H3>
+restoreDefaults</H3>
+<PRE>
+public void <B>restoreDefaults</B>(org.eclipse.core.resources.IProject&nbsp;project)</PRE>
+<DL>
+<DD>Restores the project level defaults. Note: the state changes made by
+ calling this method need to be committed or discarded by the platform.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>project</CODE> - </DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createServicePolicy(org.eclipse.wst.ws.service.policy.IServicePolicy, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
+createServicePolicy</H3>
+<PRE>
+public <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A> <B>createServicePolicy</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&nbsp;parent,
+ java.lang.String&nbsp;id,
+ java.lang.String&nbsp;enumListId,
+ java.lang.String&nbsp;defaultEnumId)</PRE>
+<DL>
+<DD>This method creates an IServicePolicy object.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent policy for this policy. If this policy has no
+ parent null may be specified.<DD><CODE>id</CODE> - This is a unique id for this service policy. If the id specified
+ is not unique trailing numerical digits in the id will be stripped off.
+ Numerical digits will then be added to end of the id to make it unique.
+ If the id is empty or null the framework will assign a unique id.<DD><CODE>enumListId</CODE> - If this policy's state is defined by an enumeration
+ the enumeration id should be specified here. Otherwise null should be
+ specified.<DD><CODE>defaultEnumId</CODE> - If this policy's state is defined by an enumeration
+ this parameter specifies the default value. This value may be null
+ if not using an enumeration or if the default value of the enumeration
+ should be used.
+<DT><B>Returns:</B><DD>returns a service policy object.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeServicePolicy(org.eclipse.wst.ws.service.policy.IServicePolicy)"><!-- --></A><H3>
+removeServicePolicy</H3>
+<PRE>
+public void <B>removeServicePolicy</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>&nbsp;policy)</PRE>
+<DL>
+<DD>Removes a service policy from the service policy platform.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>policy</CODE> - the service policy</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener, boolean)"><!-- --></A><H3>
+addChildChangeListener</H3>
+<PRE>
+public void <B>addChildChangeListener</B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener&nbsp;listener,
+ boolean&nbsp;onCommit)</PRE>
+<DL>
+<DD>This method allows calls to listener to any child change that is
+ made in the service policy platform regardless of where it is
+ located in the tree of service policies.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DD><CODE>onCommit</CODE> - indicates whether this listener should be invoked when
+ the the platform changes are committed.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="queueChildChangeListeners(boolean)"><!-- --></A><H3>
+queueChildChangeListeners</H3>
+<PRE>
+public void <B>queueChildChangeListeners</B>(boolean&nbsp;queue)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener, boolean)"><!-- --></A><H3>
+removeChildChangeListener</H3>
+<PRE>
+public void <B>removeChildChangeListener</B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener&nbsp;listener,
+ boolean&nbsp;onCommit)</PRE>
+<DL>
+<DD>Removes a child change listener from the service policy platform.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DD><CODE>onCommit</CODE> - indicates whether this change listener should be removed
+ from the onCommit list.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addProjectLoadListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener)"><!-- --></A><H3>
+addProjectLoadListener</H3>
+<PRE>
+public void <B>addProjectLoadListener</B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener&nbsp;listener)</PRE>
+<DL>
+<DD>Add a project platform listener. When a particular project is referenced
+ by in the service policy platform this listener will be called the first
+ time the project is loaded into the system.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeProjectLoadListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener)"><!-- --></A><H3>
+removeProjectLoadListener</H3>
+<PRE>
+public void <B>removeProjectLoadListener</B>(org.eclipse.wst.ws.service.policy.listeners.IPolicyPlatformProjectLoadListener&nbsp;listener)</PRE>
+<DL>
+<DD>Removes a project platform listener.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getStateEnumeration(java.lang.String)"><!-- --></A><H3>
+getStateEnumeration</H3>
+<PRE>
+public java.util.List&lt;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy">IStateEnumerationItem</A>&gt; <B>getStateEnumeration</B>(java.lang.String&nbsp;enumId)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>enumId</CODE> -
+<DT><B>Returns:</B><DD>returns a list of state enumeration items given the unique
+ enumeration ID for this enumeration.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getStateItemEnumeration(java.lang.String)"><!-- --></A><H3>
+getStateItemEnumeration</H3>
+<PRE>
+public <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy">IStateEnumerationItem</A> <B>getStateItemEnumeration</B>(java.lang.String&nbsp;stateItemId)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>stateItemId</CODE> -
+<DT><B>Returns:</B><DD>returns a state enumeration item given this ID for this enumeration
+ item.</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServicePolicyPlatform.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/ServicePolicyActivator.html" title="class in org.eclipse.wst.ws.service.policy"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/eclipse/wst/ws/service/policy/ServicePolicyPlatform.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ServicePolicyPlatform.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>

Back to the top