本文整理汇总了Java中com.haulmont.cuba.core.config.type.Factory类的典型用法代码示例。如果您正苦于以下问题:Java Factory类的具体用法?Java Factory怎么用?Java Factory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Factory类属于com.haulmont.cuba.core.config.type包,在下文中一共展示了Factory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCloserId
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("timesheets.closerId")
@Default("90e4249a-b3b9-d9e2-50ef-6f3aba50665e")
@Factory(factory = UuidTypeFactory.class)
UUID getCloserId();
示例2: getDefaultGroupId
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("timesheets.defaultGroupId")
@Default("0fa2b1a5-1d68-4d69-9fbd-dff348347f93")
@Factory(factory = UuidTypeFactory.class)
UUID getDefaultGroupId();
示例3: getLdapUrls
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("cuba.web.ldap.urls")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
List<String> getLdapUrls();
示例4: getCubaHttpFilterBypassUrls
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return Comma-separated list of URLs for CubaHttpFilter to bypass.
*/
@Property("cuba.web.cubaHttpFilterBypassUrls")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
@Default("/ws/,/dispatch/,/rest/,/idp/,/front/")
List<String> getCubaHttpFilterBypassUrls();
示例5: getViewFileExtensions
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return List of file extensions which should be shown in the browser instead of downloading as attachments.
*/
@Property("cuba.web.viewFileExtensions")
@Factory(factory = StringListTypeFactory.class)
@Default("htm|html|jpg|png|jpeg|pdf")
List<String> getViewFileExtensions();
示例6: getLinkHandlerActions
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return list of URL actions to call {@link com.haulmont.cuba.web.sys.LinkHandler}
* <br> An action is represented by the last part of URL.
*/
@Property("cuba.web.linkHandlerActions")
@Factory(factory = StringListTypeFactory.class)
@Default("open|o")
List<String> getLinkHandlerActions();
示例7: getAvailableLocales
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* Supported locales. List of locales is shown on user login.
* @return map of labels to locales
*/
@Property("cuba.availableLocales")
@Factory(factory = AvailableLocalesFactory.class)
@Default("English|en;Russian|ru")
Map<String, Locale> getAvailableLocales();
示例8: getAnonymousSessionId
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("cuba.anonymousSessionId")
@Factory(factory = UuidTypeFactory.class)
UUID getAnonymousSessionId();
示例9: getConnectionUrlList
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return middleware connection URL list
*/
@Property("cuba.connectionUrlList")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
List<String> getConnectionUrlList();
示例10: getUniqueConstraintViolationPattern
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Factory(factory = UniqueConstraintViolationPatternFactory.class)
@Source(type = SourceType.DATABASE)
@Property("cuba.uniqueConstraintViolationPattern")
Pattern getUniqueConstraintViolationPattern();
示例11: getAvailableFontSizes
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("cuba.desktop.availableFontSizes")
@Factory(factory = IntegerListTypeFactory.class)
@Default("6 8 10 12 14 16 18 20 22 24 28 32 36 48 54 60 72")
List<Integer> getAvailableFontSizes();
示例12: getLdapUrls
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return the urls of the LDAP servers
*/
@Property("cuba.rest.ldap.urls")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
List<String> getLdapUrls();
示例13: getStandardAuthenticationUsers
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* @return list of users that are not allowed to use external authentication. They can use only standard authentication.
* Empty list means that everyone is allowed to login using external authentication.
*/
@Property("cuba.web.standardAuthenticationUsers")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
List<String> getStandardAuthenticationUsers();
示例14: getMainTabSheetMode
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* Sets whether default {@link com.haulmont.cuba.web.toolkit.ui.CubaTabSheet} or
* {@link com.haulmont.cuba.web.toolkit.ui.CubaManagedTabSheet} will be used in AppWorkArea.
*
* @return one of {@link MainTabSheetMode} values
*/
@Property("cuba.web.mainTabSheetMode")
@Default("DEFAULT")
@Factory(factory = MainTabSheetModeFactory.class)
MainTabSheetMode getMainTabSheetMode();
示例15: getManagedMainTabSheetMode
import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
/**
* Sets how the managed main TabSheet switches its tabs: hides or unloads them.
*
* @return one of {@link ManagedMainTabSheetMode} values
*/
@Property("cuba.web.managedMainTabSheetMode")
@Default("HIDE_TABS")
@Factory(factory = ManagedMainTabSheetModeFactory.class)
ManagedMainTabSheetMode getManagedMainTabSheetMode();