Example #1
0
 public User getPublisher() {
   Integer publisherId = internalDocument.getPublisherId();
   if (null != publisherId) {
     return contentManagementSystem.getUserService().getUser(publisherId);
   } else {
     return null;
   }
 }
Example #2
0
 public User getCreator() {
   int creatorId = internalDocument.getCreatorId();
   return contentManagementSystem.getUserService().getUser(creatorId);
 }