0

Online Docs Reference HERE

While extending a deployer, here ComponentPresentationDeploy , as seen below, Where are the different functions, classes documented ?

protected void processComponentPresentation(ComponentPresentation cp, File cpfile) {

    TCMURI id = cp.getComponentKey().getId();
    ItemDAO dao = (ItemDAO) StorageManagerFactory.getDefaultDAO("ComponentMeta");
    ComponentMeta compMeta = (ComponentMeta) dao.findByPrimaryKey(id.getPublicationId(), id.getItemId());  
    Integer schemaId = compMeta.getSchemaId();
}

for example: ItemDAO, ComponentMeta, StorageManagerFactory etc...

I needed to get the TCM URI and read the MetaData field values of the published component ,done as above, however need full members,properties,functions details of the above classes used.

Searched through onlineDocs, CHMs. So far some google searches helped understand a little bit here.

1
  • 1
    The javadoc should be available as a download too
    – Nuno Linhares
    Commented Mar 28, 2015 at 19:27

1 Answer 1

1

On the downloads page of docs.sdl.com you can find all the javadoc for Content Delivery, and there you should find all the methods you're searching for.

As it seems like you've found it... the easiest way seems indeed to be to "take a look behind the curtain" to figure out how Tridion does it itself, and probably looking online for other examples of deployer extensions, like this one.

1
  • Thanks Nuno. Right from being a Newbie in Tridion to moving on to new advance level development now in tridion, you guys here always helped a lot. The only challenge mostly I face is regarding a proper guide/tutorial on the concepts, details on existing classes, functions and namespaces available ( as mostly we see in any book e.g. on .Net :) ). After that I was able to fully implement/code, use classes, functions as per my own requirements. The Java Docs helped a lot as they contain full details on various classes available. Thanks once again.
    – R.C
    Commented Mar 30, 2015 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.