nl.gx.webmanager.cms.form
Interface Resource

All Superinterfaces:
Wrapper

public interface Resource
extends Wrapper

Representation of the resource. This can be a database table (for example the webusertable), but can also be a webservice, etc. The resources are used to connect to in the forms module, to store or retrieve information.


Method Summary
 java.lang.String getConnectionName()
          Returns connection name of the resource.
 ResourceEntry[] getEntries()
          Return the resource entries (for exmaple username or e-mail) of the resource.
 java.lang.String getName()
          Returns human readable of the resource.
 java.lang.String getPrefillingXsl()
          Return XML attributes which is used to prefill a formpart with the information of a resource.
 java.lang.String getTableName()
          Returns table name of the resource.
 java.lang.String getTagName()
          Return the tagname which is used as root tag in the session.
 java.lang.String getValue()
          Returns a value which identifies the resource.
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getTagName

java.lang.String getTagName()
Return the tagname which is used as root tag in the session. This is used for the prefilling of the formparts. For example when a formpart is connected with the username resource entry and the resource has as tagname "user", then the prefilling gets the information from /root/system/user/username

Returns:
the tagname of the resource.

getEntries

ResourceEntry[] getEntries()
Return the resource entries (for exmaple username or e-mail) of the resource.

Returns:
the resource entries.

getPrefillingXsl

java.lang.String getPrefillingXsl()
Return XML attributes which is used to prefill a formpart with the information of a resource.

Returns:
XML attributes which is used for the prefilling.

getConnectionName

java.lang.String getConnectionName()
Returns connection name of the resource.

Returns:
String holding the connection name.

getTableName

java.lang.String getTableName()
Returns table name of the resource.

Returns:
String holding the table name.

getName

java.lang.String getName()
Returns human readable of the resource.

Returns:
human readable name.

getValue

java.lang.String getValue()
Returns a value which identifies the resource.

Returns:
String value which identifies the resource.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.