@Override
 protected String getBundleSubjectKey() {
   String sharedObjectType = getResource().getSharedObjectType();
   if (Ticket.NODE_TYPE.equals(sharedObjectType)) {
     return FOLDER_SHARING_BUNDLE_SUBJECT_KEY;
   }
   // else FILE_TYPE or VERSION_TYPE
   return FILE_SHARING_BUNDLE_SUBJECT_KEY;
 }
 @Override
 protected String getFileName() {
   String sharedObjectType = getResource().getSharedObjectType();
   if (Ticket.NODE_TYPE.equals(sharedObjectType)) {
     return NODE_SHARING_TEMPLATE_FILE_NAME;
   }
   // else FILE_TYPE or VERSION_TYPE
   return FILE_SHARING_TEMPLATE_FILE_NAME;
 }