The only required annotation that this method handles is {@link CMSAdapterVocabulary#CMS_OBJECT}assertions. This method should create each resource having this assertion as its rdf:type should be created as a node/object in the repository.
The name of the CMS object to be created is first checked in {@link CMSAdapterVocabulary#CMS_OBJECT_NAME} assertion. If the resource has not this assertion, thename of the CMS object is set as the URI of the resource.
The location of the CMS object in the content repository is specified through the {@link CMSAdapterVocabulary#CMS_OBJECT_PATH} assertion. If the resource has not this assertion the pathvalue is set with its name together with a preceding "/" character e.g "/"+name
Hierarchy between CMS object is set up by the {@link CMSAdapterVocabulary#CMS_OBJECT_PARENT_REF}assertions. CMS objects are started to be created from the root object and based on this assertions children are created.
@param session This is a session object which is used to interact with JCR or CMIS repositories @param annotatedGraph This {@link MGraph} object is an enhanced version of raw RDF data with "CMS vocabulary"annotations @throws RDFBridgeException
|
|