As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
protected AuthenticationService getAuthenticationService() { AuthenticationService returnAuthenticationService = this.getServiceRegistry().getAuthenticationService(); return returnAuthenticationService; } protected AuthorityService getAuthorityService() { AuthorityService returnAuthorityService = this.getServiceRegistry().getAuthorityService(); return returnAuthorityService; } protected NodeRef getCompanyHomeReference() { NodeRef nodeRef = this.getRepositoryContext().getCompanyHome(); return nodeRef; }
<bean id="webscript.com.example.mywebscript.get" class="com.example.MyWebScript" parent="webscript"> <property name="serviceRegistry" ref="ServiceRegistry"/> </bean>
<bean id="webscript.org.alfresco.demo.test.get" class="org.alfresco.Demo" parent="webscript"> <property name="repository" ref="repositoryHelper" /> </bean>