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


Java ParameterDefinitionImpl类代码示例

本文整理汇总了Java中org.alfresco.repo.action.ParameterDefinitionImpl的典型用法代码示例。如果您正苦于以下问题:Java ParameterDefinitionImpl类的具体用法?Java ParameterDefinitionImpl怎么用?Java ParameterDefinitionImpl使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ParameterDefinitionImpl类属于org.alfresco.repo.action包,在下文中一共展示了ParameterDefinitionImpl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
protected Collection<ParameterDefinition> getParameterDefinitions()
{
    Collection<ParameterDefinition> paramList = super.getParameterDefinitions();
    
    paramList.add(new ParameterDefinitionImpl(PARAM_TIMEOUT_MS, DataTypeDefinition.LONG, false,
            getParamDisplayLabel(PARAM_TIMEOUT_MS)));
    paramList.add(new ParameterDefinitionImpl(PARAM_READ_LIMIT_TIME_MS, DataTypeDefinition.LONG, false,
            getParamDisplayLabel(PARAM_READ_LIMIT_TIME_MS)));
    paramList.add(new ParameterDefinitionImpl(PARAM_MAX_SOURCE_SIZE_K_BYTES, DataTypeDefinition.LONG, false,
            getParamDisplayLabel(PARAM_MAX_SOURCE_SIZE_K_BYTES)));
    paramList.add(new ParameterDefinitionImpl(PARAM_READ_LIMIT_K_BYTES, DataTypeDefinition.LONG, false,
            getParamDisplayLabel(PARAM_READ_LIMIT_K_BYTES)));
    paramList.add(new ParameterDefinitionImpl(PARAM_MAX_PAGES, DataTypeDefinition.INT, false,
            getParamDisplayLabel(PARAM_MAX_PAGES)));
    paramList.add(new ParameterDefinitionImpl(PARAM_PAGE_LIMIT, DataTypeDefinition.INT, false,
            getParamDisplayLabel(PARAM_PAGE_LIMIT)));
    paramList.add(new ParameterDefinitionImpl(PARAM_USE, DataTypeDefinition.TEXT, false,
            getParamDisplayLabel(PARAM_USE)));
    
    return paramList;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:22,代码来源:AbstractTransformationRenderingEngine.java

示例2: getParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
@Override
protected Collection<ParameterDefinition> getParameterDefinitions()
{
    Collection<ParameterDefinition> paramList = super.getParameterDefinitions();
    ParameterDefinitionImpl modelParamDef = new ParameterDefinitionImpl(PARAM_MODEL, DataTypeDefinition.ANY, false,
            getParamDisplayLabel(PARAM_MODEL));
    ParameterDefinitionImpl templateParamDef = new ParameterDefinitionImpl(//
            PARAM_TEMPLATE, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_TEMPLATE));
    ParameterDefinitionImpl templateNodeParamDef = new ParameterDefinitionImpl(PARAM_TEMPLATE_NODE,
            DataTypeDefinition.NODE_REF, false, getParamDisplayLabel(PARAM_TEMPLATE_NODE));
    ParameterDefinitionImpl templatePathParamDef = new ParameterDefinitionImpl(PARAM_TEMPLATE_PATH,
            DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_TEMPLATE_PATH));
    paramList.add(new ParameterDefinitionImpl(PARAM_MIME_TYPE, DataTypeDefinition.TEXT, false,
            getParamDisplayLabel(PARAM_MIME_TYPE)));
    paramList.add(modelParamDef);
    paramList.add(templateParamDef);
    paramList.add(templateNodeParamDef);
    paramList.add(templatePathParamDef);
    return paramList;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:21,代码来源:BaseTemplateRenderingEngine.java

示例3: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{
   // Add definitions for action parameters
   paramList.add(
         new ParameterDefinitionImpl(PARAM_BLOG_ACTION,
         DataTypeDefinition.TEXT, 
         true,
         getParamDisplayLabel(PARAM_BLOG_ACTION)));

   paramList.add(
         new ParameterDefinitionImpl(PARAM_RESULT,
         DataTypeDefinition.TEXT, 
         false,
         getParamDisplayLabel(PARAM_RESULT)));

}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:21,代码来源:BlogAction.java

