Claims
- 1. A method of automatically linking items with two or more attributes to multiple levels of folders in a content management system, comprising:
creating an item type for a folder; determining if automatic linking is specified for the folder; if automatic linking is specified, determining if an existing folder of the item type is specified; if the existing folder is specified, automatically adding the items to the existing folder; and wherein if an existing folder is not specified, automatically and recursively creating a new folder to match the item type and adding the items to the new folder.
- 2. The method of claim 1, wherein determining if the automatic linking is specified for the folder comprises further determining if automatic linking rules have been specified.
- 3. The method of claim 2, wherein if the automatic linking rules have been specified, locating the existing folder.
- 4. The method of claim 3, further comprising using the attributes for locating for the existing folder of the item type.
- 5. The method of claim 4, wherein if the attributes of an item are changed, reindexing the item.
- 6. The method of claim 5, further comprising changing an item link from the folder to the new folder that matches the item attributes.
- 7. The method of claim 6, wherein if removing an item from the folder results in an empty folder and if the folder was originally created by automatic linking, deleting the empty folder.
- 8. A computer program product having instruction codes for automatically linking items with two or more attributes to multiple levels of folders in a content management system, comprising:
a first set of instruction codes for creating an item type for a folder; a second set of instruction codes for determining if automatic linking is specified for the folder; if automatic linking is specified, the second set of instruction codes determines if an existing folder of the item type is specified; if the existing folder is specified, the second set of instruction codes automatically adds the items to the existing folder; and wherein if an existing folder is not specified, the second set of instruction codes automatically and recursively creates a new folder to match the item type and adding the items to the new folder.
- 9. The computer program product of claim 8, wherein the second set of instruction codes further determines if automatic linking rules have been specified.
- 10. The computer program product of claim 9, wherein if the automatic linking rules have been specified, the second set of instruction codes locates the existing folder.
- 11. The computer program product of claim 10, further comprising a third set of instruction codes for using the attributes to locating for the existing folder of the item type.
- 12. The computer program product of claim 11, wherein if the attributes of an item are changed, the third set of instruction codes reindexes the item.
- 13. The computer program product of claim 12, further comprising a fourth set of instruction codes for changing an item link from the folder to the new folder that matches the item attributes.
- 14. The computer program product of claim 13, wherein if removing an item from the folder results in an empty folder and if the folder was originally created by automatic linking, the third set of instruction codes deletes the empty folder.
- 15. A system that automatically links items with two or more attributes to multiple levels of folders in a content management system, comprising:
means for creating an item type for a folder; means for determining if automatic linking is specified for the folder; if automatic linking is specified, the determining means determines if an existing folder of the item type is specified; if the existing folder is specified, the determining means automatically adds the items to the existing folder; and wherein if an existing folder is not specified, the determining means automatically and recursively creates a new folder to match the item type and adding the items to the new folder.
- 16. The system of claim 15, wherein the determining means further determines if automatic linking rules have been specified.
- 17. The system of claim 16, wherein if the automatic linking rules have been specified, the determining means locates the existing folder.
- 18. The system of claim 17, further comprising means for locating the existing folder of the item type using the attributes for.
- 19. The system of claim 18, wherein if the attributes of an item are changed, the locating means reindexes the item.
- 20. The system of claim 19, further comprising means for changing an item link from the folder to the new fonder that matches the item attributes.
- 21. The system of claim 20, wherein if removing an item from the folder results in an empty folder and if the folder was originally created by automatic linking, the locating means deletes the empty folder.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application is related to copending U.S. patent application Ser. No. 10/131,653, titled “Autofoldering Process In Content Management,” filed on Apr. 23, 2002, which is assigned to the same assignee as the present application, and incorporated herein by reference.