Java Code Examples for org.alfresco.model.ContentModel.ASPECT_MULTILINGUAL_EMPTY_TRANSLATION

The following are Jave code examples for showing how to use ASPECT_MULTILINGUAL_EMPTY_TRANSLATION of the org.alfresco.model.ContentModel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: alfresco-repository   File: EmptyTranslationAspect.java   View Source Code Vote up 5 votes
/**
 * @throws          IllegalStateException       always
 */
@Override
public boolean getMustCopy(QName classQName, CopyDetails copyDetails)
{
    throw new IllegalStateException(
            "Nodes with " + ContentModel.ASPECT_MULTILINGUAL_EMPTY_TRANSLATION + " may not be copied");
}