Patent ID: 7818344

Claim:
A method for providing nested types in a content management system, the method comprising: providing a virtual content repository (VCR) that models content in a plurality of content repositories, wherein the VCR includes a plurality of nodes that are associated with a plurality of data types, wherein the VCR is associated with an application program interface (API) that allows a user to interact with the VCR using an programming language; receiving definitions of a first data type and a second data type of the plurality of data types in the programming language, wherein the second data type is nested within the first data type and the first data type contains at least one additional data type, wherein the first data type is associated with a first node within a first content repository in the VCR, and the second data type is associated with a second node within a second content repository in the VCR; and providing a type level security mechanism, via one or more processors, that prevents the user from accessing the first data type associated with the first node in the first content repository in the VCR, if the user does not have a right to access the second data type, even when the user has a right to access the at least one additional data type.