/
AssetAutoTaggerCompanyConfiguration.java
49 lines (41 loc) · 1.34 KB
/
AssetAutoTaggerCompanyConfiguration.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.asset.auto.tagger.internal.configuration;
import aQute.bnd.annotation.metatype.Meta;
import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
/**
* @author Alejandro Tardín
*/
@ExtendedObjectClassDefinition(
category = "assets", scope = ExtendedObjectClassDefinition.Scope.COMPANY
)
@Meta.OCD(
id = "com.liferay.asset.auto.tagger.internal.configuration.AssetAutoTaggerCompanyConfiguration",
localization = "content/Language",
name = "asset-auto-tagger-company-configuration-name"
)
public interface AssetAutoTaggerCompanyConfiguration {
/**
* Enables asset auto tagging.
*/
@Meta.AD(
deflt = "true", name = "enabled[asset-auto-tagger-service]",
required = false
)
public boolean enabled();
@Meta.AD(
deflt = "false", description = "update-auto-tags-description",
name = "update-auto-tags", required = false
)
public boolean updateAutoTags();
/**
* Specifies the maximum number of tags that can be added for a given asset.
*/
@Meta.AD(
description = "company-maximum-number-of-tags-per-asset-description",
name = "maximum-number-of-tags", required = false
)
public int maximumNumberOfTagsPerAsset();
}