Java Doc for CMCNode.java in  » Portal » Open-Portal » com » sun » portal » community » mc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.community.mc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.portal.community.mc.CMCNode

All known Subclasses:   com.sun.portal.community.mc.impl.am.org.CMCNodeImpl,  com.sun.portal.community.mc.test.impl.file.dynamic.CMCNodeImpl,  com.sun.portal.community.mc.impl.manager.CMCNodeImpl,  com.sun.portal.community.mc.impl.am.CMCNodeImplBase,  com.sun.portal.community.mc.impl.am.role.CMCNodeImpl,  com.sun.portal.community.mc.impl.jdo.CMCNodeImpl,  com.sun.portal.community.mc.impl.am.global.CMCNodeImpl,  com.sun.portal.community.mc.impl.am.frole.CMCNodeImpl,
CMCNode
public interface CMCNode (Code)
Provides access to community membership and configuration.

Clients obtain instances of CommunityNode objects through a CommunityFactory object.

CommunityNode objects operate from the perspective of the community. For example, the client has a community principal identifying a community, and they want to ask questions about it or perform operations on it. Contrast this with a CommunityUser object. CommunityUser objects operate from the perspective of a given user. For example, the client has a user ID, and they want to ask questions and perform operations relating to the user's relation to a set of communities.

Community node implementations are not expected to be thread-safe; the same CommunityNode object should not be used by multiple threads concurrently.

The lifecycle of a community node is under control of the client application. The lifecycle usage pattern depends on the type of application, but must be determined with the knowledge that any particular community node cannot be assumed to be thread safe. For example, a single-threaded, single-user application can safely use the same community node object for the lifetime of the application. A web application should obtain a new community node object for each request (in other words, each thread).

This interface contains a set of methods that indicate the capabilities of the underlying CommunityNode implementation (see supports*()). These methods are used by clients to distinguish between different classes of communities. For example, if a client wants to add users to a community, they must test the target community node first by calling supportsAddUsers(). In cases where an community node implementation returns false from a supportsX() method, the corresponding X method is required to throw UnsupportedOperationException. The operations that a community node implementation is required to support are:
  • init()
  • getCommunityPrincipal()
  • getUsers()
  • supportsRole()
  • exists()
  • getDPDocuments()
  • getDPDocumentsLastModified()
Consequently, these methods cannot be tested with an associated supports*() method.

The existence of a CommunityNode object does not indicate existence in a persistent store. It is up to the client to test persistent existence by calling the exists() method before performing operations that act on the community node persistently. Community node implementations must throw CommunityException if a persistent operation is attempted on a non-existent community node.

Persistent changes affected through this interface commit immediately.




Method Summary
public  voidaddRole(CMCRolePrincipal rolePrincipal)
     Add a role to this community node.
public  voidaddUsers(Set uids, CMCRolePrincipal rolePrincipal)
     Add users to this community node.
public  voidcreate()
     Create this community node persistently.
public  booleanexists()
     Does this community node exist persistently?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if this community node exists persistently.
public  CMCPrincipalgetCMCPrincipal()
     Get the community principal that identifies this object.
public  StringgetCategory()
     Returns the classification for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community.
public  longgetCommunityCreationTime()
     Returns the time when community was created.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem performing the operation.
public  ConfigTablegetDPDocuments()
     Get the Display Profile documents associated with this community node.

This method returns the DP documents for all community roles supported by the community node.

public  ConfigTablegetDPDocuments(Set rolePrincipals)
     Get the Display Profile documents for this community node, for the given set of roles.

The values in the returned ConfigTable object are byte[] objects.

public  ConfigTablegetDPDocumentsLastModified()
     Get the last modified times for the DP documents of this community node.

This method returns the modified times for all community roles supported by the community node.
public  ConfigTablegetDPDocumentsLastModified(Set rolePrincipals)
     Get the last modified times for the DP documents of this community node for the given set of roles.

