public final class SnippetUtils
extends java.lang.Object
Constructor and Description |
---|
SnippetUtils() |
Modifier and Type | Method and Description |
---|---|
FlowSnippetDTO |
copy(FlowSnippetDTO snippetContents,
ProcessGroup group,
java.lang.String idGenerationSeed,
boolean isCopy) |
FlowSnippetDTO |
populateFlowSnippet(Snippet snippet,
boolean recurse,
boolean includeControllerServices,
boolean removeInstanceId)
Populates the specified snippet and returns the details.
|
void |
rollbackClonedPolicies(FlowSnippetDTO snippet)
Attempts to roll back and in the specified snippet.
|
void |
setAccessPolicyDAO(AccessPolicyDAO accessPolicyDAO) |
void |
setDtoFactory(DtoFactory dtoFactory) |
void |
setFlowController(FlowController flowController) |
public FlowSnippetDTO populateFlowSnippet(Snippet snippet, boolean recurse, boolean includeControllerServices, boolean removeInstanceId)
snippet
- snippetrecurse
- recurseincludeControllerServices
- whether or not to include controller services in the flow snippet dtopublic FlowSnippetDTO copy(FlowSnippetDTO snippetContents, ProcessGroup group, java.lang.String idGenerationSeed, boolean isCopy)
public void rollbackClonedPolicies(FlowSnippetDTO snippet)
snippet
- snippetpublic void setDtoFactory(DtoFactory dtoFactory)
public void setFlowController(FlowController flowController)
public void setAccessPolicyDAO(AccessPolicyDAO accessPolicyDAO)