Skip to content

Commit

Permalink
ALFREDAPI-562: Remove unused NodeService fields
Browse files Browse the repository at this point in the history
  • Loading branch information
WimCrols committed Dec 11, 2024
1 parent 7082255 commit 3415b2b
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,12 @@
import org.alfresco.service.cmr.repository.MimetypeServiceAware;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter;
import org.alfresco.service.cmr.search.SearchService;
import org.alfresco.service.cmr.security.AccessStatus;
import org.alfresco.service.cmr.security.AuthenticationService;
import org.alfresco.service.cmr.security.PermissionService;
import org.alfresco.service.cmr.version.VersionType;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.alfresco.service.namespace.RegexQNamePattern;
import org.alfresco.util.TempFileProvider;
import org.apache.chemistry.opencmis.commons.spi.AclService;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -66,10 +62,8 @@
@Service("eu.xenit.alfred.api.alfresco.metadata.NodeService")
public class NodeService implements INodeService {

private final static String NAMESPACE_BEGIN = "" + '{';
private final static Logger logger = LoggerFactory.getLogger(NodeService.class);
private AlfredApiToAlfrescoConversion c;
private NamespaceService namespaceService;
private ServiceRegistry serviceRegistry;
private org.alfresco.service.cmr.repository.NodeService nodeService;
private PermissionService permissionService;
Expand All @@ -78,14 +72,10 @@ public class NodeService implements INodeService {
private FileFolderService fileFolderService;
private CheckOutCheckInService checkoutCheckinService;
private LockService lockService;
private AuthenticationService authenticationService;
private SearchService searchService;
private AclService aclService;
private ContentService contentService;
private MimetypeService mimetypeService;
private org.alfresco.repo.forum.CommentService commentService;
private AlfrescoPropertyConvertor propertyConvertor;
private TempFileProvider tempFileProvider;
private Repository repository;

@Autowired
Expand All @@ -98,21 +88,14 @@ public NodeService(ServiceRegistry serviceRegistry, AlfredApiToAlfrescoConversio
dictionaryService = serviceRegistry.getDictionaryService();
copyService = serviceRegistry.getCopyService();
nodeService = serviceRegistry.getNodeService();
namespaceService = serviceRegistry.getNamespaceService();
fileFolderService = serviceRegistry.getFileFolderService();
checkoutCheckinService = serviceRegistry.getCheckOutCheckInService();
lockService = serviceRegistry.getLockService();
authenticationService = serviceRegistry.getAuthenticationService();
searchService = serviceRegistry.getSearchService();
contentService = serviceRegistry.getContentService();
propertyConvertor = new AlfrescoPropertyConvertor(serviceRegistry, alfredApiToAlfrescoConversion);
mimetypeService = serviceRegistry.getMimetypeService();
}

public ServiceRegistry getServiceRegistry() {
return serviceRegistry;
}

public List<NodeMetadata> getMetadata(List<eu.xenit.alfred.api.data.NodeRef> noderefs) {
List<NodeMetadata> nodeMetadatas = new ArrayList<>(noderefs.size());
for (eu.xenit.alfred.api.data.NodeRef node : noderefs) {
Expand Down

0 comments on commit 3415b2b

Please sign in to comment.