private static final long serialVersionUID = 136_984_697_285_694_710L;
/**
- * Shared address books. If you add another share to the database, please
- * also update this list as some methods may prefer this over asking the JPA
- * all over again.
+ * Shared address books
*/
private List<ShareableAddressbook> shares;
} else if (user.getUserId() < 1) {
// Not allowed value
throw new IllegalArgumentException(MessageFormat.format("user.UserId={0} is an invalid value", user.getUserId())); //NOI18N
- } else if (this.shares instanceof List) {
- // Trace message
- this.getLoggerBeanLocal().logTrace(MessageFormat.format("isUserSharingAddressbooks: this.shares.isEmpty()={0} - EXIT!", this.shares.isEmpty()));
-
- // Is already initialized
- return (!this.shares.isEmpty());
}
// Get named query