* the target project element
* @return the created copy of the publication
*/
- public Publication copy(Publication aPublication, ProjectElement publisher);
+ Publication copy(Publication aPublication, ProjectElement publisher);
/**
* Create a new version of the document.
* @throws NotApplicableException if publication's document is undefined
* @throws InterruptedException by Thread.sleep if interrupted
*/
- public void versionDocument(Step step, User user, String filename,
+ void versionDocument(Step step, User user, String filename,
long docIndex, String docver, String summary, ProgressState state,
Date date, String[] docuses, long[] docusedby)
throws MissedPropertyException, InvalidPropertyException,
* the document publication
* @return study step
*/
- public Step getInvolvedStep(Publication aPublication);
+ Step getInvolvedStep(Publication aPublication);
/**
* Promotes the document referenced by this publication from In-Check to Approved state, if not out-dated, and attaches the
* @see DocumentType#isStudyResult()
* @see Study#getApproverOf(Publication)
*/
- public Timestamp approve(Publication aPublication, Date adate);
+ Timestamp approve(Publication aPublication, Date adate);
/**
* Demotes the document referenced by this publication to In-Work state, and removes the Promoter of the document, if exist.<br/> The
* @see DocumentRights#canDemote()
* @see DocumentType#isStudyResult()
*/
- public boolean demote(Publication aPublication);
+ boolean demote(Publication aPublication);
/**
* Undo the review operation by demoting the document referenced by this publication from In-Check to In-Draft state and removing the
* @see DocumentRights#canInvalidate()
* @see DocumentType#isStudyResult()
*/
- public boolean invalidate(Publication aPublication);
+ boolean invalidate(Publication aPublication);
/**
* Promotes the document referenced by this publication from In-Work to In-Draft or In-Check state, if not out-dated, and attaches the
* @see DocumentRights#canPromote()
* @see DocumentType#isStudyResult()
*/
- public Timestamp promote(Publication aPublication, Date pdate);
+ Timestamp promote(Publication aPublication, Date pdate);
/**
* Promotes the document referenced by this publication from In-Draft to In-Check state, if not out-dated, and attaches the
* @see DocumentType#isStudyResult()
* @see Study#getReviewerOf(Publication)
*/
- public Timestamp review(Publication aPublication, Date rdate);
+ Timestamp review(Publication aPublication, Date rdate);
/**
* Publishes the document referenced by this publication into the owner Project Element under the given state, the revision number of
* @throws NotApplicableException
* If the referenced document is undefined
*/
- public void saveAs(Publication aPublication, ProgressState state)
+ void saveAs(Publication aPublication, ProgressState state)
throws FileNotFoundException, NotApplicableException;
/**
* If the referenced document is undefined
* @deprecated
*/
- public void saveAs(Publication aPublication, Revision newvers)
+ @Deprecated
+ void saveAs(Publication aPublication, Revision newvers)
throws FileNotFoundException, NotApplicableException;
/**
* @throws InvalidPropertyException
* if the new title is empty
*/
- public void rename(Publication aPublication, String title)
+ void rename(Publication aPublication, String title)
throws InvalidPropertyException;
/**
* the format
* @return the created "Converts" relation
*/
- public ConvertsRelation attach(Publication aPublication, String format);
+ ConvertsRelation attach(Publication aPublication, String format);
/**
* Create "Converts" relation for the given document publication, format and description.
* the description of the relation
* @return the created "Converts" relation
*/
- public ConvertsRelation attach(Publication aPublication, String format,
+ ConvertsRelation attach(Publication aPublication, String format,
String description);
/**
* @see #outdate()
* @see DocumentRights#canAccept()
*/
- public boolean actualize(Publication aPublication);
+ boolean actualize(Publication aPublication);
/**
* Out-dates this publication and recursively all publications using this one. Typically, a publication is out-dated when modifying a
* @see #getProgressState()
* @see #actualize()
*/
- public void outdate(Publication aPublication);
+ void outdate(Publication aPublication);
}