| java.lang.Object com.sun.portal.taskadmin.ChannelTaskAdmin com.sun.portal.taskadmin.WSRPTaskAdmin
WSRPTaskAdmin | public class WSRPTaskAdmin extends ChannelTaskAdmin (Code) | | This class implements the APIs that can be used
to achieve a set of administrative tasks associated
with WSRP.
|
Method Summary | |
public void | createWSRPChannel(String chname, String pid, String rid) Creates a new WSRP portlet channel.
A new channel is created based on the _WSRPProvider.
To create a nested channel, supply a hierarchical channel
name. | public Set | getExistingProducerIds() This method returns the list of producer IDs that are existing
at the baseDN that is passed in. | public Set | getPortletHandlers(String producerID) Returns the portlet ids list for the given producer ID. | public String | getPortletName(String producerID, String portletID) Returns the name of portlet for the given producer ID and portletID. | public String | getProducerName(String producerID) Returns the name of producer for the given producer ID.
Parameters: producerID - producer id. |
createWSRPChannel | public void createWSRPChannel(String chname, String pid, String rid) throws TaskAdminException(Code) | | Creates a new WSRP portlet channel.
A new channel is created based on the _WSRPProvider.
To create a nested channel, supply a hierarchical channel
name. For example, to create channel A inside of container X, based on
_WSRPProvider provider
createWSRPChannel("X" + "/" + "A", "MyProducerId", "MyPortletId");
Parameters: chname - WSRP channel name. Parameters: pid - produer entity id (producer id) Parameters: rid - portlet id (portlet handler) throws: TaskAdminException - throws if exception ocurred during WSRP channel creation. |
getExistingProducerIds | public Set getExistingProducerIds() throws TaskAdminException(Code) | | This method returns the list of producer IDs that are existing
at the baseDN that is passed in. The producers in this list
can be used to get the portlets list by the user that can administer
the baseDN that is passed in.
Set of producers that are available at this baseDN. |
getPortletHandlers | public Set getPortletHandlers(String producerID) throws TaskAdminException(Code) | | Returns the portlet ids list for the given producer ID.
Parameters: producerID - produer id Set contaning portlet handlers list. throws: TaskAdminException - |
getPortletName | public String getPortletName(String producerID, String portletID) throws TaskAdminException(Code) | | Returns the name of portlet for the given producer ID and portletID.
Parameters: producerID - producer id. Parameters: portletID - portlet id (portlet handler) portlet name if valid producerID and portletID passed. throws: TaskAdminException - throws if exception ocurred during retrieveing the portlet name. |
getProducerName | public String getProducerName(String producerID) throws TaskAdminException(Code) | | Returns the name of producer for the given producer ID.
Parameters: producerID - producer id. producer name if valid producerID passed. throws: TaskAdminException - throws if exception ocurred during retrieveing the producer name. |
Methods inherited from com.sun.portal.taskadmin.ChannelTaskAdmin | protected boolean canAccess(String channel)(Code)(Java Doc) public void createChannel(String channelName, String providerName) throws TaskAdminException(Code)(Java Doc) public void createContainer(String channelName, String providerName) throws TaskAdminException(Code)(Java Doc) public void createNodeProperty(String fqcn, String rpn, String client, String locale, String name, Object value, Boolean advanced) throws TaskAdminException(Code)(Java Doc) public void deleteChannel(String channelName, String parentcontainer) throws TaskAdminException(Code)(Java Doc) protected boolean existsChannel(String channel)(Code)(Java Doc) protected boolean existsProvider(String provider)(Code)(Java Doc) public Set getAssignableChannels(String container) throws TaskAdminException(Code)(Java Doc) public List getAvailableChannels(String containerName) throws TaskAdminException(Code)(Java Doc) public Set getBaseDNs()(Code)(Java Doc) public boolean getBooleanProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc) protected Set getChannelNames(DPNode node)(Code)(Java Doc) public String getClassName(String channelname) throws TaskAdminException(Code)(Java Doc) protected DPChannel getDPChannel(String channelName) throws TaskAdminException(Code)(Java Doc) public String getDPPriority() throws TaskAdminException(Code)(Java Doc) protected DPRoot getDPRootByDN(String baseDN) throws TaskAdminException(Code)(Java Doc) protected DPRoot getDPRootByDN(String baseDN, boolean merge, boolean resetData) throws TaskAdminException(Code)(Java Doc) public Set getExistingChannels(boolean all) throws TaskAdminException(Code)(Java Doc) public Set getExistingChannels(boolean all, String regExp) throws TaskAdminException(Code)(Java Doc) public Set getExistingContainerProviders() throws TaskAdminException(Code)(Java Doc) public Set getExistingContainers(boolean all) throws TaskAdminException(Code)(Java Doc) public Set getExistingContainers(boolean all, String regExp) throws TaskAdminException(Code)(Java Doc) public Set getExistingProviders() throws TaskAdminException(Code)(Java Doc) protected String getFollowing(String source, String substring, String nameSeparator)(Code)(Java Doc) public Set getGlobalPropertyNames() throws TaskAdminException(Code)(Java Doc) protected String getHead(String rpn, String nameSeparator)(Code)(Java Doc) public int getIntegerProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc) public List getListProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc) public Map getMapProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc) public List getMergedDNs()(Code)(Java Doc) public Map getNodeProperties(String fqcn, String rpn, String client, String locale) throws TaskAdminException(Code)(Java Doc) protected String getPreceding(String source, String substring, String nameSeparator)(Code)(Java Doc) public Set getPropertyNames(String channelName, boolean advanced) throws TaskAdminException(Code)(Java Doc) public Set getPropertyNames(String channelName, String regExp, boolean advanced) throws TaskAdminException(Code)(Java Doc) public Set getPropertyNames(String channelName, List pflist, boolean advanced) throws TaskAdminException(Code)(Java Doc) public short getPropertyType(String channelName, String propertyName) throws TaskAdminException(Code)(Java Doc) protected Set getProviderNames(DPNode node)(Code)(Java Doc) public ResourceBundle getResourceBundle()(Code)(Java Doc) public String getRoleName(String roleDN)(Code)(Java Doc) public List getSelectedChannels(String containerName) throws TaskAdminException(Code)(Java Doc) public String getStringProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc) public void init(SSOToken ssoToken, String baseDN, String portalId, boolean merge, boolean resetData) throws TaskAdminException(Code)(Java Doc) public boolean isContainer(String channelName) throws TaskAdminException(Code)(Java Doc) protected boolean isDisplayable(String fqcn)(Code)(Java Doc) public boolean isTabContainer(String channelName) throws TaskAdminException(Code)(Java Doc) public void removeCustomization(String fqcn, String rpn, String client, String locale, List names) throws TaskAdminException(Code)(Java Doc) public void setAvailableChannels(List available, String containerName) throws TaskAdminException(Code)(Java Doc) public void setBooleanProperty(String channelName, String key, boolean value, List pflist) throws TaskAdminException(Code)(Java Doc) public void setDPPriority(String priority) throws TaskAdminException(Code)(Java Doc) public void setIntegerProperty(String channelName, String key, int value, List pflist) throws TaskAdminException(Code)(Java Doc) public void setListProperty(String channelName, String key, List value, List pflist) throws TaskAdminException(Code)(Java Doc) public void setMapProperty(String channelName, String key, Map value, List pflist) throws TaskAdminException(Code)(Java Doc) public void setNodeProperties(String fqcn, String rpn, String client, String locale, Object values) throws TaskAdminException(Code)(Java Doc) public void setSelectedChannels(List selected, String containerName) throws TaskAdminException(Code)(Java Doc) public void setStringProperty(String channelName, String key, String value, List pflist) throws TaskAdminException(Code)(Java Doc) public void store() throws TaskAdminException(Code)(Java Doc)
|
|
|