Description Syntax Example setAGPasswordCredential

10-28 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.4.15.3 Example

The following example returns the current value of the system property oracle.webcenter.activitygraph.providers.datasources.ses.soap.ad min.url: wls:weblogicserverConfig getAGPropertyappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.admin. url, propertyType=String

10.4.16 setAGPasswordCredential

Module: Oracle WebCenter Use with WLST: Online

10.4.16.1 Description

Sets credentials user name and password for an Activity Graph credential property. See also, Managing the Activity Graph Service in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter for a list of properties with the PasswordCredential datatype, for example, oracle.webcenter.activitygraph.providers.datasources.ses.soap.ad min.credential.

10.4.16.2 Syntax

setAGPasswordCredentialPropertyappName, propertyName, userName, password,[server, applicationVersion]

10.4.16.3 Example

The following example sets user name and password credentials for the Oracle SES Admin tool: wls:weblogicserverConfig setAGPropertyappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.admin. credential, userName=myname, password=GuessWhat Argument Definition appName Name of the Activity Graph application in which to perform this operation—always activitygraph-engines. propertyName Name of the Activity Graph property that specifies credentials and has PasswordCredential datatype. userName User name associated with the credential property. password Password associated with the user name specified. server Optional. Name of the managed server where the application is deployed. For example, WC_Utilities. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the Activity Graph application is deployed. Oracle WebCenter Custom WLST Commands 10-29

10.5 Activity Stream

Use the commands listed in Table 10–6 to archive and restore activity stream data generated for a WebCenter application. Configuration changes made using these WebCenter WLST commands are only effective after your restart the Managed Server on which the WebCenter application is deployed. For details, see Oracle Fusion Middleware Administrators Guide for Oracle WebCenter.

10.5.1 archiveASByDate

Module: Oracle WebCenter Use with WLST: Online

10.5.1.1 Description

Archives activity stream data that is older than a specified date. This command moves data from production tables to archive tables. Exceptions include WC_ACTOR_DETAIL and WC_OBJECT_DETAIL—data in these tables is copied to archive tables rather than moved. Rows in WC_OBJECT_DETAIL that are not used by any activity element are deleted.

10.5.1.2 Syntax

archiveASByDateappName, year, month, day, [server, applicationVersion] Table 10–6 Activity Stream WLST Commands Use this command... To... Use with WLST... archiveASByDate Archive activity stream data that is older than a specified date. Online archiveASByDeletedObj ects Archive activity stream data associated with deleted objects. Online archiveASByClosedSpac es Archive activity stream data associated with Spaces that are currently closed. Online archiveASByInactiveSpa ces Archive activity stream data associated with Spaces that have been inactive since a specified date. Online restoreASByDate Restore archived activity stream data from a specified date into production tables. Online truncateASArchive Truncates activity stream archive data. Online Argument Definition appName Name of the WebCenter application in which to perform this operation. year Year before which to archive activity stream data. For example, 2009. month Month before which to archive activity stream data. For example, enter 1 for January, 2 for February, and so on. day Day of the month before which to archive activity stream data.