示例4: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
protected void addParameterDefinitions(List<ParameterDefinition> paramList) 
{
    paramList.add(new ParameterDefinitionImpl(PARAM_PACKAGE_NAME, DataTypeDefinition.TEXT, true, 
          getParamDisplayLabel(PARAM_PACKAGE_NAME)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ENCODING, DataTypeDefinition.TEXT, true, 
          getParamDisplayLabel(PARAM_ENCODING)));
    paramList.add(new ParameterDefinitionImpl(PARAM_STORE, DataTypeDefinition.TEXT, true, 
          getParamDisplayLabel(PARAM_STORE)));
    paramList.add(new ParameterDefinitionImpl(PARAM_DESTINATION_FOLDER, DataTypeDefinition.NODE_REF, true, 
          getParamDisplayLabel(PARAM_DESTINATION_FOLDER)));
    paramList.add(new ParameterDefinitionImpl(PARAM_INCLUDE_CHILDREN, DataTypeDefinition.BOOLEAN, false, 
          getParamDisplayLabel(PARAM_INCLUDE_CHILDREN)));
    paramList.add(new ParameterDefinitionImpl(PARAM_INCLUDE_SELF, DataTypeDefinition.BOOLEAN, false, 
          getParamDisplayLabel(PARAM_INCLUDE_SELF)));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:19,代码来源:ExporterActionExecuter.java

示例5: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList) {
	
    paramList.add(
            new ParameterDefinitionImpl(
            		PARAM_CONTINUE_ON_ERROR,
                    DataTypeDefinition.BOOLEAN,
                    false,
                       getParamDisplayLabel(PARAM_CONTINUE_ON_ERROR)));
       paramList.add(
               new ParameterDefinitionImpl(
                       PARAM_ASYNCHRONOUS,
                       DataTypeDefinition.BOOLEAN,
                       false,
                       getParamDisplayLabel(PARAM_ASYNCHRONOUS)));
}
 
开发者ID:keensoft,项目名称:alfresco-simple-ocr,代码行数:17,代码来源:OCRExtractAction.java

示例6: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * Add parameter definitions
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{

    paramList.add(new ParameterDefinitionImpl(PARAM_DESTINATION_FOLDER, DataTypeDefinition.NODE_REF, true, getParamDisplayLabel(PARAM_DESTINATION_FOLDER)));
    paramList.add(new ParameterDefinitionImpl(PARAM_USER_PASSWORD, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_USER_PASSWORD)));
    paramList.add(new ParameterDefinitionImpl(PARAM_OWNER_PASSWORD, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_OWNER_PASSWORD)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_PRINT, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_PRINT)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_COPY, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_COPY)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_CONTENT_MODIFICATION, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_CONTENT_MODIFICATION)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_ANNOTATION_MODIFICATION, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_ANNOTATION_MODIFICATION)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_FORM_FILL, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_FORM_FILL)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_SCREEN_READER, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_SCREEN_READER)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_DEGRADED_PRINT, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_DEGRADED_PRINT)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALLOW_ASSEMBLY, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_ALLOW_ASSEMBLY)));
    paramList.add(new ParameterDefinitionImpl(PARAM_ENCRYPTION_LEVEL, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_ENCRYPTION_LEVEL), false, "pdfc-encryptionlevel"));
    paramList.add(new ParameterDefinitionImpl(PARAM_EXCLUDE_METADATA, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_EXCLUDE_METADATA)));
}
 
开发者ID:teqnology,项目名称:alfresco-pdf-toolkit,代码行数:22,代码来源:PDFEncryptionActionExecuter.java

