Alfresco Document management system in spring application -
i new alfresco document management system in spring, have done alfresco activity workflowbefore. want develop alfresco dms in spring.
any body did please send me sample model application or related web site url.
thank you.
in case want connect alfresco repository
private static session getsession(string serverurl, string username, string password) {sessionfactory sessionfactory = sessionfactoryimpl.newinstance(); map<string, string> params = new hashmap<>(); params.put(sessionparameter.user, username); params.put(sessionparameter.password, password); params.put(sessionparameter.atompub_url, serverurl); params.put(sessionparameter.binding_type, bindingtype.atompub.value()); list<repository> repos = sessionfactory.getrepositories(params); if (repos.isempty()) { throw new runtimeexception("server has no repositories!"); } return repos.get(0).createsession(); }
you have add serverurl
, username
, password
(in default admin
, admin
)
Comments
Post a Comment