Пример #1
0
  public static com.vportal.portlet.vcms.model.VcmsTypeSoap addType(
      long groupId,
      long companyId,
      long plid,
      java.lang.String code,
      java.lang.String name,
      java.lang.String description,
      java.lang.String language,
      java.lang.Boolean addCommunityPermissions,
      java.lang.Boolean addGuestPermissions,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue =
          VcmsTypeServiceUtil.addType(
              groupId,
              companyId,
              plid,
              code,
              name,
              description,
              language,
              addCommunityPermissions,
              addGuestPermissions,
              communityPermissions,
              guestPermissions);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #2
0
  public static void deleteTypes(java.lang.String[] typeIds) throws RemoteException {
    try {
      VcmsTypeServiceUtil.deleteTypes(typeIds);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #3
0
  public static void addTypeResources(
      java.lang.String TypeId, boolean addCommunityPermissions, boolean addGuestPermissions)
      throws RemoteException {
    try {
      VcmsTypeServiceUtil.addTypeResources(TypeId, addCommunityPermissions, addGuestPermissions);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #4
0
  public static int countTypesByS_L(long groupId, java.lang.String language)
      throws RemoteException {
    try {
      int returnValue = VcmsTypeServiceUtil.countTypesByS_L(groupId, language);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #5
0
  public static com.vportal.portlet.vcms.model.VcmsTypeSoap getType(java.lang.String typeId)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue = VcmsTypeServiceUtil.getType(typeId);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #6
0
  public static com.vportal.portlet.vcms.model.VcmsType[] getTypesByS_L(
      long groupId, java.lang.String language, int start, int end) throws RemoteException {
    try {
      java.util.List<com.vportal.portlet.vcms.model.VcmsType> returnValue =
          VcmsTypeServiceUtil.getTypesByS_L(groupId, language, start, end);

      return returnValue.toArray(new com.vportal.portlet.vcms.model.VcmsType[returnValue.size()]);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #7
0
  public static void addTypeResources(
      com.vportal.portlet.vcms.model.VcmsType Type,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      VcmsTypeServiceUtil.addTypeResources(Type, communityPermissions, guestPermissions);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Пример #8
0
  public static com.vportal.portlet.vcms.model.VcmsTypeSoap updateType(
      java.lang.String typeId,
      long groupId,
      long companyId,
      java.lang.String code,
      java.lang.String name,
      java.lang.String description,
      java.lang.String language)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue =
          VcmsTypeServiceUtil.updateType(
              typeId, groupId, companyId, code, name, description, language);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }