Uses of Class
com.flexive.shared.structure.FxType

Packages that use FxType
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.search Value classes for FxSQL search results. 
com.flexive.shared.structure Classes for the representation of flexive data structures. 
com.flexive.shared.structure.export   
 

Uses of FxType in com.flexive.shared.content
 

Methods in com.flexive.shared.content with parameters of type FxType
static boolean FxPermissionUtils.checkPermission(UserTicket ticket, long ownerId, ACLPermission permission, FxType type, long stepACL, java.util.Collection<java.lang.Long> contentACLs, boolean throwException)
          Permission check for (new) contents
static PermissionSet FxPermissionUtils.getPermissionIntersection(java.util.Collection<java.lang.Long> aclIds, FxType type, long stepACL, long createdBy, long mandator)
          Gets the permission set intersection of all given ACLs.
static PermissionSet FxPermissionUtils.getPermissions(long acl, FxType type, long stepACL, long createdBy, long mandator)
          Get a users permission for a given instance ACL
static PermissionSet FxPermissionUtils.getPermissionUnion(java.util.Collection<java.lang.Long> aclIds, FxType type, long stepACL, long createdBy, long mandator)
          Gets the permission set union of all given ACLs.
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
 

Uses of FxType in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces that return FxType
 FxType TypeEngine.importType(java.lang.String typeXML)
          Import a type fromt he given XML.
 

Methods in com.flexive.shared.interfaces with parameters of type FxType
 java.util.Map<java.lang.String,java.util.List<FxPropertyAssignment>> AssignmentEngine.getPotentialFlatAssignments(FxType type)
          Analyze a FxType and find potential property assignments that would be suitable for storage in a flat storage
 void HistoryTrackerEngine.track(FxType type, FxPK pk, java.lang.String data, java.lang.String key, java.lang.Object... args)
          Write a history entry for a content instance
 void HistoryTrackerEngine.track(FxType type, java.lang.String key, java.lang.Object... args)
          Write a history entry for a type
 

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

Methods in com.flexive.shared.scripting.groovy with parameters of type FxType
static java.lang.String GroovyScriptExporterTools.createType(FxType type, boolean defaultsOnly, boolean addWorkflow)
          This method generates the script code for a type
static java.lang.String GroovyScriptExporterTools.createTypeAssignments(FxType type, java.util.List<FxAssignment> assignments, java.util.Map<FxGroupAssignment,java.util.List<FxAssignment>> groupAssignments, boolean defaultsOnly, java.util.List<FxGroupAssignment> callOnlyGroups, boolean withoutDependencies, java.util.List<java.lang.Long> differingDerivedAssignments)
          Contains the logic to generate the script code for a type's assignments
 

Method parameters in com.flexive.shared.scripting.groovy with type arguments of type FxType
static java.lang.String GroovyScriptExporterTools.createDeleteCode(java.util.List<FxType> types)
          Generate code to delete ALL content instances for the given types, their assignments and the types themselves
 

Constructors in com.flexive.shared.scripting.groovy with parameters of type FxType
GroovyTypeBuilder(FxType type)
           
 

Uses of FxType in com.flexive.shared.search
 

Constructors in com.flexive.shared.search with parameters of type FxType
FxFoundType(FxType type, int foundEntries)
          Constructor.
 

Uses of FxType in com.flexive.shared.structure
 

Subclasses of FxType in com.flexive.shared.structure
 class FxTypeEdit
          FxType used for structure editing
 

Fields in com.flexive.shared.structure declared as FxType
protected  FxType FxType.parent
           
 

Fields in com.flexive.shared.structure with type parameters of type FxType
protected  java.util.List<FxType> FxType.derivedTypes
           
 

