Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
id("io.freefair.lombok") version "9.5.0"
id("io.freefair.javadoc-links") version "9.5.0"
id("io.freefair.javadoc-utf-8") version "9.5.0"
// id("io.freefair.maven-central.validate-poms") version "9.5.0" // не работает на Gradle 9.5: ValidateMavenPom тянет удалённый из classpath plexus XmlPullParserException
id("com.github.ben-manes.versions") version "0.54.0"
id("ru.vyarus.pom") version "3.0.0"
id("org.jreleaser") version "1.25.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public class Configuration implements CF {
@Default
ScriptVariant scriptVariant = ScriptVariant.ENGLISH;
@Default
InterfaceCompatibilityMode interfaceCompatibilityMode = InterfaceCompatibilityMode.VERSION_8_2;
InterfaceCompatibilityMode interfaceCompatibilityMode = InterfaceCompatibilityMode.TAXI;
@Default
CompatibilityMode compatibilityMode = new CompatibilityMode();
@Default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public class ConfigurationExtension implements CF {
@Default
ScriptVariant scriptVariant = ScriptVariant.ENGLISH;
@Default
InterfaceCompatibilityMode interfaceCompatibilityMode = InterfaceCompatibilityMode.VERSION_8_2;
InterfaceCompatibilityMode interfaceCompatibilityMode = InterfaceCompatibilityMode.TAXI;
@Default
CompatibilityMode compatibilityMode = new CompatibilityMode();
@Default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.github._1c_syntax.bsl.mdo.support.IndexingType;
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;
Expand Down Expand Up @@ -90,4 +91,9 @@ public boolean isPasswordMode() {
public ValueTypeDescription getValueType() {
return ValueTypeDescription.EMPTY;
}

@Override
public MDOType getMdoType() {
return MDOType.COLUMN;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.mdo.utils.LazyLoader;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -175,6 +176,11 @@ public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.EXTERNAL_DATA_SOURCE_CUBE;
}

private static List<RoleRight> computePossibleRights() {
return List.of(
RoleRight.READ,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.mdo.utils.LazyLoader;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -170,6 +171,11 @@ public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.EXTERNAL_DATA_SOURCE_CUBE_DIMENSION_TABLE;
}

private static List<RoleRight> computePossibleRights() {
return List.of(
RoleRight.INSERT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;
Expand Down Expand Up @@ -97,6 +98,11 @@ public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.EXTERNAL_DATA_SOURCE_FUNCTION;
}

private static List<RoleRight> computePossibleRights() {
return List.of(
RoleRight.VIEW,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.mdo.utils.LazyLoader;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -176,6 +177,11 @@ public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.EXTERNAL_DATA_SOURCE_TABLE;
}

private static List<RoleRight> computePossibleRights() {
return List.of(
RoleRight.INSERT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;
Expand Down Expand Up @@ -89,4 +90,9 @@ public static List<RoleRight> possibleRights() {
public ValueTypeDescription getValueType() {
return type;
}

@Override
public MDOType getMdoType() {
return MDOType.EXTERNAL_DATA_SOURCE_TABLE_FIELD;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -83,4 +84,9 @@ public class HTTPServiceMethod implements MDChild, AccessRightsOwner {
public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.HTTP_SERVICE_METHOD;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.github._1c_syntax.bsl.mdo.MDChild;
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -85,4 +86,9 @@ public class HTTPServiceURLTemplate implements MDChild, ChildrenOwner {
public List<MD> getChildren() {
return Collections.unmodifiableList(methods);
}

@Override
public MDOType getMdoType() {
return MDOType.HTTP_SERVICE_URL_TEMPLATE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;
Expand Down Expand Up @@ -131,4 +132,9 @@ public static List<RoleRight> possibleRights() {
public ValueTypeDescription getValueType() {
return type;
}

@Override
public MDOType getMdoType() {
return MDOType.ATTRIBUTE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -80,4 +81,9 @@ public class ObjectCommand implements Command, MDChild {
public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.COMMAND;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.UsePurposes;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -91,4 +92,9 @@ public class ObjectForm implements Form, MDChild {
*/
@Singular("addUsePurposes")
List<UsePurposes> usePurposes;

@Override
public MDOType getMdoType() {
return MDOType.FORM;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -76,4 +77,9 @@ public class ObjectTabularSection implements TabularSection, AccessRightsOwner {
public static List<RoleRight> possibleRights() {
return POSSIBLE_RIGHTS;
}

@Override
public MDOType getMdoType() {
return MDOType.TABULAR_SECTION;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
package com.github._1c_syntax.bsl.mdo.children;

import com.github._1c_syntax.bsl.mdo.MDChild;
import com.github._1c_syntax.bsl.mdo.Module;
import com.github._1c_syntax.bsl.mdo.Template;
import com.github._1c_syntax.bsl.mdo.storage.EmptyTemplateData;
import com.github._1c_syntax.bsl.mdo.storage.TemplateData;
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.TemplateType;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand All @@ -37,9 +37,6 @@
import lombok.ToString;
import lombok.Value;

import java.util.Collections;
import java.util.List;

@Value
@Builder
@ToString(of = {"name", "uuid"})
Expand All @@ -64,8 +61,6 @@ public class ObjectTemplate implements Template, MDChild {
MultiLanguageString synonym = MultiLanguageString.EMPTY;
@Default
SupportVariant supportVariant = SupportVariant.NONE;
@Default
List<Module> modules = Collections.emptyList();

@Default
TemplateType templateType = TemplateType.SPREADSHEET_DOCUMENT;
Expand All @@ -79,4 +74,9 @@ public class ObjectTemplate implements Template, MDChild {

@Default
MdoReference owner = MdoReference.EMPTY;

@Override
public MDOType getMdoType() {
return MDOType.TEMPLATE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.utils.LazyLoader;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -113,4 +114,9 @@ public class PredefinedValue implements MDChild, ChildrenOwner {
public List<MD> getChildren() {
return Collections.unmodifiableList(childItems);
}

@Override
public MDOType getMdoType() {
return MDOType.PREDEFINED_VALUE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

import com.github._1c_syntax.bsl.mdo.AccessRightsOwner;
import com.github._1c_syntax.bsl.mdo.Attribute;
import com.github._1c_syntax.bsl.mdo.children.ObjectAttribute;
import com.github._1c_syntax.bsl.mdo.support.AttributeKind;
import com.github._1c_syntax.bsl.mdo.support.IndexingType;
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
Expand All @@ -32,8 +31,6 @@
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;

import java.util.List;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Builder.Default;
Expand All @@ -42,6 +39,8 @@
import lombok.ToString;
import lombok.Value;

import java.util.List;

@Value
@Builder(toBuilder = true)
@ToString(of = {"name", "uuid"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.MultiName;
Expand Down Expand Up @@ -180,4 +181,9 @@ public String getDescription(String code) {

return description;
}

@Override
public MDOType getMdoType() {
return MDOType.ATTRIBUTE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import com.github._1c_syntax.bsl.types.ValueTypeDescription;
Expand Down Expand Up @@ -141,4 +142,9 @@ public static List<RoleRight> possibleRights() {
public ValueTypeDescription getValueType() {
return type;
}

@Override
public MDOType getMdoType() {
return MDOType.TASK_ADDRESSING_ATTRIBUTE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.github._1c_syntax.bsl.mdo.support.ObjectBelonging;
import com.github._1c_syntax.bsl.mdo.support.RoleRight;
import com.github._1c_syntax.bsl.support.SupportVariant;
import com.github._1c_syntax.bsl.types.MDOType;
import com.github._1c_syntax.bsl.types.MdoReference;
import com.github._1c_syntax.bsl.types.MultiLanguageString;
import lombok.Builder;
Expand Down Expand Up @@ -111,6 +112,11 @@ public List<MD> getChildren() {
return Collections.unmodifiableList(parameters);
}

@Override
public MDOType getMdoType() {
return MDOType.WS_OPERATION;
}

/**
* Возвращает перечень возможных прав доступа
*/
Expand Down
Loading
Loading