The modified time values are in milliseconds, the difference between the current time and midnight, January 1, 1970 UTC.
public  StringgetDescription()
     Returns the description for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community.
public  SetgetRoles()
     Get the roles for this community node.
public  SetgetUsers()
     Get all users of this community node.
public  SetgetUsers(Set rolePrincipals)
     Get the users that have the given roles for this community node.
Parameters:
  rolePrincipals - A Set of RolePrincipals, the roles to match to community node users to be returned.
public  voidinit(Properties properties, CMCPrincipal communityPrincipal)
     Initialize this CommunityNode object.

CommunityNode objects must be initialized before they are used.
public  booleanisListed()
     Is this community listed in the search database ?
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that.
public  booleanisMembershipRestricted()
     Is the membership restricted for the community?
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that.
public  booleanisSecure()
     Are the community contents secured or accessible to all.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that.
public  voidremove()
     Remove this community node persistently.
public  voidremoveRole(CMCRolePrincipal rolePrincipal)
     Remove a role from this community node.
public  voidremoveUsers(Set uids, Set rolePrincipals)
     Remove users from roles in this community node.
public  voidsetCategory(String classification)
    
public  voidsetDPDocuments(ConfigTable dpDocuments)
     Set DP documents for this community node.
public  voidsetDescription(String description)
    
public  voidsetListed(boolean isListed)
     Set the flag indicating the community is listed in the database.
public  voidsetMembershipRestricted(boolean isMembershipRestricted)
     Set the flag indicating whether the community membership is restricting.
public  voidsetSecure(boolean isSecure)
     Set the flag indicating whether the community content are secured.
public  booleansupportsAddRole()
    
public  booleansupportsAddUsers()
    
public  booleansupportsCategory()
     Does this community node support the getCategory() and setCategory() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operations are supported in this community.
public  booleansupportsCommunityCreationTime()
     Does this community node support the getComunityCreationTime() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operation is supported in this community.
public  booleansupportsCreate()
     Does this community node support the create() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem testing if the create() operation is supported.
public  booleansupportsDescription()
     Does this community node support the getDescription() and setDescription() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operations are supported in this community.
public  booleansupportsGetRoles()
    
public  booleansupportsListing()
     Does this community node support the isListed() and setListed() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community.
public  booleansupportsMembershipRestriction()
     Does this community node support the isMembershipRestricted() and setMembershipRestricted() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community.
public  booleansupportsRemove()
     Does this community node support the remove() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if the remove() operation is supported.
public  booleansupportsRemoveRole()
    
public  booleansupportsRemoveUsers()
    
public  booleansupportsRole(CMCRolePrincipal rolePrincipal)
     Does this community node support the given role?
Parameters:
  rolePrincipal - A RolePrincipal to test.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem testing support for the role.
public  booleansupportsRoleCreationTime()
     Does this community node support the getRoleCreationTime() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community.
public  booleansupportsSecuring()
     Does this community node support the isSecure() and setSecure() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community.
public  booleansupportsSetDPDocuments()
     Does this community node support the setDPDocuments() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if this setDPDocuments()operation is supported in this community.



Method Detail
addRole
public void addRole(CMCRolePrincipal rolePrincipal) throws CMCException(Code)
Add a role to this community node.
Parameters:
  rolePrincipal - The role to add to this CMC node.
throws:
  com.sun.portal.community.mc.CMCException - if there was a problem adding the role.



addUsers
public void addUsers(Set uids, CMCRolePrincipal rolePrincipal) throws CMCException(Code)
Add users to this community node.
Parameters:
  uids - A Set of Strings, the user IDs to add to the community node.
Parameters:
  rolePrincipal - A RolePrincipal, the role to add the given users to in the community node.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem adding the users to the community node.



create
public void create() throws CMCExistsException, CMCException(Code)
Create this community node persistently.


throws:
  com.sun.portal.community.mc.CommunityExistsException - If the community node already exists.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem creating the community node.



exists
public boolean exists() throws CMCException(Code)
Does this community node exist persistently?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if this community node exists persistently. a boolean indicating if this community node exists persistently.



