Java Doc for FxTypeEdit.java in  » J2EE » fleXive » com » flexive » shared » structure » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » fleXive » com.flexive.shared.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.flexive.shared.structure.FxType
   com.flexive.shared.structure.FxTypeEdit

FxTypeEdit
public class FxTypeEdit extends FxType implements Serializable(Code)
FxType used for structure editing
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
protected  booleanchanged
    

Constructor Summary
public  FxTypeEdit(FxType type)
    

Method Summary
public  FxTypeEditaddRelation(FxTypeRelation relation)
    
public static  FxTypeEditcreateNew(String name)
    
public static  FxTypeEditcreateNew(String name, FxString description, ACL acl)
    
public static  FxTypeEditcreateNew(String name, FxString description, ACL acl, FxType parent)
    
public static  FxTypeEditcreateNew(String name, FxString description, ACL acl, Workflow workflow, FxType parent, boolean enableParentAssignments, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, boolean checkValidity, LanguageMode language, TypeState state, byte permissions, boolean trackHistory, long historyAge, long maxVersions, int maxRelSource, int maxRelDestination)
     Create a new FxTypeEdit instance for creating a new FxType
Parameters:
  name - name of the type
Parameters:
  description - description
Parameters:
  acl - type ACL
Parameters:
  workflow - workflow to use
Parameters:
  parent - parent type or null if not derived
Parameters:
  enableParentAssignments - if parent is not null enable all derived assignments from the parent?
Parameters:
  storageMode - the storage mode
Parameters:
  category - category mode (system, user)
Parameters:
  mode - type mode (content, relation)
Parameters:
  checkValidity - check validity of contents in search operations
Parameters:
  language - language mode
Parameters:
  state - type state (active, locked, etc)
Parameters:
  permissions - permissions bit coded
Parameters:
  trackHistory - track history
Parameters:
  historyAge - max.
public  List<FxTypeRelation>getAddedRelations()
    
public  List<FxGroupAssignment>getAssignedGroups()
    
public  List<FxPropertyAssignment>getAssignedProperties()
    
public  List<FxTypeRelation>getRemovedRelations()
    
public  List<FxTypeRelation>getUpdatedRelations()
    
public  booleanisChanged()
    
public  booleanisEnableParentAssignments()
    
public  booleanisNew()
    
public  booleanisRemoveInstancesWithRelationTypes()
    
public  voidremoveRelation(FxTypeRelation relation)
    
public  FxTypeEditsetACL(ACL ACL)
    
public  FxTypeEditsetCategory(TypeCategory category)
    
public  FxTypeEditsetCheckValidity(boolean checkValidity)
    
public  FxTypeEditsetDescription(FxString description)
    
public  FxTypeEditsetEnableParentAssignments(boolean enableParentAssignments)
    
public  FxTypeEditsetHistoryAge(long historyAge)
     Set the max.
public  FxTypeEditsetLanguage(LanguageMode language)
    
public  FxTypeEditsetMaxRelDestination(int maxRelDestination)
     Set the max.
public  FxTypeEditsetMaxRelSource(int maxRelSource)
     Set the max.
public  FxTypeEditsetMaxVersions(long maxVersions)
     Set the max.
public  FxTypeEditsetMode(TypeMode mode)
     Set this type's mode.
public  FxTypeEditsetName(String name)
    
public  FxTypeEditsetPermissions(byte permissions)
    
public  voidsetRemoveInstancesWithRelationTypes(boolean removeInstancesWithRelationTypes)
    
public  FxTypeEditsetState(TypeState state)
    
public  FxTypeEditsetTrackHistory(boolean trackHistory)
    
public  FxTypeEditsetUseInstancePermissions(boolean use)
    
public  FxTypeEditsetUsePropertyPermissions(boolean use)
    
public  FxTypeEditsetUseStepPermissions(boolean use)
    
public  FxTypeEditsetUseTypePermissions(boolean use)
    
public  FxTypeEditsetWorkflow(Workflow workflow)
    
public  voidupdateRelation(FxTypeRelation relation)
    

Field Detail
changed
protected boolean changed(Code)




Constructor Detail
FxTypeEdit
public FxTypeEdit(FxType type)(Code)
Create a new FxTypeEdit instance for editing and updating an existing FxType
Parameters:
  type - the FxType to edit




Method Detail
addRelation
public FxTypeEdit addRelation(FxTypeRelation relation) throws FxInvalidParameterException(Code)
Add or update a relation
Parameters:
  relation - the relation to add or update this
throws:
  FxInvalidParameterException - if the relation is invalid.