示例7: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * Add parameter definitions
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{

    paramList.add(new ParameterDefinitionImpl(PARAM_DESTINATION_FOLDER, DataTypeDefinition.NODE_REF, true, getParamDisplayLabel(PARAM_DESTINATION_FOLDER)));
    paramList.add(new ParameterDefinitionImpl(PARAM_PRIVATE_KEY, DataTypeDefinition.NODE_REF, true, getParamDisplayLabel(PARAM_PRIVATE_KEY)));
    paramList.add(new ParameterDefinitionImpl(PARAM_VISIBILITY, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_VISIBILITY), false, "pdfc-visibility"));
    paramList.add(new ParameterDefinitionImpl(PARAM_LOCATION, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_LOCATION)));
    paramList.add(new ParameterDefinitionImpl(PARAM_REASON, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_REASON)));
    paramList.add(new ParameterDefinitionImpl(PARAM_KEY_PASSWORD, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_KEY_PASSWORD)));
    paramList.add(new ParameterDefinitionImpl(PARAM_WIDTH, DataTypeDefinition.INT, false, getParamDisplayLabel(PARAM_WIDTH)));
    paramList.add(new ParameterDefinitionImpl(PARAM_HEIGHT, DataTypeDefinition.INT, false, getParamDisplayLabel(PARAM_HEIGHT)));
    paramList.add(new ParameterDefinitionImpl(PARAM_KEY_TYPE, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_KEY_TYPE), false, "pdfc-keytype"));
    paramList.add(new ParameterDefinitionImpl(PARAM_ALIAS, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_ALIAS)));
    paramList.add(new ParameterDefinitionImpl(PARAM_STORE_PASSWORD, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_STORE_PASSWORD)));

    super.addParameterDefinitions(paramList);

}
 
开发者ID:teqnology,项目名称:alfresco-pdf-toolkit,代码行数:23,代码来源:PDFSignatureActionExecuter.java

示例8: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
    * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
protected void addParameterDefinitions(List<ParameterDefinition> paramList) 
{
       paramList.add(new ParameterDefinitionImpl(PARAM_PACKAGE_NAME, DataTypeDefinition.TEXT, true, 
             getParamDisplayLabel(PARAM_PACKAGE_NAME)));
       paramList.add(new ParameterDefinitionImpl(PARAM_ENCODING, DataTypeDefinition.TEXT, true, 
             getParamDisplayLabel(PARAM_ENCODING)));
	paramList.add(new ParameterDefinitionImpl(PARAM_STORE, DataTypeDefinition.TEXT, true, 
             getParamDisplayLabel(PARAM_STORE)));
       paramList.add(new ParameterDefinitionImpl(PARAM_DESTINATION_FOLDER, DataTypeDefinition.NODE_REF, true, 
             getParamDisplayLabel(PARAM_DESTINATION_FOLDER)));
       paramList.add(new ParameterDefinitionImpl(PARAM_INCLUDE_CHILDREN, DataTypeDefinition.BOOLEAN, false, 
             getParamDisplayLabel(PARAM_INCLUDE_CHILDREN)));
       paramList.add(new ParameterDefinitionImpl(PARAM_INCLUDE_SELF, DataTypeDefinition.BOOLEAN, false, 
             getParamDisplayLabel(PARAM_INCLUDE_SELF)));
}
 
开发者ID:Alfresco,项目名称:community-edition-old,代码行数:19,代码来源:ExporterActionExecuter.java

