Interface ConfigActionFactoryEx
-
- All Superinterfaces:
ConfigActionFactory
- All Known Implementing Classes:
ConfigActionFactoryImpl
public interface ConfigActionFactoryEx extends ConfigActionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigActionEx
createAction()
Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).ConfigActionEx
createAction(long actionId, Long userId, String projectExtId, String description)
ConfigActionEx
createAction(String description)
Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).ConfigActionEx
createAction(SProject project, String description)
Creates a config action with the given description in the specified project and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).ConfigActionEx
createAction(SUser user, SProject project, String description)
Creates a config action with the given description in the specified project and the given user.
-
-
-
Method Detail
-
createAction
@NotNull ConfigActionEx createAction()
Description copied from interface:ConfigActionFactory
Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).- Specified by:
createAction
in interfaceConfigActionFactory
- Returns:
- see above
-
createAction
@NotNull ConfigActionEx createAction(@NotNull String description)
Description copied from interface:ConfigActionFactory
Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).- Specified by:
createAction
in interfaceConfigActionFactory
- Parameters:
description
- config action description- Returns:
- see above
-
createAction
@NotNull ConfigActionEx createAction(@NotNull SProject project, @NotNull String description)
Description copied from interface:ConfigActionFactory
Creates a config action with the given description in the specified project and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).- Specified by:
createAction
in interfaceConfigActionFactory
- Parameters:
project
- project of interestdescription
- config action description- Returns:
- see above
-
createAction
@NotNull ConfigActionEx createAction(@Nullable SUser user, @Nullable SProject project, @NotNull String description)
Description copied from interface:ConfigActionFactory
Creates a config action with the given description in the specified project and the given user.- Specified by:
createAction
in interfaceConfigActionFactory
- Parameters:
user
- user for config actionproject
- project of interestdescription
- config action description- Returns:
- see above
-
createAction
@NotNull ConfigActionEx createAction(long actionId, @Nullable Long userId, @Nullable String projectExtId, @NotNull String description)
-
-