createNew
public static FxTypeEdit createNew(String name)(Code)
Create a new FxTypeEdit instance for creating a new FxType
Parameters:
  name - name of the type FxTypeEdit instance for creating a new FxType



createNew
public static FxTypeEdit createNew(String name, FxString description, ACL acl)(Code)
Create a new FxTypeEdit instance for creating a new FxType
Parameters:
  name - name of the type
Parameters:
  description - description
Parameters:
  acl - type ACL FxTypeEdit instance for creating a new FxType



createNew
public static FxTypeEdit createNew(String name, FxString description, ACL acl, FxType parent)(Code)
Create a new FxTypeEdit instance for creating a new FxType
Parameters:
  name - name of the type
Parameters:
  description - description
Parameters:
  acl - type ACL
Parameters:
  parent - parent type or null if not derived FxTypeEdit instance for creating a new FxType



createNew
public static FxTypeEdit createNew(String name, FxString description, ACL acl, Workflow workflow, FxType parent, boolean enableParentAssignments, TypeStorageMode storageMode, TypeCategory category, TypeMode mode, boolean checkValidity, LanguageMode language, TypeState state, byte permissions, boolean trackHistory, long historyAge, long maxVersions, int maxRelSource, int maxRelDestination)(Code)
Create a new FxTypeEdit instance for creating a new FxType
Parameters:
  name - name of the type
Parameters:
  description - description
Parameters:
  acl - type ACL
Parameters:
  workflow - workflow to use
Parameters:
  parent - parent type or null if not derived
Parameters:
  enableParentAssignments - if parent is not null enable all derived assignments from the parent?
Parameters:
  storageMode - the storage mode
Parameters:
  category - category mode (system, user)
Parameters:
  mode - type mode (content, relation)
Parameters:
  checkValidity - check validity of contents in search operations
Parameters:
  language - language mode
Parameters:
  state - type state (active, locked, etc)
Parameters:
  permissions - permissions bit coded
Parameters:
  trackHistory - track history
Parameters:
  historyAge - max. age of the history to track
Parameters:
  maxVersions - max. number of versions to keep, if < 0 unlimited
Parameters:
  maxRelSource - max. number of instance related as source
Parameters:
  maxRelDestination - max. number of instance related as destination FxTypeEdit instance for creating a new FxType



getAddedRelations
public List<FxTypeRelation> getAddedRelations()(Code)
Get a list of all FxTypeRelations that have been added list of all FxTypeRelations that have been added



getAssignedGroups
public List<FxGroupAssignment> getAssignedGroups()(Code)



getAssignedProperties
public List<FxPropertyAssignment> getAssignedProperties()(Code)



getRemovedRelations
public List<FxTypeRelation> getRemovedRelations()(Code)
Get a list of all FxTypeRelations that have been removed list of all FxTypeRelations that have been removed



getUpdatedRelations
public List<FxTypeRelation> getUpdatedRelations()(Code)
Get a list of all FxTypeRelations that have been updated list of all FxTypeRelations that have been updated



isChanged
public boolean isChanged()(Code)
Have changes been made? changes made



isEnableParentAssignments
public boolean isEnableParentAssignments()(Code)
Enable parent assignments if creating a derived type? This method has no effect if editing an existing type! are parent assignments enabled?



isNew
public boolean isNew()(Code)
Is this a new type or updating an existing type? new or existing type?



isRemoveInstancesWithRelationTypes
public boolean isRemoveInstancesWithRelationTypes()(Code)
If FxTypeRelation entries are removed, remove all affected instances? remove all affected instances if FxTypeRelation entries are removed?



removeRelation
public void removeRelation(FxTypeRelation relation)(Code)
Remove a relation
Parameters:
  relation - the relation to remove



setACL
public FxTypeEdit setACL(ACL ACL)(Code)
Assign a new ACL
Parameters:
  ACL - ACL to assign for this type the type itself, useful for chained calls



setCategory
public FxTypeEdit setCategory(TypeCategory category)(Code)
Set the types category (user, system)
Parameters:
  category - the category to set the type itself, useful for chained calls



setCheckValidity
public FxTypeEdit setCheckValidity(boolean checkValidity)(Code)
Check validity (valid from/to) in search operations?
Parameters:
  checkValidity - check validity the type itself, useful for chained calls



setDescription
public FxTypeEdit setDescription(FxString description)(Code)
Set the types description
Parameters:
  description - description the type itself, useful for chained calls