getCMCPrincipal
public CMCPrincipal getCMCPrincipal() throws CMCException(Code)
Get the community principal that identifies this object. A CommunityPrincipal object that unqiuely identifies this object.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem getting the community principal for this object.



getCategory
public String getCategory() throws CMCException(Code)
Returns the classification for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community. the classification for the community



getCommunityCreationTime
public long getCommunityCreationTime() throws CMCException(Code)
Returns the time when community was created.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem performing the operation. time in milliseconds since the community was created. Returns -1 if the time is unknown.



getDPDocuments
public ConfigTable getDPDocuments() throws CMCException(Code)
Get the Display Profile documents associated with this community node.

This method returns the DP documents for all community roles supported by the community node. It is equivalent to calling getDPDocuments(null).

The values in the returned ConfigTable object are byte[] objects. The byte[] is a UTF-8 encoded character stream.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem getting the DP documents from this community node. a ConfigTable object containing the DP documents.
See Also:   CMCNode.getDPDocuments(Set)




getDPDocuments
public ConfigTable getDPDocuments(Set rolePrincipals) throws CMCException(Code)
Get the Display Profile documents for this community node, for the given set of roles.

The values in the returned ConfigTable object are byte[] objects. The byte[] is a UTF-8 encoded character stream.
Parameters:
  rolePrincipals - A Set of RolePrincipals, the roles to return DP documents for.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem get the DP documents for this community node. a ConfigTable containing the DP documents for the given set of roles.




getDPDocumentsLastModified
public ConfigTable getDPDocumentsLastModified() throws CMCException(Code)
Get the last modified times for the DP documents of this community node.

This method returns the modified times for all community roles supported by the community node. It is equivalent to calling getDPDocumentLastModified(null).

The modified time values are in milliseconds, the difference between the current time and midnight, January 1, 1970 UTC. A value of -1 indicates that the document has never been set.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem getting the DP document last modified times for this community node. A ConfigTable containing the DP document last modified times for thiscommunity node.The value objects in the ConfigTable are Longs.



getDPDocumentsLastModified
public ConfigTable getDPDocumentsLastModified(Set rolePrincipals) throws CMCException(Code)
Get the last modified times for the DP documents of this community node for the given set of roles.

The modified time values are in milliseconds, the difference between the current time and midnight, January 1, 1970 UTC. A value of -1 indicates that the document has never been set.
Parameters:
  rolePrincipals - A Set of RolePrincipals, the roles to return DP document last modified times for.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem getting the DP document last modified times for this community node. A ConfigTable containing the DP document last modified times for thiscommunity node.The value objects in the ConfigTable are Longs.



getDescription
public String getDescription() throws CMCException(Code)
Returns the description for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community. the description for the community



getRoles
public Set getRoles() throws CMCException(Code)
Get the roles for this community node. A Set of CMCRolePrincipals, the community roles
throws:
  com.sun.portal.community.mc.CMCException - if there was a problem getting the roles.



getUsers
public Set getUsers() throws CMCException(Code)
Get all users of this community node. This method is equivalent to calling getUsers(null). A Set of Strings, the user IDs.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem obtaining the user set.



getUsers
public Set getUsers(Set rolePrincipals) throws CMCException(Code)
Get the users that have the given roles for this community node.
Parameters:
  rolePrincipals - A Set of RolePrincipals, the roles to match to community node users to be returned. A Set of Strings, the user IDs that match the given roles in the community node.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem getting the community node's users.



init
public void init(Properties properties, CMCPrincipal communityPrincipal) throws CMCException(Code)
Initialize this CommunityNode object.

CommunityNode objects must be initialized before they are used. This method is called either directly or indirectly by the CommunityFactory object before it returns CommunityNode instances.
Parameters:
  properties - Properties used by the CommunityNode implementation to initialize the object instance. Clients should not call this method directly.

