com.gentics.portal.node.connector.examples
Class WriteablePortalConnectorExample

java.lang.Object
  extended by com.gentics.portal.node.connector.examples.WriteablePortalConnectorExample

public class WriteablePortalConnectorExample
extends Object

A simple Writeable PortalConnector example which retrieves a writeable datasource and shows how to create and change content objects.

Author:
herbert

Constructor Summary
WriteablePortalConnectorExample()
           
 
Method Summary
protected static com.gentics.api.lib.datasource.WriteableDatasource getDatasource()
          Creates the Writeable Datasource.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteablePortalConnectorExample

public WriteablePortalConnectorExample()
Method Detail

main

public static void main(String[] args)
Parameters:
args -

getDatasource

protected static com.gentics.api.lib.datasource.WriteableDatasource getDatasource()
                                                                           throws Exception
Creates the Writeable Datasource.

Returns:
datasource
Throws:
Exception


Copyright © 2013. All Rights Reserved.