Methods in com.flexive.shared.structure that return FxType
 FxType FxAssignment.getAssignedType()
          The FxType this assignment is associated with
 FxType FxTypeRelation.getDestination()
          Get the destination FxType
 FxType FxFilteredEnvironment.getMimeTypeMatch(java.lang.String mimeType)
          Return the closest matching FxType (any derived type of DocumentFile) for a given mime type
 FxType FxEnvironment.getMimeTypeMatch(java.lang.String mimeType)
          Return the closest matching FxType (any derived type of DocumentFile) for a given mime type
 FxType FxType.getParent()
          If this FxType is derived from another FxType get the 'super' FxType
 FxType FxProperty.getReferencedType()
          Get referenced FxType
 FxType FxTypeRelation.getSource()
          Get the source FxType
 FxType FxFilteredEnvironment.getType(long id)
          Get a type or relation identified by its id
 FxType FxEnvironment.getType(long id)
          Get a type or relation identified by its id
 FxType FxFilteredEnvironment.getType(java.lang.String name)
          Get a type or relation identified by its name
 FxType FxEnvironment.getType(java.lang.String name)
          Get a type or relation identified by its name
 FxType FxTypeEdit.setAutoVersion(boolean autoVersion)
          Set if new versions should be automatically created on content changes
 

Methods in com.flexive.shared.structure that return types with arguments of type FxType
 java.util.List<FxType> FxType.getDerivedTypes()
          Get all FxTypes that are derived from this Type
 java.util.List<FxType> FxType.getDerivedTypes(boolean transitive, boolean includeOwnType)
          Get all FxTypes that are derived from this type.
 java.util.List<FxType> FxFilteredEnvironment.getReferencingRelationTypes(long typeId)
          Gets relation types that contain the type with the specified id as source or destination of their relations.
 java.util.List<FxType> FxEnvironment.getReferencingRelationTypes(long typeId)
          Gets relation types that contain the type with the specified id as source or destination of their relations.
 java.util.List<FxType> FxFilteredEnvironment.getTypes()
          Returns all defined types.
 java.util.List<FxType> FxEnvironment.getTypes()
          Returns all defined types.
 java.util.List<FxType> FxFilteredEnvironment.getTypes(boolean returnBaseTypes, boolean returnDerivedTypes, boolean returnTypes, boolean returnRelations)
          Get types depending on selection criteria
 java.util.List<FxType> FxEnvironment.getTypes(boolean returnBaseTypes, boolean returnDerivedTypes, boolean returnTypes, boolean returnRelations)
          Get types depending on selection criteria
 java.util.List<FxType> FxFilteredEnvironment.getTypesForProperty(long propertyId)
          Get a list of all types that have assignments of the requested property
 java.util.List<FxType> FxEnvironment.getTypesForProperty(long propertyId)
          Get a list of all types that have assignments of the requested property
 

Methods in com.flexive.shared.structure with parameters of type FxType
 FxPropertyAssignmentEdit FxTypeEdit.addReferenceProperty(java.lang.String name, FxType referencedType)
          Add a reference assignment to this type.
static FxGroupAssignmentEdit FxGroupAssignmentEdit.createNew(FxGroupAssignment ga, FxType type, java.lang.String alias, java.lang.String parentXPath)
          Create a new FxGroupAssignmentEdit from an existing FxGroupAssignment as a new one for a given type with a new alias and a given parentXPath
static FxGroupAssignmentEdit FxGroupAssignmentEdit.createNew(FxGroupAssignment ga, FxType type, java.lang.String alias, java.lang.String parentXPath, FxAssignment parent)
          Create a new FxGroupAssignmentEdit from an existing FxGroupAssignment as a new one for a given type with a new alias and a given parentXPath
static FxPropertyAssignmentEdit FxPropertyAssignmentEdit.createNew(FxPropertyAssignment pa, FxType type, java.lang.String alias, java.lang.String parentXPath)
          Create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
static FxPropertyAssignmentEdit FxPropertyAssignmentEdit.createNew(FxPropertyAssignment pa, FxType type, java.lang.String alias, java.lang.String parentXPath, FxAssignment parent)
          Create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
static FxTypeRelationEdit FxTypeRelationEdit.createNew(FxType source, FxType destination)
          Create a new FxTypeEdit with unlimited source and destination instances
static FxTypeRelationEdit FxTypeRelationEdit.createNew(FxType source, FxType destination, long maxSource, long maxDestination)
          Create a new FxTypeEdit
static FxTypeEdit FxTypeEdit.createNew(java.lang.String name, FxString label, ACL acl, ACL defaultInstanceACL, Workflow workflow, FxType parent, boolean enableParentAssignments, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, LanguageMode language, TypeState state, byte permissions, boolean trackHistory, long historyAge, long maxVersions, boolean autoVersion, int maxRelSource, int maxRelDestination)
          Create a new FxTypeEdit instance for creating a new FxType (no structure options)
