@@ -548,14 +548,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
548548 */
549549 ProcessorDiagnosticsEntity getProcessorDiagnostics (String id );
550550
551- /**
552- * Gets the Processor transfer object for the specified id, as it is visible to the given user
553- *
554- * @param id Id of the processor to return
555- * @return The Processor transfer object
556- */
557- ProcessorEntity getProcessor (String id , NiFiUser user );
558-
559551 /**
560552 * Gets the processor status.
561553 *
@@ -802,15 +794,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
802794 */
803795 PortEntity getInputPort (String inputPortId );
804796
805- /**
806- * Gets an input port as it is available to the given user
807- *
808- * @param inputPortId The input port id
809- * @param user the user
810- * @return port
811- */
812- PortEntity getInputPort (String inputPortId , NiFiUser user );
813-
814797 /**
815798 * Gets all input ports in a given group.
816799 *
@@ -880,15 +863,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
880863 */
881864 PortEntity getOutputPort (String outputPortId );
882865
883- /**
884- * Gets an output port as it is available to the given user
885- *
886- * @param outputPortId The output port id
887- * @param user the user
888- * @return port
889- */
890- PortEntity getOutputPort (String outputPortId , NiFiUser user );
891-
892866 /**
893867 * Gets all output ports in a given group.
894868 *
@@ -1001,15 +975,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
1001975 */
1002976 VariableRegistryEntity updateVariableRegistry (Revision revision , VariableRegistryDTO variableRegistryDto );
1003977
1004- /**
1005- * Updates the variable registry on behalf of the given user
1006- *
1007- * @param user the user who performed the action
1008- * @param revision Revision to compare with current base revision
1009- * @param variableRegistryDto the Variable Registry
1010- */
1011- VariableRegistryEntity updateVariableRegistry (NiFiUser user , Revision revision , VariableRegistryDTO variableRegistryDto );
1012-
1013978 /**
1014979 * Determines which components will be affected by updating the given Variable Registry.
1015980 *
@@ -1063,17 +1028,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
10631028 */
10641029 ActivateControllerServicesEntity activateControllerServices (String processGroupId , ControllerServiceState state , Map <String , Revision > serviceRevisions );
10651030
1066- /**
1067- * Enables or disables the controller services with the given IDs & Revisions on behalf of the given user
1068- *
1069- * @param user the user performing the action
1070- * @param processGroupId the ID of the process group
1071- * @param state the desired state of the services
1072- * @param serviceRevisions a mapping of Controller Service ID to current Revision
1073- * @return snapshot
1074- */
1075- ActivateControllerServicesEntity activateControllerServices (NiFiUser user , String processGroupId , ControllerServiceState state , Map <String , Revision > serviceRevisions );
1076-
10771031 /**
10781032 * Schedules all applicable components under the specified ProcessGroup on behalf of the currently logged in user.
10791033 *
@@ -1084,17 +1038,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
10841038 */
10851039 ScheduleComponentsEntity scheduleComponents (String processGroupId , ScheduledState state , Map <String , Revision > componentRevisions );
10861040
1087- /**
1088- * Schedules all applicable components under the specified ProcessGroup on behalf of the given user.
1089- *
1090- * @param user the user performing the action
1091- * @param processGroupId The ProcessGroup id
1092- * @param state schedule state
1093- * @param componentRevisions components and their revision
1094- * @return snapshot
1095- */
1096- ScheduleComponentsEntity scheduleComponents (NiFiUser user , String processGroupId , ScheduledState state , Map <String , Revision > componentRevisions );
1097-
10981041 /**
10991042 * Updates the specified process group.
11001043 *
@@ -1161,16 +1104,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
11611104 */
11621105 RemoteProcessGroupEntity getRemoteProcessGroup (String remoteProcessGroupId );
11631106
1164- /**
1165- * Gets a remote process group as it is visible to the given user
1166- *
1167- * @param remoteProcessGroupId The id of the remote process group
1168- * @param user the user requesting the action
1169- * @return group
1170- */
1171- RemoteProcessGroupEntity getRemoteProcessGroup (String remoteProcessGroupId , NiFiUser user );
1172-
1173-
11741107 /**
11751108 * Gets all remote process groups in the a given parent group.
11761109 *
@@ -1179,15 +1112,6 @@ Set<DocumentedTypeDTO> getControllerServiceTypes(final String serviceType, final
11791112 */
11801113 Set <RemoteProcessGroupEntity > getRemoteProcessGroups (String groupId );
11811114
1182- /**
1183- * Gets all remote process groups in the a given parent group as they are visible to the given user
1184- *
1185- * @param groupId The id of the parent group
1186- * @param user the user making the request
1187- * @return group
1188- */
1189- Set <RemoteProcessGroupEntity > getRemoteProcessGroups (String groupId , NiFiUser user );
1190-
11911115 /**
11921116 * Gets the remote process group status.
11931117 *
@@ -1456,10 +1380,9 @@ VersionControlInformationEntity setVersionControlInformation(Revision processGro
14561380 *
14571381 * @param processGroupId the ID of the Process Group to update
14581382 * @param updatedSnapshot the snapshot to update the Process Group to
1459- * @param user the user making the request
14601383 * @return the set of all components that would be affected by updating the Process Group
14611384 */
1462- Set <AffectedComponentEntity > getComponentsAffectedByVersionChange (String processGroupId , VersionedFlowSnapshot updatedSnapshot , NiFiUser user );
1385+ Set <AffectedComponentEntity > getComponentsAffectedByVersionChange (String processGroupId , VersionedFlowSnapshot updatedSnapshot );
14631386
14641387 /**
14651388 * Verifies that the Process Group with the given identifier can be updated to the proposed flow
@@ -1499,7 +1422,6 @@ VersionControlInformationEntity setVersionControlInformation(Revision processGro
14991422 /**
15001423 * Updates the Process group with the given ID to match the new snapshot
15011424 *
1502- * @param user the user performing the request
15031425 * @param revision the revision of the Process Group
15041426 * @param groupId the ID of the Process Group
15051427 * @param versionControlInfo the Version Control information
@@ -1510,7 +1432,7 @@ VersionControlInformationEntity setVersionControlInformation(Revision processGro
15101432 * update the contents of that Process Group
15111433 * @return the Process Group
15121434 */
1513- ProcessGroupEntity updateProcessGroupContents (NiFiUser user , Revision revision , String groupId , VersionControlInformationDTO versionControlInfo , VersionedFlowSnapshot snapshot ,
1435+ ProcessGroupEntity updateProcessGroupContents (Revision revision , String groupId , VersionControlInformationDTO versionControlInfo , VersionedFlowSnapshot snapshot ,
15141436 String componentIdSeed , boolean verifyNotModified , boolean updateSettings , boolean updateDescendantVersionedFlows );
15151437
15161438 // ----------------------------------------
@@ -1784,17 +1706,6 @@ ProcessGroupEntity updateProcessGroupContents(NiFiUser user, Revision revision,
17841706 */
17851707 Set <ControllerServiceEntity > getControllerServices (String groupId , boolean includeAncestorGroups , boolean includeDescendantGroups );
17861708
1787- /**
1788- * Gets all controller services that belong to the given group and its parent/ancestor groups
1789- *
1790- * @param groupId the id of the process group of interest
1791- * @param includeAncestorGroups if true, parent and ancestor groups' services will be returned as well
1792- * @param includeDescendantGroups if true, child and descendant groups' services will be returned as well
1793- * @param user the user that is retrieving the Controller Services
1794- * @return services
1795- */
1796- Set <ControllerServiceEntity > getControllerServices (String groupId , boolean includeAncestorGroups , boolean includeDescendantGroups , NiFiUser user );
1797-
17981709 /**
17991710 * Gets the specified controller service.
18001711 *
@@ -1803,15 +1714,6 @@ ProcessGroupEntity updateProcessGroupContents(NiFiUser user, Revision revision,
18031714 */
18041715 ControllerServiceEntity getControllerService (String controllerServiceId );
18051716
1806- /**
1807- * Gets the specified controller service as it is visible to the given user
1808- *
1809- * @param controllerServiceId id
1810- * @param user the user making the request
1811- * @return service
1812- */
1813- ControllerServiceEntity getControllerService (String controllerServiceId , NiFiUser user );
1814-
18151717 /**
18161718 * Get the descriptor for the specified property of the specified controller service.
18171719 *
0 commit comments