APAR status
Closed as program error.
Error description
A new method has been added to the Workspace interface - public DocumentIdIterator findContentByWorkflowStage(DocumentId[] workflowStages, String[] users, int userRoles). This allows users to search for documents in multiple workflow stages, where the given set of users is in the specified role (author, owner or approver). The javadoc for this method is: Find content by workflow stage for users in particular roles. param workflowStages The WorkflowStages that we want to find content in param users The usernames that we want to find content for param userRoles The roles that the specified users are in. Valid values are ROLE_AUTHOR, ROLE_APPROVER. return an iterator of Ids of Content items in the given workflow stage that are visible to the current user throws IllegalDocumentTypeException if the IDs are not of type Workflow Stage. throws IllegalArgumentException if the workflow stage or user parameters are empty, if any of the workflow stage of user parameter values within the arrays are null, or if userRoles are not valid Also added the following method: public DocumentIdIterator findContentByWorkflowStage(DocumentId[] ids) Returns an iterator of all content in the given workflow stages. param ids the list of IDs of the workflow stages return an iterator of IDs of content items in the gievn stage
Local fix
Problem summary
Users Affected: All Java edition LWWCM users Problem Description: New API method to allow filtered content searches
Problem conclusion
A new method has been added to the Workspace interface - public DocumentIdIterator findContentByWorkflowStage(DocumentId[] workflowStages, String[] users, int userRoles). This allows users to search for documents in multiple workflow stages, where the given set of users is in the specified role (author, owner or approver). The javadoc for this method is: Find content by workflow stage for users in particular roles. param workflowStages The WorkflowStages that we want to find content in param users The usernames that we want to find content for param userRoles The roles that the specified users are in. Valid values are ROLE_AUTHOR, ROLE_APPROVER. return an iterator of Ids of Content items in the given workflow stage that are visible to the current user throws IllegalDocumentTypeException if the IDs are not of type Workflow Stage. throws IllegalArgumentException if the workflow stage or user parameters are empty, if any of the workflow stage of user parameter values within the arrays are null, or if userRoles are not valid Also added the following method: public DocumentIdIterator findContentByWorkflowStage(DocumentId[] ids) Returns an iterator of all content in the given workflow stages. param ids the list of IDs of the workflow stages return an iterator of IDs of content items in the gievn stage An interim fix is available for this APAR from Fix Central at: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?brandid=2&productid=Workplace%20Web%20Content%20Management&fix es=6.0.1.2-WCM-PK53690 You will need to cut/paste the entire URL into a browser to resolve the address.
Temporary fix
Comments
APAR Information
APAR number
PK53690
Reported component name
WRKPLC WEB CON
Reported component ID
5724I2900
Reported release
60E
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-09-27
Closed date
2007-10-10
Last modified date
2008-03-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WRKPLC WEB CON
Fixed component ID
5724I2900
Applicable component levels
R60E PSY
UP
[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.1","Edition":"","Line of Business":{"code":null,"label":null}}]
Document Information
Modified date:
10 September 2020