/** * Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language. * * @param locale the local of the language * @param useDefault whether to use the default language if no localization exists for the requested language * @return the localized description of this group. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. */ @Override public String getDescription(java.util.Locale locale, boolean useDefault) { return _group.getDescription(locale, useDefault); }
/** * Returns the localized description of this group in the language. Uses the default language if no localization exists for the requested language. * * @param locale the locale of the language * @return the localized description of this group */ @Override public String getDescription(java.util.Locale locale) { return _group.getDescription(locale); }
/** * Returns the description of this group. * * @return the description of this group */ @Override public String getDescription() { return _group.getDescription(); }
/** * Returns the localized description of this group in the language. Uses the default language if no localization exists for the requested language. * * @param languageId the ID of the language * @return the localized description of this group */ @Override public String getDescription(String languageId) { return _group.getDescription(languageId); }
/** * Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language. * * @param languageId the ID of the language * @param useDefault whether to use the default language if no localization exists for the requested language * @return the localized description of this group */ @Override public String getDescription(String languageId, boolean useDefault) { return _group.getDescription(languageId, useDefault); }
public static GroupSoap toSoapModel(Group model) { GroupSoap soapModel = new GroupSoap(); soapModel.setMvccVersion(model.getMvccVersion()); soapModel.setUuid(model.getUuid()); soapModel.setGroupId(model.getGroupId()); soapModel.setCompanyId(model.getCompanyId()); soapModel.setCreatorUserId(model.getCreatorUserId()); soapModel.setClassNameId(model.getClassNameId()); soapModel.setClassPK(model.getClassPK()); soapModel.setParentGroupId(model.getParentGroupId()); soapModel.setLiveGroupId(model.getLiveGroupId()); soapModel.setTreePath(model.getTreePath()); soapModel.setGroupKey(model.getGroupKey()); soapModel.setName(model.getName()); soapModel.setDescription(model.getDescription()); soapModel.setType(model.getType()); soapModel.setTypeSettings(model.getTypeSettings()); soapModel.setManualMembership(model.isManualMembership()); soapModel.setMembershipRestriction(model.getMembershipRestriction()); soapModel.setFriendlyURL(model.getFriendlyURL()); soapModel.setSite(model.isSite()); soapModel.setRemoteStagingGroupCount(model.getRemoteStagingGroupCount()); soapModel.setInheritContent(model.isInheritContent()); soapModel.setActive(model.isActive()); return soapModel; }