/**
  * @see org.kuali.rice.krad.document.TransactionalDocument#getAllowsCopy() Checks if copy is set
  *     to true in data dictionary and the document instance implements Copyable.
  */
 @Override
 public boolean getAllowsCopy() {
   return this instanceof Copyable
       && KRADServiceLocatorWeb.getDocumentDictionaryService().getAllowsCopy(this).booleanValue();
 }
 protected DocumentDictionaryService getDocumentDictionaryService() {
   if (documentDictionaryService == null) {
     documentDictionaryService = KRADServiceLocatorWeb.getDocumentDictionaryService();
   }
   return documentDictionaryService;
 }
 public boolean canCreate(Class boClass) {
   return KRADServiceLocatorWeb.getDocumentDictionaryService()
       .getAllowsNewOrCopy(
           KRADServiceLocatorWeb.getDocumentDictionaryService()
               .getMaintenanceDocumentTypeName(boClass));
 }
 public DocumentDictionaryService getDocumentDictionaryService() {
   if (documentDictionaryService == null) {
     this.documentDictionaryService = KRADServiceLocatorWeb.getDocumentDictionaryService();
   }
   return documentDictionaryService;
 }