Class TemplateInPackage

java.lang.Object
com.gentics.contentnode.rest.model.Template
com.gentics.contentnode.rest.model.devtools.TemplateInPackage
All Implemented Interfaces:
Serializable

public class TemplateInPackage extends Template
Template in a package.
If the object does not have a (local) ID, this means that the object was not synchronized to the CMS.
It is also possible, that the global ID of the object is null, if it is not set in the gentics_structure.json file.
Objects without global ID in the filesystem can be imported into the CMS, but will never be "in sync", because they cannot be identified without global ID.
See Also:
  • Field Details

    • packageName

      protected String packageName
  • Constructor Details

    • TemplateInPackage

      public TemplateInPackage()
  • Method Details

    • getPackageName

      public String getPackageName()
      Name of the package that contains the object
      Returns:
      package name
    • setPackageName

      public void setPackageName(String packageName)
      Set the package name
      Parameters:
      packageName - package name