remove allowNullTenant

This commit is contained in:
Efstratios Giannopoulos 2024-04-09 18:19:10 +03:00
parent a84332001e
commit 6ecd52dd2f
25 changed files with 0 additions and 147 deletions

View File

@ -6,6 +6,4 @@ import java.util.UUID;
public interface TenantScoped { public interface TenantScoped {
void setTenantId(UUID tenantId); void setTenantId(UUID tenantId);
UUID getTenantId(); UUID getTenantId();
@Transient
boolean allowNullTenant();
} }

View File

@ -140,10 +140,4 @@ public class ActionConfirmationEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -188,11 +188,5 @@ public class DescriptionEntity extends TenantScopedBaseEntity {
public void setDescriptionTemplateId(UUID descriptionTemplateId) { public void setDescriptionTemplateId(UUID descriptionTemplateId) {
this.descriptionTemplateId = descriptionTemplateId; this.descriptionTemplateId = descriptionTemplateId;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -104,10 +104,4 @@ public class DescriptionReferenceEntity extends TenantScopedBaseEntity {
public void setData(String data) { public void setData(String data) {
this.data = data; this.data = data;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -92,10 +92,4 @@ public class DescriptionTagEntity extends TenantScopedBaseEntity {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -162,10 +162,4 @@ public class DescriptionTemplateEntity extends TenantScopedBaseEntity {
public void setVersionStatus(DescriptionTemplateVersionStatus versionStatus) { public void setVersionStatus(DescriptionTemplateVersionStatus versionStatus) {
this.versionStatus = versionStatus; this.versionStatus = versionStatus;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -95,10 +95,4 @@ public class DescriptionTemplateTypeEntity extends TenantScopedBaseEntity {
public void setStatus(DescriptionTemplateTypeStatus status) { public void setStatus(DescriptionTemplateTypeStatus status) {
this.status = status; this.status = status;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -154,10 +154,4 @@ public class DmpBlueprintEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -104,10 +104,4 @@ public class DmpDescriptionTemplateEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -244,10 +244,4 @@ public class DmpEntity extends TenantScopedBaseEntity {
public void setVersionStatus(DmpVersionStatus versionStatus) { public void setVersionStatus(DmpVersionStatus versionStatus) {
this.versionStatus = versionStatus; this.versionStatus = versionStatus;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -97,10 +97,4 @@ public class DmpReferenceEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -119,10 +119,4 @@ public class DmpUserEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -120,11 +120,4 @@ public class EntityDoiEntity extends TenantScopedBaseEntity {
public void setEntityId(UUID entityId) { public void setEntityId(UUID entityId) {
this.entityId = entityId; this.entityId = entityId;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -98,10 +98,4 @@ public class LanguageEntity extends TenantScopedBaseEntity {
public void setOrdinal(Integer ordinal) { public void setOrdinal(Integer ordinal) {
this.ordinal = ordinal; this.ordinal = ordinal;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -87,10 +87,4 @@ public class LockEntity extends TenantScopedBaseEntity {
public void setTouchedAt(Instant touchedAt) { public void setTouchedAt(Instant touchedAt) {
this.touchedAt = touchedAt; this.touchedAt = touchedAt;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -89,10 +89,4 @@ public class PrefillingSourceEntity extends TenantScopedBaseEntity {
public void setUpdatedAt(Instant updatedAt) { public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt; this.updatedAt = updatedAt;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -204,10 +204,4 @@ public class ReferenceEntity extends TenantScopedBaseEntity {
this.createdById = createdById; this.createdById = createdById;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -108,10 +108,4 @@ public class ReferenceTypeEntity extends TenantScopedBaseEntity {
public void setUpdatedAt(Instant updatedAt) { public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt; this.updatedAt = updatedAt;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -139,10 +139,4 @@ public class StorageFileEntity extends TenantScopedBaseEntity {
public void setOwnerId(UUID ownerId) { public void setOwnerId(UUID ownerId) {
this.ownerId = ownerId; this.ownerId = ownerId;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -101,10 +101,4 @@ public class SupportiveMaterialEntity extends TenantScopedBaseEntity {
public void setIsActive(IsActive isActive) { public void setIsActive(IsActive isActive) {
this.isActive = isActive; this.isActive = isActive;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -86,10 +86,4 @@ public class TagEntity extends TenantScopedBaseEntity {
public void setCreatedById(UUID createdById) { public void setCreatedById(UUID createdById) {
this.createdById = createdById; this.createdById = createdById;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -83,10 +83,4 @@ public class TenantUserEntity extends TenantScopedBaseEntity {
public void setUpdatedAt(Instant updatedAt) { public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt; this.updatedAt = updatedAt;
} }
@Override
@Transient
public boolean allowNullTenant() {
return false;
}
} }

View File

@ -100,10 +100,4 @@ public class UserDescriptionTemplateEntity extends TenantScopedBaseEntity {
public void setRole(UserDescriptionTemplateRole role) { public void setRole(UserDescriptionTemplateRole role) {
this.role = role; this.role = role;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -61,10 +61,4 @@ public class UserRoleEntity extends TenantScopedBaseEntity {
this.createdAt = createdAt; this.createdAt = createdAt;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }

View File

@ -109,10 +109,4 @@ public class UserSettingsEntity extends TenantScopedBaseEntity {
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@Override
@Transient
public boolean allowNullTenant() {
return true;
}
} }