當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。