setEnableParentAssignments
public FxTypeEdit setEnableParentAssignments(boolean enableParentAssignments)(Code)
Enable parent assignments if creating a derived type? This method has no effect if editing an existing type!
Parameters:
  enableParentAssignments - are parent assignments enabled? the type itself, useful for chained calls



setHistoryAge
public FxTypeEdit setHistoryAge(long historyAge)(Code)
Set the max. age of history entries
Parameters:
  historyAge - max. age of history entries the type itself, useful for chained calls



setLanguage
public FxTypeEdit setLanguage(LanguageMode language)(Code)
Set the language mode to use for this type
Parameters:
  language - language mode to use the type itself, useful for chained calls



setMaxRelDestination
public FxTypeEdit setMaxRelDestination(int maxRelDestination)(Code)
Set the max. number related destination instances for this type, if negative unlimited
Parameters:
  maxRelDestination - max. number related destination instances for this type, if negative unlimited the type itself, useful for chained calls



setMaxRelSource
public FxTypeEdit setMaxRelSource(int maxRelSource)(Code)
Set the max. number related source instances for this type, if negative unlimited
Parameters:
  maxRelSource - max. number related source instances for this type, if negative unlimited the type itself, useful for chained calls



setMaxVersions
public FxTypeEdit setMaxVersions(long maxVersions)(Code)
Set the max. number of versions to keep, if negative unlimited
Parameters:
  maxVersions - max. number of versions to keep, if negative unlimited the type itself, useful for chained calls



setMode
public FxTypeEdit setMode(TypeMode mode)(Code)
Set this type's mode. Setting does not check anything, if the requested mode is really available and possible is determined during saving
Parameters:
  mode - requested mode this



setName
public FxTypeEdit setName(String name)(Code)
Set the name of this type
Parameters:
  name - the name of this type the type itself, useful for chained calls



setPermissions
public FxTypeEdit setPermissions(byte permissions)(Code)
Set the bit coded permissions of this type
Parameters:
  permissions - bit coded permissions the type itself, useful for chained calls



setRemoveInstancesWithRelationTypes
public void setRemoveInstancesWithRelationTypes(boolean removeInstancesWithRelationTypes)(Code)
Set if affected instances should be removed if FxTypeRelations are removed
Parameters:
  removeInstancesWithRelationTypes - if affected instances should be removed if FxTypeRelations are removed



setState
public FxTypeEdit setState(TypeState state)(Code)
Set the state of this type
Parameters:
  state - the state of this type the type itself, useful for chained calls



setTrackHistory
public FxTypeEdit setTrackHistory(boolean trackHistory)(Code)
Track history for this type
Parameters:
  trackHistory - track history? the type itself, useful for chained calls



setUseInstancePermissions
public FxTypeEdit setUseInstancePermissions(boolean use)(Code)
Set usage of instance permissions
Parameters:
  use - use instance permissions? the type itself, useful for chained calls



setUsePropertyPermissions
public FxTypeEdit setUsePropertyPermissions(boolean use)(Code)
Set usage of property permissions
Parameters:
  use - use property permissions? the type itself, useful for chained calls



setUseStepPermissions
public FxTypeEdit setUseStepPermissions(boolean use)(Code)
Set usage of step permissions
Parameters:
  use - use step permissions? the type itself, useful for chained calls



setUseTypePermissions
public FxTypeEdit setUseTypePermissions(boolean use)(Code)
Set usage of type permissions
Parameters:
  use - use type permissions? the type itself, useful for chained calls



setWorkflow
public FxTypeEdit setWorkflow(Workflow workflow)(Code)
Set the workflow to use
Parameters:
  workflow - the workflow to use the type itself, useful for chained calls



updateRelation
public void updateRelation(FxTypeRelation relation) throws FxInvalidParameterException(Code)
Add or update a relation
Parameters:
  relation - the relation to add or update
throws:
  FxInvalidParameterException - if the relation is invalid.



