Uses of Class
com.flexive.shared.content.FxContent

Packages that use FxContent
com.flexive.shared.content Classes for representing flexive contents, most notable FxContent and FxPK
com.flexive.shared.interfaces Local and remote interfaces of the flexive EJB engines. 
com.flexive.shared.scripting.groovy Groovy-specific helper classes, for example a Builder for structural types. 
com.flexive.shared.value Multilingual value types for flexive contents. 
 

Uses of FxContent in com.flexive.shared.content
 

Methods in com.flexive.shared.content that return FxContent
 FxContent FxContent.compact()
          Convenience method to compact (=remove all empty groups and properties that are not required).
 FxContent FxContent.copy()
          Create an independent copy of this FxContent
 FxContent FxContent.copyAsNewInstance()
          Get an independent copy of this FxContent which is a new instance (can be saved as a copy)
 FxContent FxCachedContent.getContent()
          Getter for the content
 FxContent FxContentContainer.getVersion(int version)
          Get a requested version of the content
 FxContent FxContent.initSystemProperties()
           
 FxContent FxContent.randomize()
          Drop all data and create random entries for testing purposes
 FxContent FxContent.randomize(int maxMultiplicity)
          Drop all data and create random entries with a maximum multiplicity for testing purposes
 FxContent FxContent.save()
          Convenience method which saves this FxContent and returns the loaded instance.
 FxContent FxContent.saveNewVersion()
          Convenience method which saves this FxContent in a new version and returns the loaded instance.
 FxContent FxContent.setRelatedDestination(FxPK dst)
          Set the primary key of the destination relation
 FxContent FxContent.setRelatedSource(FxPK src)
          Set the primary key of the source relation
 FxContent FxContent.setValue(java.lang.String XPath, FxValue value)
          Set a properties value, needed groups will be created
 FxContent FxContent.setValue(java.lang.String XPath, long languageId, java.lang.Object value)
          Depending on the underlying FxValue's multilanguage setting set either the translation in the requested language or the single language value
 FxContent FxContent.setValue(java.lang.String XPath, java.lang.Object value)
          Depending on the underlying FxValue's multilanguage setting set either the default translation or the single language value
 

Methods in com.flexive.shared.content that return types with arguments of type FxContent
 java.util.Iterator<FxContent> FxContentContainer.getVersions()
          Get an Iterator for all versions (in order)
 

Methods in com.flexive.shared.content with parameters of type FxContent
static void FxPermissionUtils.checkPropertyPermissions(FxContent content, ACLPermission perm)
          Check if the calling user has the requested permission for all properties in this content.
 java.util.List<FxDelta.FxDeltaChange> FxDelta.getDiff(FxContent original, FxContent compare)
          Get all changes from original to compare in correct order (for display in UI's)
static FxDelta FxDelta.processDelta(FxContent original, FxContent compare)
          Compare original to compare FxContent.
 void FxContent.replaceData(FxContent con)
          Replace our data with data from another content
 void FxContent.replaceData(java.lang.String xpath, FxContent con)
          Replace our data with data from another content but only for the requested xpath
static void FxPermissionUtils.unwrapNoAccessValues(FxContent content, FxContent original)
          Unwrap all FxNoAccess values to their original values.
static void FxPermissionUtils.wrapNoAccessValues(UserTicket ticket, FxContentSecurityInfo securityInfo, FxContent content, FxType type, FxEnvironment env)
          Process a contents property and wrap FxValue's in FxNoAccess or set them to readonly where appropriate
 

Constructors in com.flexive.shared.content with parameters of type FxContent
FxCachedContent(FxContent content, FxContentSecurityInfo securityInfo)
          Ctor
 

Constructor parameters in com.flexive.shared.content with type arguments of type FxContent
FxContentContainer(FxContentVersionInfo versionInfo, java.util.List<FxContent> content)
          Ctor
 

Uses of FxContent in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces that return FxContent
 FxContent ContentEngine.importContent(java.lang.String xml, boolean newInstance)
          Import a content from XML
 FxContent ContentEngine.initialize(long typeId)
          Initialize a new FxContent instance for a type with default values.
 FxContent ContentEngine.initialize(long typeId, long mandatorId, long prefACL, long prefStep, long prefLang)
          Initialize a new FxContent instance with preferred acl, step and language
 FxContent ContentEngine.initialize(java.lang.String typeName)
          Initialize a new FxContent instance for a type with default values.
 FxContent ContentEngine.load(FxPK pk)
          Load a content
 FxContent ContentEngine.prepareSave(FxContent content)
          Prepare a content for a save or create operation (resolves binaries for script processing, etc.).
 

Methods in com.flexive.shared.interfaces with parameters of type FxContent
 FxPK ContentEngine.createNewVersion(FxContent content)
          Create a new version for an existing content instance
 java.lang.String ContentEngine.exportContent(FxContent content)
          Export a content instance
 FxContent ContentEngine.prepareSave(FxContent content)
          Prepare a content for a save or create operation (resolves binaries for script processing, etc.).
 FxPK ContentEngine.save(FxContent content)
          Store an existing content or create a new one
 

Uses of FxContent in com.flexive.shared.scripting.groovy
 

Methods in com.flexive.shared.scripting.groovy that return FxContent
 FxContent GroovyContentBuilder.getContent()
          Return our content instance.
 

Constructors in com.flexive.shared.scripting.groovy with parameters of type FxContent
GroovyContentBuilder(FxContent content)
          Create a new content builder that operates on the given content instance.
 

Uses of FxContent in com.flexive.shared.value
 

Methods in com.flexive.shared.value that return FxContent
 FxContent ReferencedContent.getContent()
          Get the assigned FxContent for this reference
 

Methods in com.flexive.shared.value with parameters of type FxContent
 void ReferencedContent.setContent(FxContent content)
          Set the assigned FxContent for this reference