Class Cms2Callable

java.lang.Object
de.uplanet.lucy.server.auxiliaries.cms2.Cms2Callable

@VelocityCallable("singleton") public final class Cms2Callable extends Object
  • Constructor Details

    • Cms2Callable

      public Cms2Callable()
  • Method Details

    • getSystemSettings

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2SystemSetting getSystemSettings(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
    • createCms2PageFromRecId

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page createCms2PageFromRecId(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strRecIdPage) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2PageFromMenuGuid

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page createCms2PageFromMenuGuid(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strMenuGuid) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2PageFromGuid

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page createCms2PageFromGuid(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strGuid) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2VersionFromRecId

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Version createCms2VersionFromRecId(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strRecIdVersion) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2PublicationFromRecId

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Publication createCms2PublicationFromRecId(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strRecIdPub) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2PublicationFormVersion

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Publication createCms2PublicationFormVersion(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Version p_version) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • createCms2TemplateFromRecId

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Template createCms2TemplateFromRecId(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strRecIdTemplate) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • hasReleaseRequest

      public boolean hasReleaseRequest(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Version p_version) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getPublicationLanguageMappings

      public Map<String,String> getPublicationLanguageMappings(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getMenuItemRecId

      public String getMenuItemRecId(CmsMenuItem p_item, String p_strLang) throws org.json.simple.parser.ParseException
      Throws:
      org.json.simple.parser.ParseException
    • swapPublishedVersions

      public void swapPublishedVersions(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Version p_oldVersion, de.uplanet.lucy.server.auxiliaries.cms2.Cms2Version p_newVersion) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • canUnpublishPage

      public boolean canUnpublishPage(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • setReadPermission

      public void setReadPermission(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page, de.uplanet.jdbc.JdbcConnection p_conn, List<String> p_principals) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • setWritePermission

      public void setWritePermission(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page, de.uplanet.jdbc.JdbcConnection p_conn, List<String> p_principals) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • hasWritePermission

      public boolean hasWritePermission(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page)
    • getPrincipalsWithReadPermission

      public List<String> getPrincipalsWithReadPermission(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page, de.uplanet.jdbc.JdbcConnection p_conn) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getPrincipalsWithWritePermission

      public List<String> getPrincipalsWithWritePermission(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page, de.uplanet.jdbc.JdbcConnection p_conn) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • denyWriteByRelease

      public boolean denyWriteByRelease(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
    • informUserByReleasedModification

      public boolean informUserByReleasedModification(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
    • isReleaseCommissioner

      public boolean isReleaseCommissioner(de.uplanet.jdbc.JdbcConnection p_conn, String p_strUserGuid, de.uplanet.lucy.server.auxiliaries.cms2.Cms2Category p_category) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getPermissionName

      public String getPermissionName(de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getMenuPath

      public String getMenuPath(String p_strMenuGuid, String p_strLang, String p_strSeparator, boolean p_bFullDepth)
    • getMenuPath

      public String getMenuPath(String p_strMenuGuid, String p_strLang, String p_strSeparator)
    • getUserRelevantPublication

      public de.uplanet.lucy.server.auxiliaries.cms2.Cms2Publication getUserRelevantPublication(de.uplanet.lucy.server.IProcessingContext p_ctx, de.uplanet.lucy.server.auxiliaries.cms2.Cms2Page p_page) throws de.uplanet.lucy.server.businesslogic.BlException
      Throws:
      de.uplanet.lucy.server.businesslogic.BlException
    • getCmsLink

      public String getCmsLink(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strRecId, String p_strLinkText, String p_strStyle, boolean p_bTooltip, boolean p_bPopup)
    • isCms2

      @Deprecated public static boolean isCms2(String p_strAppGuid)
      Deprecated.
    • isCms2

      public static boolean isCms2(String p_strAppGuid, String p_strDgGuid)
    • isCms2ByAppGuidAndPageGuid

      public static boolean isCms2ByAppGuidAndPageGuid(String p_strAppGuid, String p_strPageGuid)