The exact properties used are CommunityNode implementation dependent.
Parameters:
  communityPrincipal - A community principal that unqiuely identifies this CommunityNode.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem initializing this object.



isListed
public boolean isListed() throws CMCException(Code)
Is this community listed in the search database ?
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that. true if community is listed and false otherwise.



isMembershipRestricted
public boolean isMembershipRestricted() throws CMCException(Code)
Is the membership restricted for the community?
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that. true if community membership is restricted, else returns false.



isSecure
public boolean isSecure() throws CMCException(Code)
Are the community contents secured or accessible to all.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem evaluating that. true if community contents are secured, else return false.



remove
public void remove() throws CMCException(Code)
Remove this community node persistently.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem removing this community node persistently.



removeRole
public void removeRole(CMCRolePrincipal rolePrincipal) throws CMCException(Code)
Remove a role from this community node.
Parameters:
  rolePrincipal - the role to add.
throws:
  com.sun.portal.community.mc.CMCException - if a problem occurs adding the role.



removeUsers
public void removeUsers(Set uids, Set rolePrincipals) throws CMCException(Code)
Remove users from roles in this community node.
Parameters:
  uids - A Set of Strings, the user IDs to remove.
Parameters:
  rolePrincipals - A Set of RolePrincipals, the roles to remove the users from in the community node.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem removing the users from the roles in the community.



setCategory
public void setCategory(String classification) throws CMCException(Code)
Sets the classification for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community.



setDPDocuments
public void setDPDocuments(ConfigTable dpDocuments) throws CMCException(Code)
Set DP documents for this community node.

Setting a DP document will update its last modified time in this community node.

The values passed in the ConfigTable object are UTF-8 encoded byte[] objects representing a character stream.
Parameters:
  dpDocuments - A ConfigTable containing the DP document values, as byte[] objects, to setin this community node.

If the config table contains mappings for community nodes other thanthis community, those entries will be silently ignored.

If the config table contains mappings for this community, and roles that this community does not support, an exception will be thrown.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem setting the DP documents in this community node.




setDescription
public void setDescription(String description) throws CMCException(Code)
Sets the description for the community
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community.



setListed
public void setListed(boolean isListed) throws CMCException(Code)
Set the flag indicating the community is listed in the database.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem performing the operation.
Parameters:
  a - boolean flag indicating the new setting.



setMembershipRestricted
public void setMembershipRestricted(boolean isMembershipRestricted) throws CMCException(Code)
Set the flag indicating whether the community membership is restricting.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem performing the operation.
Parameters:
  a - boolean flag indicating the new setting.



setSecure
public void setSecure(boolean isSecure) throws CMCException(Code)
Set the flag indicating whether the community content are secured.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem performing the operation.
Parameters:
  a - boolean flag indicating the new setting.



supportsAddRole
public boolean supportsAddRole() throws CMCException(Code)
Does this community node support the addRole() operation? a boolean indicating if addRole() is supported
See Also:   CMCNode.addRole(RolePrincipal)
throws:
  com.sun.portal.community.mc.CMCException - if there was a problem determining if the addRole() operation is supported.



supportsAddUsers
public boolean supportsAddUsers() throws CMCException(Code)
Does this community node support the addUsers() operation? a boolean indicating if addUsers() is supported
See Also:   CMCNode.addUsers(java.util.Set,RolePrincipal)
throws:
  com.sun.portal.community.mc.CommunityException - If there is a problem determining if addUsers() is supported



supportsCategory
public boolean supportsCategory() throws CMCException(Code)
Does this community node support the getCategory() and setCategory() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operations are supported in this community. a boolean indicating if this community supports the setCategory() and getCategory()operation.
See Also:   CMCNode.setCategory(String classification)
See Also:   CMCNode.getCategory()



supportsCommunityCreationTime
public boolean supportsCommunityCreationTime() throws CMCException(Code)
Does this community node support the getComunityCreationTime() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operation is supported in this community. a boolean indicating if this community supports the getComunityCreationTime()operation.
See Also:   CMCNode.getComunityCreationTime()



supportsCreate
public boolean supportsCreate() throws CMCException(Code)
Does this community node support the create() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem testing if the create() operation is supported. a boolean indicating if the create() operation is supported.
See Also:   CMCNode.create()



supportsDescription
public boolean supportsDescription() throws CMCException(Code)
Does this community node support the getDescription() and setDescription() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operations are supported in this community. a boolean indicating if this community supports the setDescription() and getDescription()operation.
See Also:   CMCNode.setDescription(String description)
See Also:   CMCNode.getDescription()



supportsGetRoles
public boolean supportsGetRoles() throws CMCException(Code)
Does this community node support the getRoles() operation? a boolean indicating if getRoles() is supported
See Also:   CMCNode.getRoles()
throws:
  com.sun.portal.community.mc.CommunityException - If there is a problem determining if getRoles() is supported



supportsListing
public boolean supportsListing() throws CMCException(Code)
Does this community node support the isListed() and setListed() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community. a boolean indicating if this community supports the setListed() and isListed()operation.
See Also:   CMCNode.setListed(boolean isListed)
See Also:   CMCNode.isListed()



supportsMembershipRestriction
public boolean supportsMembershipRestriction() throws CMCException(Code)
Does this community node support the isMembershipRestricted() and setMembershipRestricted() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community. a boolean indicating if this community supports the setMembershipRestricted() and isMembershipRestricted()operation.
See Also:   CMCNode.setMembershipRestricted(boolean isMembershipRestricted)
See Also:   CMCNode.isMembershipRestricted()



supportsRemove
public boolean supportsRemove() throws CMCException(Code)
Does this community node support the remove() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if the remove() operation is supported. a boolean indicating if the remove() operation is supported.
See Also:   CMCNode.remove()



supportsRemoveRole
public boolean supportsRemoveRole() throws CMCException(Code)
Does this community node support the removeRole() operation? a boolean indicating if the removeRole() operation is supported.
See Also:   CMCNode.removeRole(CMCRolePrincipal)
throws:
  com.sun.portal.community.mc.CMCException - if a problem occurs when determining if the removeRole() operation is supported.



supportsRemoveUsers
public boolean supportsRemoveUsers() throws CMCException(Code)
Does this community node support the removeUsers() operation? a boolean indicating if the removeUsers() operation is supported.
throws:
  com.sun.portal.community.mc.CommunityException - If there is a problem determining if removeUsers() is suppoorted.
See Also:   CMCNode.removeUsers(Set,Set)



supportsRole
public boolean supportsRole(CMCRolePrincipal rolePrincipal) throws CMCException(Code)
Does this community node support the given role?
Parameters:
  rolePrincipal - A RolePrincipal to test.
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem testing support for the role. A boolean indicating if the role is supported by this community node implementation.



supportsRoleCreationTime
public boolean supportsRoleCreationTime() throws CMCException(Code)
Does this community node support the getRoleCreationTime() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if this setDPDocuments()operation is supported in this community. a boolean indicating if this community supports the getRoleCreationTime()operation.
See Also:   CMCNode.getRoleCreationTime()



supportsSecuring
public boolean supportsSecuring() throws CMCException(Code)
Does this community node support the isSecure() and setSecure() operation.
throws:
  com.sun.portal.community.mc.CommunityException - if there was a problem determining if operations are supported in this community. a boolean indicating if this community supports the setSecure() and isSecure()operation.
See Also:   CMCNode.setSecure(boolean isSecure)
See Also:   CMCNode.isSecure()



supportsSetDPDocuments
public boolean supportsSetDPDocuments() throws CMCException(Code)
Does this community node support the setDPDocuments() operation?
throws:
  com.sun.portal.community.mc.CommunityException - If there was a problem determining if this setDPDocuments()operation is supported in this community. a boolean indicating if this community supports the setDPDocuments() operation.
See Also:   CMCNode.setDPDocuments(ConfigTable)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.