:: com :: sun :: star :: ucb ::

struct Rule
Description
describes a rule that can be applies to a number of objects.

A rule consists of a sequence of ::com::sun::star::ucb::RuleTerm s describing the objects to which the rule should be applied, the ::com::sun::star::ucb::RuleAction which should be used on the matching objects, and a parameter.


Elements' Summary
Terms the rule terms describing the objects to which the rule should be applied.  
Parameter Some ::com::sun::star::ucb::RuleAction s require a parameter.  
Action the action to perform on the matching objects.  
Elements' Details
Terms
sequence< ::com::sun::star::ucb::RuleTerm > Terms;
Description
the rule terms describing the objects to which the rule should be applied.
Parameter
string Parameter;
Description
Some ::com::sun::star::ucb::RuleAction s require a parameter.
Action Parameter
COPY, MOVE, LINK The URL to the destination folder.
FORWARD The email address of the recepient
All other actions n/a
Action
short Action;
Description
the action to perform on the matching objects.

The value can be one of the ::com::sun::star::ucb::RuleAction constants.

Top of Page