remove allowNullTenant
This commit is contained in:
parent
a84332001e
commit
6ecd52dd2f
|
@ -6,6 +6,4 @@ import java.util.UUID;
|
|||
public interface TenantScoped {
|
||||
void setTenantId(UUID tenantId);
|
||||
UUID getTenantId();
|
||||
@Transient
|
||||
boolean allowNullTenant();
|
||||
}
|
||||
|
|
|
@ -140,10 +140,4 @@ public class ActionConfirmationEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -188,11 +188,5 @@ public class DescriptionEntity extends TenantScopedBaseEntity {
|
|||
public void setDescriptionTemplateId(UUID descriptionTemplateId) {
|
||||
this.descriptionTemplateId = descriptionTemplateId;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -104,10 +104,4 @@ public class DescriptionReferenceEntity extends TenantScopedBaseEntity {
|
|||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,10 +92,4 @@ public class DescriptionTagEntity extends TenantScopedBaseEntity {
|
|||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -162,10 +162,4 @@ public class DescriptionTemplateEntity extends TenantScopedBaseEntity {
|
|||
public void setVersionStatus(DescriptionTemplateVersionStatus versionStatus) {
|
||||
this.versionStatus = versionStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,10 +95,4 @@ public class DescriptionTemplateTypeEntity extends TenantScopedBaseEntity {
|
|||
public void setStatus(DescriptionTemplateTypeStatus status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,10 +154,4 @@ public class DmpBlueprintEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -104,10 +104,4 @@ public class DmpDescriptionTemplateEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -244,10 +244,4 @@ public class DmpEntity extends TenantScopedBaseEntity {
|
|||
public void setVersionStatus(DmpVersionStatus versionStatus) {
|
||||
this.versionStatus = versionStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,10 +97,4 @@ public class DmpReferenceEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,10 +119,4 @@ public class DmpUserEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,11 +120,4 @@ public class EntityDoiEntity extends TenantScopedBaseEntity {
|
|||
public void setEntityId(UUID entityId) {
|
||||
this.entityId = entityId;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -98,10 +98,4 @@ public class LanguageEntity extends TenantScopedBaseEntity {
|
|||
public void setOrdinal(Integer ordinal) {
|
||||
this.ordinal = ordinal;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,10 +87,4 @@ public class LockEntity extends TenantScopedBaseEntity {
|
|||
public void setTouchedAt(Instant touchedAt) {
|
||||
this.touchedAt = touchedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,10 +89,4 @@ public class PrefillingSourceEntity extends TenantScopedBaseEntity {
|
|||
public void setUpdatedAt(Instant updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -204,10 +204,4 @@ public class ReferenceEntity extends TenantScopedBaseEntity {
|
|||
this.createdById = createdById;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -108,10 +108,4 @@ public class ReferenceTypeEntity extends TenantScopedBaseEntity {
|
|||
public void setUpdatedAt(Instant updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -139,10 +139,4 @@ public class StorageFileEntity extends TenantScopedBaseEntity {
|
|||
public void setOwnerId(UUID ownerId) {
|
||||
this.ownerId = ownerId;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,10 +101,4 @@ public class SupportiveMaterialEntity extends TenantScopedBaseEntity {
|
|||
public void setIsActive(IsActive isActive) {
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,10 +86,4 @@ public class TagEntity extends TenantScopedBaseEntity {
|
|||
public void setCreatedById(UUID createdById) {
|
||||
this.createdById = createdById;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,10 +83,4 @@ public class TenantUserEntity extends TenantScopedBaseEntity {
|
|||
public void setUpdatedAt(Instant updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,10 +100,4 @@ public class UserDescriptionTemplateEntity extends TenantScopedBaseEntity {
|
|||
public void setRole(UserDescriptionTemplateRole role) {
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,10 +61,4 @@ public class UserRoleEntity extends TenantScopedBaseEntity {
|
|||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -109,10 +109,4 @@ public class UserSettingsEntity extends TenantScopedBaseEntity {
|
|||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transient
|
||||
public boolean allowNullTenant() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue