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


Java DoNothingCopyBehaviourCallback类代码示例

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


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

示例1: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * The {@link ContentModel#ASPECT_TEMPORARY <b>sys:temporary</b>} aspect is only copied
 * if the copy is clean i.e. not to an existing node.
 */
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    if (copyDetails.getTargetNodeRef() != null)
    {
        return DoNothingCopyBehaviourCallback.getInstance();
    }
    else
    {
        return DefaultCopyBehaviourCallback.getInstance();
    }
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:16,代码来源:TemporaryAspect.java

示例2: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback.
 * 
 * Cutoff aspect should not be copied.
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:15,代码来源:VersionableAspect.java

示例3: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback.
 *
 * Aspect should not be copied.
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:15,代码来源:ExtendedSecurityAspect.java

示例4: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback.
 * 
 * Aspect should not be copied.
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:15,代码来源:TransferredAspect.java

示例5: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback.
 *
 * Record originating details aspect should not be copied.
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:15,代码来源:RecordOriginatingDetailsAspect.java

示例6: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback for vital record
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:13,代码来源:VitalRecordAspect.java

示例7: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback for record search
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:13,代码来源:RecordSearchAspect.java

示例8: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback for disposition lifecycle
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:13,代码来源:DispositionLifecycleAspect.java

示例9: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Record component identifier aspect copy callback
 */
@Behaviour
(
   kind = BehaviourKind.CLASS,
   policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:13,代码来源:RecordComponentIdentifierAspect.java

示例10: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * Copy callback.
 *
 * Uncutoff aspect should not be copied.
 */
@Behaviour
(
        kind = BehaviourKind.CLASS,
        policy = "alf:getCopyCallback"
)
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return new DoNothingCopyBehaviourCallback();
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:15,代码来源:UncutoffAspect.java

示例11: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * @return Returns CopyBehaviourCallback
 */
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return DoNothingCopyBehaviourCallback.getInstance();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:8,代码来源:RateableAspect.java

示例12: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * @return              Returns {@link DoNothingCopyBehaviourCallback}
 */
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return DoNothingCopyBehaviourCallback.getInstance();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:8,代码来源:LockServiceImpl.java

示例13: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
@Override
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return DoNothingCopyBehaviourCallback.getInstance();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:6,代码来源:QuickShareServiceImpl.java

示例14: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * @return          Returns {@link DoNothingCopyBehaviourCallback}
 */
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return DoNothingCopyBehaviourCallback.getInstance();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:8,代码来源:PendingDeleteAspect.java

示例15: getCopyCallback

import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入依赖的package包/类
/**
 * See init - eg. registers "do nothing" copy behaviour for "cm:thumbnailModification" aspect
 * 
 * @return          Returns {@link DoNothingCopyBehaviourCallback}
 */
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
    return DoNothingCopyBehaviourCallback.getInstance();
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:ThumbnailServiceImpl.java


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