public class AdvancedPortalConnectorExample extends Object
Constructor and Description |
---|
AdvancedPortalConnectorExample() |
Modifier and Type | Method and Description |
---|---|
protected static com.gentics.api.lib.datasource.Datasource |
getDatasource()
Create the datasource
|
protected static Collection |
getObjects(com.gentics.api.lib.datasource.Datasource ds,
String rule)
Get the objects filtered by the given rule
|
static void |
main(String[] args) |
protected static String |
replacePLinks(String pageContent)
Replaces <plink> tags in a given page content.
|
public static void main(String[] args)
args
- protected static String replacePLinks(String pageContent)
pageContent
- the content of a page.protected static com.gentics.api.lib.datasource.Datasource getDatasource() throws Exception
Exception
protected static Collection getObjects(com.gentics.api.lib.datasource.Datasource ds, String rule) throws Exception
ds
- datasourcerule
- ruleException
Copyright © 2017. All Rights Reserved.