Access to the current publication. Use this when the publication is not yet known in the
usecase: e.g. when creating a global asset. When adding a resource or a child to a document,
access the publication via that document's interface instead.
the publication in which the use-case is being executed
Returns the document to be redirected to after the usecase has been completed. If the
parameter success is false, the source document is returned (override this
method to change this behaviour).
Parameters: success - If the usecase was successfully completed. A document.