cancel
Showing results for 
Search instead for 
Did you mean: 

VersioningServices

seahell_
Champ in-the-making
Champ in-the-making

Hello, I want override some functions like doPostCreate, or setInitialVersion. i use more documentmodels and lifecycleState customized.

Must i use : public class Versioning extends StandardVersioningService{} or an other class ?

Thanks

1 REPLY 1

seahell_
Champ in-the-making
Champ in-the-making

The use of the class "StandardVersioningService " seems correct

public class Versioning extends StandardVersioningService {

@Override
protected void setInitialVersion(Document doc) throws DocumentException {
	InitialStateDescriptor initialState = null;
            ...
}
}
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.