当前位置: 首页>>代码示例>>Java>>正文


Java Factory类代码示例

本文整理汇总了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();
 
开发者ID:cuba-platform,项目名称:sample-timesheets,代码行数:5,代码来源:TimeSheetsSettings.java

示例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();
 
开发者ID:cuba-platform,项目名称:sample-timesheets,代码行数:5,代码来源:TimeSheetsSettings.java

示例3: getLdapUrls

import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("cuba.web.ldap.urls")
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
List<String> getLdapUrls();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:4,代码来源:WebLdapConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:8,代码来源:WebConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:8,代码来源:WebConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:9,代码来源:WebConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:9,代码来源:GlobalConfig.java

示例8: getAnonymousSessionId

import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Property("cuba.anonymousSessionId")
@Factory(factory = UuidTypeFactory.class)
UUID getAnonymousSessionId();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:4,代码来源:GlobalConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:7,代码来源:ClientConfig.java

示例10: getUniqueConstraintViolationPattern

import com.haulmont.cuba.core.config.type.Factory; //导入依赖的package包/类
@Factory(factory = UniqueConstraintViolationPatternFactory.class)
@Source(type = SourceType.DATABASE)
@Property("cuba.uniqueConstraintViolationPattern")
Pattern getUniqueConstraintViolationPattern();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:5,代码来源:ClientConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:5,代码来源:DesktopConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:7,代码来源:RestLdapConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:8,代码来源:WebAuthConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:11,代码来源:WebConfig.java

示例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();
 
开发者ID:cuba-platform,项目名称:cuba,代码行数:10,代码来源:WebConfig.java


注:本文中的com.haulmont.cuba.core.config.type.Factory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。