static FxTypeEdit FxTypeEdit.createNew(java.lang.String name, FxString label, ACL acl, ACL defaultInstanceACL, Workflow workflow, FxType parent, boolean enableParentAssignments, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, LanguageMode language, TypeState state, byte permissions, boolean trackHistory, long historyAge, long maxVersions, boolean autoVersion, int maxRelSource, int maxRelDestination, java.util.List<FxStructureOption> options)
          Create a new FxTypeEdit instance for creating a new FxType
static FxTypeEdit FxTypeEdit.createNew(java.lang.String name, FxString label, ACL acl, FxType parent)
          Create a new FxTypeEdit instance derived from an existing FxType using the parents default instance ACL if it is set
static FxPropertyEdit FxPropertyEdit.createNew(java.lang.String name, FxString label, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity, boolean overrideACL, ACL acl, FxDataType dataType, FxString defaultValue, boolean fulltextIndexed, FxType referencedType, FxSelectList referencedList, java.util.List<FxStructureOption> options)
          Create a new FxPropertyEdit instance
static FxTypeEdit FxTypeEdit.createNew(java.lang.String name, FxType parentType)
          Create a new FxTypeEdit instance for creating a derived FxType
static FxPropertyAssignmentEdit FxPropertyAssignmentEdit.createNew(java.lang.String property, FxType type, java.lang.String alias, java.lang.String parentXPath)
          Create a new FxPropertyAssignmentEdit from an existing property for a given type with a new alias and a given parentXPath
 FxPropertyEdit FxPropertyEdit.setReferencedType(FxType referencedType)
          If this property is a reference to a FxType, set the referenced type
 

Method parameters in com.flexive.shared.structure with type arguments of type FxType
protected  void FxType.addDerivedTypes(java.util.Collection<FxType> result)
          Add the derived types (direct and through transitive dependency) of this type to the result list.
 

Constructors in com.flexive.shared.structure with parameters of type FxType
FxAssignment(long assignmentId, boolean enabled, FxType assignedType, java.lang.String alias, java.lang.String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, java.util.List<FxStructureOption> options)
          Constructor
FxGroupAssignment(long assignmentId, boolean enabled, FxType assignedType, java.lang.String alias, java.lang.String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxGroup group, GroupMode mode, java.util.List<FxStructureOption> options)
          Constructor
FxProperty(long id, java.lang.String name, FxString label, FxString hint, boolean systemInternal, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity, boolean overrideACL, ACL ACL, FxDataType dataType, FxValue defaultValue, boolean fulltextIndexed, FxType referencedType, FxSelectList referencedList, UniqueMode uniqueMode, java.util.List<FxStructureOption> options)
           
FxPropertyAssignment(long assignmentId, boolean enabled, FxType assignedType, java.lang.String alias, java.lang.String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxValue defaultValue, FxProperty property, ACL ACL, long defaultLang, java.util.List<FxStructureOption> options, FxFlatStorageMapping flatStorageMapping)
          Constructor
FxPropertyAssignmentEdit(FxProperty property, FxType type, java.lang.String alias, java.lang.String parentXPath)
          Create a new FxPropertyAssignmentEdit from an existing property for a given type with a new alias and a given parentXPath
FxType(long id, ACL acl, ACL defaultInstanceACL, Workflow workflow, java.lang.String name, FxString label, FxType parent, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, LanguageMode language, TypeState state, byte permissions, boolean multipleContentACLs, boolean includedInSupertypeQueries, boolean trackHistory, long historyAge, long maxVersions, boolean autoVersion, int maxRelSource, int maxRelDestination, LifeCycleInfo lifeCycleInfo, java.util.List<FxType> derivedTypes, java.util.List<FxTypeRelation> relations, java.util.List<FxStructureOption> options)
          [fleXive] internal constructor for FxTypes, do not used this outside the flexive core!
FxTypeEdit(FxType type)
          Create a new FxTypeEdit instance for editing and updating an existing FxType
FxTypeRelation(FxType source, FxType destination, long maxSource, long maxDestination)
          Constructor, only used internally.
 

