Superclass for all classes used to process lifecycle events for resources. More...
Public Member Functions | |
OnGetStudioProject (_.Studio.Project pProject, _.Library.Boolean pHandled) | |
Subclasses may override to customize the studio project. More... | |
OnGetUniqueName (pUniqueName) | |
Returns a unique name for this resource. More... | |
_.Library.String | OnItemRelativePath (_.Library.String pItemName) |
Returns the path relative to the module root for item pItemName within this resource. | |
_.Library.Status | OnPhase (_.Library.String pPhase, pParams, _.Library.Boolean pResourceHandled) |
Called as phase pPhase is executed for the resource. More... | |
Public Attributes | |
Params | |
More... | |
Static Public Attributes | |
ATTRIBUTES = None | |
Comma-separated list of resource attribute names that this processor uses. | |
DESCRIPTION = None | |
Description of resource processor class (shown in UI) | |
Private Member Functions | |
__CopyDefaultAttributes (_.IPM.Storage.ModuleSetting.ProcessorDefault pSource) | |
Generated similarly to <method>CopyAttributes</method> | |
Private Attributes | |
__ResourceReference | |
More... | |
Superclass for all classes used to process lifecycle events for resources.
OnGetStudioProject | ( | _.Studio.Project | pProject, |
_.Library.Boolean | pHandled | ||
) |
Subclasses may override to customize the studio project.
(e.g., things that use web applications will do this.)
Reimplemented in CSPApplication.
OnGetUniqueName | ( | pUniqueName | ) |
Returns a unique name for this resource.
Default implementation, leaving pUniqueName undefined, reverts to default behavior. An empty string indicates guaranteed uniqueness (useful for folders relative to module root)
Reimplemented in Document, DeepSeeItem, WebApplication, Test, CSPApplication, and Copy.
_.Library.Status OnPhase | ( | _.Library.String | pPhase, |
pParams, | |||
_.Library.Boolean | pResourceHandled | ||
) |
Called as phase pPhase is executed for the resource.
If pResourceHandled is set to true,
then the default behavior for that resource will be bypassed in the current phase. Currently, this is only used in the Verify phase, because of different handling of intermediate error statuses. TODO: Implement for standard database resources (.INC, .CLS, etc.)
Reimplemented in LocalizedMessages, Global, Document, DeepSeeItem, WebApplication, Test, FileCopy, and Copy.
Params |
|
private |