A community proposal is represented as a Java object that can be handled in a workflow. Community proposals are maintained in a database and represented in a SQL repository named the Portal Process Repository. The Portal Process Repository has a Nucleus address of /atg/portal/process/ProcessRepository
.
Community Proposal Properties
ATG Portal includes a simple repository schema to support community proposal workflows. The Portal Process Repository defines a item descriptor named communityProposal
. Each communityProposal
repository item represents an individual community proposal. An item of type communityProposal
includes the following properties:
Property | Description |
---|---|
community | The name of the community to be created |
communityTemplate | The community template file. This file is created using the Portal Administration interface, as described in the Creating Communities from Community Templates section in the Community Administration chapter. |
creationDate | A property automatically calculated from the current time when the community proposal is created. |
creator | The user who created the community proposal. This property is a user profile maintained in the Profile Repository. |
id | A string ID for the community proposal. |
lastModified | A property automatically calculated from the current time when the community proposal is modified. |
name | The name of the community proposal. |
url | The URL segment for the new community. |
version | An integer for the version number of the community proposal. |
You can customize the community proposal to include other properties. To do so, you need to:
Modify the database schema for the Portal Process Repository. The SQL scripts that define this database schema are located at
<ATG2007.3dir>/Portal/ppa/sql/install
.Modify the repository definition file for the Portal Process Repository. This definition file is located at
<ATG2007.3dir>/Portal/ppa/config/atg/portal/process/ppa.xml
.Create a new community proposal Java class that implements the
atg.portal.process.CommunityProposal
interface, adding methods to handle your new properties.