示例9: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{
    paramList.add(new ParameterDefinitionImpl("dayShort", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("dayShort2", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("dayLong", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("dayNumber", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("dayYear", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("monthShort", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("monthShort2", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("monthLong", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("monthNumber", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("yearShort", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("yearShort2", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("yearLong", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("yearWeek", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("name", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("company", DataTypeDefinition.TEXT, false, ""));
    paramList.add(new ParameterDefinitionImpl("combo", DataTypeDefinition.TEXT, false, ""));
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:21,代码来源:TestActionPropertySubs.java

示例10: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * Add parameter definitions
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList) 
{
    paramList.add(new ParameterDefinitionImpl(PARAM_THUMBNAIL_DEFINITION_NAME, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_THUMBNAIL_DEFINITION_NAME)));
    
    paramList.add(new ParameterDefinitionImpl(PARAM_RETRY_PERIOD, DataTypeDefinition.LONG, true, getParamDisplayLabel(PARAM_RETRY_PERIOD)));
    paramList.add(new ParameterDefinitionImpl(PARAM_RETRY_COUNT, DataTypeDefinition.INT, true, getParamDisplayLabel(PARAM_RETRY_COUNT)));
    
    paramList.add(new ParameterDefinitionImpl(PARAM_QUIET_PERIOD, DataTypeDefinition.LONG, true, getParamDisplayLabel(PARAM_QUIET_PERIOD)));
    paramList.add(new ParameterDefinitionImpl(PARAM_QUIET_PERIOD_RETRIES_ENABLED, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_QUIET_PERIOD_RETRIES_ENABLED)));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:15,代码来源:NodeEligibleForRethumbnailingEvaluator.java

示例11: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{
    paramList.add(new ParameterDefinitionImpl(PARAM_CONTENT_PROPERTY, DataTypeDefinition.QNAME, false, getParamDisplayLabel(PARAM_CONTENT_PROPERTY)));
    paramList.add(new ParameterDefinitionImpl(PARAM_THUMBNAIL_NODE, DataTypeDefinition.QNAME, false, getParamDisplayLabel(PARAM_THUMBNAIL_NODE)));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:UpdateThumbnailActionExecuter.java

示例12: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList) 
{
    paramList.add(new ParameterDefinitionImpl(PARAM_THUMBNAIL_DEFINITION_NAME, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_THUMBNAIL_DEFINITION_NAME), false));
    paramList.add(new ParameterDefinitionImpl(PARAM_FAILURE_DATETIME, DataTypeDefinition.DATETIME, true, getParamDisplayLabel(PARAM_FAILURE_DATETIME), false));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:AddFailedThumbnailActionExecuter.java

示例13: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{
    paramList.add(new ParameterDefinitionImpl(PARAM_THUMBANIL_NAME, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_THUMBANIL_NAME)));      
    paramList.add(new ParameterDefinitionImpl(PARAM_CONTENT_PROPERTY, DataTypeDefinition.QNAME, false, getParamDisplayLabel(PARAM_CONTENT_PROPERTY)));        
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:CreateThumbnailActionExecuter.java

示例14: addParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
 * Add the parameter definitions
 */
@Override
protected void addParameterDefinitions(List<ParameterDefinition> paramList) 
{
    paramList.add(new ParameterDefinitionImpl(PARAM_FAILING_PERSON_NODEREF, DataTypeDefinition.NODE_REF, true, "Failing Person NodeRef"));
    paramList.add(new ParameterDefinitionImpl(PARAM_PERSON_NODEREF, DataTypeDefinition.NODE_REF, true, "Person NodeRef"));
    paramList.add(new ParameterDefinitionImpl(PARAM_USERNAME, DataTypeDefinition.TEXT, true, "Username"));
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:11,代码来源:ErrorProneActionExecutor.java

示例15: getParameterDefinitions

import org.alfresco.repo.action.ParameterDefinitionImpl; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public List<ParameterDefinition> getParameterDefinitions()
{
    List<ParameterDefinition> paramDefs = new ArrayList<ParameterDefinition>(2);
    paramDefs.add(new ParameterDefinitionImpl(QUERY_KEY, DataTypeDefinition.TEXT, true, "Query"));
    paramDefs.add(new ParameterDefinitionImpl(STORE_TYPE_KEY, DataTypeDefinition.TEXT, false, "Store Type"));
    paramDefs.add(new ParameterDefinitionImpl(STORE_ID_KEY, DataTypeDefinition.TEXT, false, "Store Id"));
    return paramDefs;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:13,代码来源:XPathNodeLocator.java


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