Fields inherited from com.flexive.shared.structure.FxType
protected ACL ACL(Code)(Java Doc)
final public static String CONTACTDATA(Code)(Java Doc)
final public static String FOLDER(Code)(Java Doc)
final public static long ROOT_ID(Code)(Java Doc)
protected List<FxGroupAssignment> assignedGroups(Code)(Java Doc)
protected List<FxPropertyAssignment> assignedProperties(Code)(Java Doc)
protected TypeCategory category(Code)(Java Doc)
protected boolean checkValidity(Code)(Java Doc)
protected List<FxType> derivedTypes(Code)(Java Doc)
protected FxString description(Code)(Java Doc)
protected long historyAge(Code)(Java Doc)
protected long id(Code)(Java Doc)
protected LanguageMode language(Code)(Java Doc)
protected LifeCycleInfo lifeCycleInfo(Code)(Java Doc)
protected int maxRelDestination(Code)(Java Doc)
protected int maxRelSource(Code)(Java Doc)
protected long maxVersions(Code)(Java Doc)
protected TypeMode mode(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected FxType parent(Code)(Java Doc)
protected byte permissions(Code)(Java Doc)
protected List<FxTypeRelation> relations(Code)(Java Doc)
protected Map<FxScriptEvent, long[]> scriptMapping(Code)(Java Doc)
protected List<FxAssignment> scriptedAssignments(Code)(Java Doc)
protected TypeState state(Code)(Java Doc)
protected TypeStorageMode storageMode(Code)(Java Doc)
protected boolean trackHistory(Code)(Java Doc)
protected List<FxProperty> uniqueProperties(Code)(Java Doc)
protected Workflow workflow(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxType
public FxTypeEdit asEditable()(Code)(Java Doc)
public String buildXPathPrefix(FxPK pk)(Code)(Java Doc)
public FxGroupData createEmptyData(String xpPrefix) throws FxCreateException(Code)(Java Doc)
public FxGroupData createRandomData(FxPK pk, FxEnvironment env, Random rnd, int maxMultiplicity) throws FxCreateException(Code)(Java Doc)
public ACL getACL()(Code)(Java Doc)
public List<FxGroupAssignment> getAssignedGroups()(Code)(Java Doc)
public List<FxPropertyAssignment> getAssignedProperties()(Code)(Java Doc)
public FxAssignment getAssignment(String parentXPath) throws FxInvalidParameterException, FxNotFoundException(Code)(Java Doc)
public List<FxPropertyAssignment> getAssignmentsForDataType(FxDataType dataType)(Code)(Java Doc)
public List<FxPropertyAssignment> getAssignmentsForProperty(long propertyId)(Code)(Java Doc)
public byte getBitCodedPermissions()(Code)(Java Doc)
public TypeCategory getCategory()(Code)(Java Doc)
public List<FxAssignment> getConnectedAssignments(String parentXPath) throws FxInvalidParameterException, FxNotFoundException(Code)(Java Doc)
public List<FxType> getDerivedTypes()(Code)(Java Doc)
public FxString getDescription()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public FxGroupAssignment getGroupAssignment(String parentXPath) throws FxInvalidParameterException, FxNotFoundException(Code)(Java Doc)
public long getHistoryAge()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public FxString getLabel()(Code)(Java Doc)
public LanguageMode getLanguage()(Code)(Java Doc)
public LifeCycleInfo getLifeCycleInfo()(Code)(Java Doc)
public int getMaxRelDestination()(Code)(Java Doc)
public int getMaxRelSource()(Code)(Java Doc)
public long getMaxVersions()(Code)(Java Doc)
public TypeMode getMode()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public FxType getParent()(Code)(Java Doc)
public FxPropertyAssignment getPropertyAssignment(String parentXPath) throws FxInvalidParameterException, FxNotFoundException(Code)(Java Doc)
public List<FxTypeRelation> getRelations()(Code)(Java Doc)
public long[] getScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public synchronized List<FxAssignment> getScriptedAssignments(FxScriptEvent event)(Code)(Java Doc)
public TypeState getState()(Code)(Java Doc)
public TypeStorageMode getStorageMode()(Code)(Java Doc)
public List<FxProperty> getUniqueProperties()(Code)(Java Doc)
public Workflow getWorkflow()(Code)(Java Doc)
public boolean hasScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public boolean hasScriptedAssignments()(Code)(Java Doc)
public boolean hasUniqueProperties()(Code)(Java Doc)
public boolean isCheckValidity()(Code)(Java Doc)
public boolean isDerived()(Code)(Java Doc)
public boolean isRelation()(Code)(Java Doc)
public boolean isTrackHistory()(Code)(Java Doc)
public boolean isXPathValid(String XPath, boolean checkProperty)(Code)(Java Doc)
public void reloadWorkflow(FxEnvironment environment)(Code)(Java Doc)
public void resolveReferences(FxEnvironment fxStructure) throws FxNotFoundException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public boolean useInstancePermissions()(Code)(Java Doc)
public boolean usePermissions()(Code)(Java Doc)
public boolean usePropertyPermissions()(Code)(Java Doc)
public boolean useStepPermissions()(Code)(Java Doc)
public boolean useTypePermissions()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.