com.gentics.portal.node.connector.examples
Class SimplePortalConnectorExample
java.lang.Object
com.gentics.portal.node.connector.examples.SimplePortalConnectorExample
public class SimplePortalConnectorExample
- extends Object
A very simple example on how to create a Datasource connection and retrieve a
single content object from a Gentics Content.Node contentrepository.
Method Summary |
protected static com.gentics.api.lib.datasource.Datasource |
getDatasource()
Create the datasource |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePortalConnectorExample
public SimplePortalConnectorExample()
main
public static void main(String[] args)
- Parameters:
args
-
getDatasource
protected static com.gentics.api.lib.datasource.Datasource getDatasource()
throws Exception
- Create the datasource
- Returns:
- datasource
- Throws:
Exception
Copyright © 2013. All Rights Reserved.