public static class Changeset.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Changeset.Builder |
addModel(java.util.function.Supplier<com.liferay.portal.kernel.model.ClassedModel> supplier,
java.util.function.Function<com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.StagedModel> adapterFunction) |
Changeset.Builder |
addMultipleStagedModel(java.util.function.Supplier<java.util.Collection<? extends com.liferay.portal.kernel.model.StagedModel>> supplier) |
Changeset.Builder |
addStagedModel(java.util.function.Supplier<com.liferay.portal.kernel.model.StagedModel> supplier) |
<T extends com.liferay.portal.kernel.model.StagedModel> |
addStagedModelHierarchy(java.util.function.Supplier<T> supplier,
java.util.function.Function<T,java.util.Collection<?>> hierarchyFunction) |
Changeset |
build() |
public Builder(Changeset changeset)
public Changeset.Builder addModel(java.util.function.Supplier<com.liferay.portal.kernel.model.ClassedModel> supplier, java.util.function.Function<com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.StagedModel> adapterFunction)
public Changeset.Builder addMultipleStagedModel(java.util.function.Supplier<java.util.Collection<? extends com.liferay.portal.kernel.model.StagedModel>> supplier)
public Changeset.Builder addStagedModel(java.util.function.Supplier<com.liferay.portal.kernel.model.StagedModel> supplier)
public <T extends com.liferay.portal.kernel.model.StagedModel> Changeset.Builder addStagedModelHierarchy(java.util.function.Supplier<T> supplier, java.util.function.Function<T,java.util.Collection<?>> hierarchyFunction)
public Changeset build()