Constructor parameters in com.flexive.shared.structure with type arguments of type FxType
FxType(long id, ACL acl, ACL defaultInstanceACL, Workflow workflow, java.lang.String name, FxString label, FxType parent, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, LanguageMode language, TypeState state, byte permissions, boolean multipleContentACLs, boolean includedInSupertypeQueries, boolean trackHistory, long historyAge, long maxVersions, boolean autoVersion, int maxRelSource, int maxRelDestination, LifeCycleInfo lifeCycleInfo, java.util.List<FxType> derivedTypes, java.util.List<FxTypeRelation> relations, java.util.List<FxStructureOption> options)
          [fleXive] internal constructor for FxTypes, do not used this outside the flexive core!
 

Uses of FxType in com.flexive.shared.structure.export
 

Fields in com.flexive.shared.structure.export declared as FxType
protected  FxType GenericStructureExporter.type
           
 

Fields in com.flexive.shared.structure.export with type parameters of type FxType
protected  java.util.Map<FxType,java.util.List<FxAssignment>> GenericStructureExporter.typeAssignments
           
 

Methods in com.flexive.shared.structure.export that return types with arguments of type FxType
 java.util.Map<FxType,java.util.List<FxAssignment>> StructureExporter.getDependencies()
          Get the (mutual) dependencies for (a) given type(s).
 java.util.Map<FxType,java.util.List<FxAssignment>> StructureExporterCallback.getDependencies()
          Get the (mutual) dependencies for (a) given type(s).
 java.util.Map<FxType,java.util.List<FxAssignment>> StructureExporter.getTypeAssignments()
          Returns a LinkedHashMap of immediate (root) assignments for the FxTypes considered.
 java.util.Map<FxType,java.util.List<FxAssignment>> StructureExporterCallback.getTypeAssignments()
          Returns a LinkedHashMap of immediate (root) assignments for the FxTypes considered.
 

Methods in com.flexive.shared.structure.export with parameters of type FxType
static java.util.List<FxAssignment> StructureExporterTools.getAllDerivedAssignmentsForType(FxType type)
          This method returns all derived assignments (groups and properties) for a given type (all assignments in groups and subgroups as well).
protected  java.util.List<FxAssignment> GenericStructureExporter.getTypeAssignments(FxType type)
          Retrieve all of a type's assignments, check whether they should be ignored (enum IgnoreProps in GenericStructureExporterTools) and also check that they are not in a whitelist if one is present.
protected  void GenericStructureExporter.populateTypeAssignments(FxType newType, java.util.List<FxAssignment> newList)
          This method maintains the correct order of keys in the LinkedHashMap typeAssignments on recursive calls, i.e.
static boolean StructureExporterTools.typeHasAssignments(FxType type)
          Checks whether a type has any assignments (properties or groups)
 

Method parameters in com.flexive.shared.structure.export with type arguments of type FxType
protected static GenericStructureExporter GenericStructureExporter.newInstance(StructureExporterCallback callback, long typeId, boolean ignoreDependencies, java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> dependencies, java.util.concurrent.ConcurrentMap<java.lang.Long,java.lang.Boolean> typesChecked, java.util.Map<FxType,java.util.List<FxAssignment>> typeAssignments, java.util.Map<FxGroupAssignment,java.util.List<FxAssignment>> groupAssignments, java.util.Map<java.lang.Long,java.lang.Long> dependentOnMapping)
          Returns an instance of the GenericStructureExporter ignoreList: a List of (derived) properties which should be ignored when creating the script.
 void StructureExporter.setTypeAssignments(java.util.Map<FxType,java.util.List<FxAssignment>> typeAssignments)
          Sets the Map of (keys) and a List of FxAssignments (values) which reside in the root of a given type.
 void StructureExporterCallback.setTypeAssignments(java.util.Map<FxType,java.util.List<FxAssignment>> typeAssignments)
          Sets the Map of (keys) and a List of FxAssignments (values) which reside in the root of a given type.
 

Constructors in com.flexive.shared.structure.export with parameters of type FxType
GenericStructureExporter.DependencyAnalyser(FxType type, java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> dependencies, java.util.Map<java.lang.Long,java.lang.Long> dependentOnMapping)
          Constructor, takes an FxType to e analysed and a Map, List> as arguments.