本文整理汇总了Java中org.alfresco.repo.copy.DoNothingCopyBehaviourCallback.getInstance方法的典型用法代码示例。如果您正苦于以下问题:Java DoNothingCopyBehaviourCallback.getInstance方法的具体用法?Java DoNothingCopyBehaviourCallback.getInstance怎么用?Java DoNothingCopyBehaviourCallback.getInstance使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.alfresco.repo.copy.DoNothingCopyBehaviourCallback
的用法示例。
在下文中一共展示了DoNothingCopyBehaviourCallback.getInstance方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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();
}
}
示例2: getCopyCallback
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
/**
* @return Returns CopyBehaviourCallback
*/
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}
示例3: getCopyCallback
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
/**
* @return Returns {@link DoNothingCopyBehaviourCallback}
*/
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}
示例4: getCopyCallback
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
@Override
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}
示例5: getCopyCallback
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
/**
* @return Returns {@link DoNothingCopyBehaviourCallback}
*/
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}
示例6: 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();
}
示例7: getCopyCallback
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
/**
* The copy of a <b>cm:mlDocument</b> can't keep the Multilingual aspect.
*
* @return Returns the {@link DoNothingCopyBehaviourCallback}
*/
public CopyBehaviourCallback getCopyCallback(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}
示例8: getCallbackForCheckedOutAspect
import org.alfresco.repo.copy.DoNothingCopyBehaviourCallback; //导入方法依赖的package包/类
/**
* Callback behaviour retrieval for the 'checkedOut' aspect.
*
* @return Returns {@link DoNothingCopyBehaviourCallback} always
*/
public CopyBehaviourCallback getCallbackForCheckedOutAspect(QName classRef, CopyDetails copyDetails)
{
return DoNothingCopyBehaviourCallback.getInstance();
}