| java.lang.Object org.opencms.importexport.CmsImportVersion7
CmsImportVersion7 | public class CmsImportVersion7 implements I_CmsImport(Code) | | Adds the XML handler rules for import and export of resources and accounts.
author: Michael Moossen version: $Revision: 1.4 $ since: 7.0.4 |
Field Summary | |
final public static String | A_NAME Tag for the "userinfo/entry@name" attribute, contains the additional user info entry name. | final public static String | A_TYPE Tag for the "type" attribute, contains the property type. | final public static String | DTD_FILENAME The name of the DTD for this import version. | final public static String | DTD_LOCATION The location of the OpenCms configuration DTD if the default prefix is the system ID. | final public static int | IMPORT_VERSION7 | final public static String | N_ACCESSCONTROL_ALLOWEDPERMISSIONS Tag for the "allowed" node, to identify allowed user permissions. | final public static String | N_ACCESSCONTROL_DENIEDPERMISSIONS Tag for the "denied" node, to identify denied user permissions. | final public static String | N_ACCESSCONTROL_ENTRIES Tag for the "accesscontrol" node, to identify access control entries. | final public static String | N_ACCESSCONTROL_ENTRY Tag for the "accessentry" node, to identify a single access control entry. | final public static String | N_ACCESSCONTROL_PERMISSIONSET Tag for the "permissionset" node, to identify a permission set. | final public static String | N_ACCESSCONTROL_PRINCIPAL Tag for the "uuidprincipal" node, to identify a principal UUID. | final public static String | N_ACCOUNTS Tag for the "accounts" node. | final public static String | N_DATECREATED Tag for the "datecreated" node, contains the date created VFS file attribute. | final public static String | N_DATEEXPIRED Tag for the "dateexpired" node, contains the expiration date VFS file attribute. | final public static String | N_DATELASTMODIFIED Tag for the "datelastmodified" node, contains the date last modified VFS file attribute. | final public static String | N_DATERELEASED Tag for the "datereleased" node, contains the release date VFS file attribute. | final public static String | N_DESCRIPTION Tag for the "description" node, contains a users description test. | final public static String | N_DESTINATION Tag for the "destination" node, contains target VFS file name. | final public static String | N_EMAIL Tag for the "email" node, contains a users email. | final public static String | N_FILE Tag for the "file" node, container node for all VFS resources. | final public static String | N_FILES Tag for the "files" node, container node for all VFS resources. | final public static String | N_FIRSTNAME Tag for the "firstname" node, contains a users first name. | final public static String | N_FLAGS Tag for the "flags" node, contains the flags of a VFS resource. | final public static String | N_GROUP Tag for the "group" node, contains a group name. | final public static String | N_GROUPS Tag for the "groups" node, contains a users group data. | final public static String | N_ID Tag for the "id" relation attribute, contains the structure id of the target resource of the relation. | final public static String | N_LASTNAME Tag for the "lastname" node, contains a users last name. | final public static String | N_MANAGERSGROUP Tag for the "managersgroup" node, contains name of the managers group of the project. | final public static String | N_NAME Tag for the "name" node, contains the name of a property. | final public static String | N_ORGUNIT Tag for the "orgunit" node, starts the organizational unit data. | final public static String | N_ORGUNITS Tag for the "orgunits" node, starts the organizational unit data. | final public static String | N_PARENTGROUP Tag for the "parentgroup" node, contains a groups parent group fqn. | final public static String | N_PASSWORD Tag for the "password" node, contains a users encrypted password. | final public static String | N_PATH Tag for the "path" relation attribute, contains the path to the target resource of the relation. | final public static String | N_PROJECT Tag for the "project" node, starts the project data. | final public static String | N_PROJECTS Tag for the "projects" node, starts the project data. | final public static String | N_PROPERTIES Tag for the "properties" node, starts the list of properties of a VFS resource. | final public static String | N_PROPERTY Tag for the "property" node, starts a property for a VFS resource. | final public static String | N_RELATION Tag in the [@link #EXPORT_MANIFEST} for the "relation" node, starts a relation for a VFS resource. | final public static String | N_RELATIONS Tag for the "relations" node, starts the list of relations of a VFS resources. | final public static String | N_RESOURCE Tag for the "resource" node, contains the a organizational unit resource name. | final public static String | N_RESOURCES Tag for the "resources" node, contains the list of organizational unit resources. | final public static String | N_SOURCE Tag for the "source" node, contains the source path of a VFS resource in the import zip (or folder). | final public static String | N_TYPE Tag for the "type" node, the resource type name of a VFS resource. | final public static String | N_USER Tag for the "user" node, starts the user data. | final public static String | N_USERCREATED Tag for the "usercreated" node, contains the name of the user who created the VFS resource. | final public static String | N_USERGROUP Tag for the "usergroup" node, the name of a users group. | final public static String | N_USERGROUPS Tag for the "usergroups" node, starts the users group data. | final public static String | N_USERINFO Tag for the "userinfo" node, contains the additional user info. | final public static String | N_USERINFO_ENTRY Tag for the "userinfo/entry" node, contains the additional user info entry value. | final public static String | N_USERLASTMODIFIED Tag for the "userlastmodified" node, contains the name of the user who last modified the VFS resource. | final public static String | N_USERROLE Tag for the "userrole" node, contains an users role name. | final public static String | N_USERROLES Tag for the "userroles" node, starts the users role data. | final public static String | N_USERS Tag for the "users" node, starts the list of users. | final public static String | N_USERSGROUP Tag for the "usersgroup" node, contains name of the users group of the project. | final public static String | N_UUIDRESOURCE Tag for the "uuidresource" node, contains a the resource UUID of a VFS resource. | final public static String | N_UUIDSTRUCTURE Tag for the "uuidstructure" node, only required for backward compatibility with import version 2. | final public static String | N_VALUE Tag for the "value" node, contains the value of a property. | final public static String | PROPERTY_ATTRIB_TYPE_SHARED Value for the "shared" property type attribute value. |
Method Summary | |
public void | addAccessControlEntry() | protected void | addAccountsGroupRules(Digester digester, String xpath) | protected void | addAccountsOrgunitRules(Digester digester, String xpath) | protected void | addAccountsUserRules(Digester digester, String xpath) | public void | addOrgUnitResource(String resourceName) | public void | addProjectResource(String resourceName) | protected void | addProjectRules(Digester digester, String xpath) | public void | addProperty() | public void | addProperty(String propertyType) | public void | addRelation() | protected void | addResourceAceRules(Digester digester, String xpath) | protected void | addResourceAttributesRules(Digester digester, String xpath) | protected void | addResourcePropertyRules(Digester digester, String xpath) | protected void | addResourceRelationRules(Digester digester, String xpath) | public void | addXmlDigesterRules(Digester digester) | public void | addXmlPreprocessingDigesterRules(Digester digester) | public void | associateOrgUnitResources() | protected boolean | checkImmutable(String resourceName) | protected String | convertDigestEncoding(String value) | protected long | convertTimestamp(String timestamp) | public int | getAceFlags() | public int | getAcePermissionsAllowed() | public int | getAcePermissionsDenied() | public CmsUUID | getAcePrincipalId() | public CmsObject | getCms() | public long | getDateCreated() | public long | getDateExpired() | public long | getDateLastModified() | public long | getDateReleased() | public String | getDestination() | public int | getFlags() | public String | getGroupDescription() | public int | getGroupFlags() | public String | getGroupName() | public String | getGroupParent() | protected List | getIgnoredProperties() | protected List | getImmutableResources() | public String | getOrgUnitDescription() | public int | getOrgUnitFlags() | public String | getOrgUnitName() | public String | getProjectDescription() | public String | getProjectManagers() | public String | getProjectName() | public String | getProjectUsers() | public String | getPropertyName() | public String | getPropertyValue() | public CmsUUID | getRelationId() | public String | getRelationPath() | public CmsRelationType | getRelationType() | public I_CmsReport | getReport() | public CmsUUID | getResourceId() | public String | getSource() | public CmsUUID | getStructureId() | public Throwable | getThrowable() | public I_CmsResourceType | getType() | public CmsUUID | getUserCreated() | public long | getUserDateCreated() | public String | getUserEmail() | public String | getUserFirstname() | public int | getUserFlags() | public CmsUUID | getUserLastModified() | public String | getUserLastname() | public String | getUserName() | public String | getUserPassword() | public int | getVersion() | public void | importAccessControlEntries() | public void | importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) | public void | importGroup() | public void | importOrgUnit() | public void | importProject() | public void | importRelations() | public void | importResource() | public void | importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, Document docXml) | public void | importUser() | public void | importUserGroup(String groupName) | public void | importUserInfo(String infoName, String infoType, String infoValue) | public void | importUserRole(String roleName) | public void | increaseCounter() | public void | increaseTotalFiles() | public boolean | matches(CmsImportParameters parameters) | public void | rewriteParseables() | public void | setAceFlags(String aceFlags) | public void | setAcePermissionsAllowed(String acePermissionsAllowed) | public void | setAcePermissionsDenied(String acePermissionsDenied) | public void | setAcePrincipalId(String acePrincipalId) | public void | setDateCreated(String dateCreated) | public void | setDateExpired(String dateExpired) | public void | setDateLastModified(String dateLastModified) | public void | setDateReleased(String dateReleased) | public void | setDestination(String destination) | public void | setFlags(String flags) | public void | setGroupDescription(String groupDescription) | public void | setGroupFlags(String groupFlags) | public void | setGroupName(String groupName) | public void | setGroupParent(String groupParent) | public void | setMembership() | public void | setOrgUnitDescription(String orgUnitDescription) | public void | setOrgUnitFlags(String orgUnitFlags) | public void | setOrgUnitName(String orgUnitName) | public void | setProjectDescription(String projectDescription) | public void | setProjectManagers(String projectManagers) | public void | setProjectName(String projectName) | public void | setProjectUsers(String projectUsers) | public void | setPropertyName(String propertyName) | public void | setPropertyValue(String propertyValue) | public void | setRelationId(String relationId) | public void | setRelationPath(String relationPath) | public void | setRelationType(String relationType) | public void | setResourceId(String resourceId) | public void | setSource(String source) | public void | setStructureId(String structureId) | public void | setThrowable(Throwable throwable) | public void | setType(String typeName) | public void | setUserCreated(CmsUUID userCreated) | public void | setUserCreated(String userCreated) | public void | setUserDateCreated(String userDateCreated) | public void | setUserEmail(String userEmail) | public void | setUserFirstname(String userFirstname) | public void | setUserFlags(String userFlags) | public void | setUserLastModified(CmsUUID userLastModified) | public void | setUserLastModified(String userLastModified) | public void | setUserLastname(String userLastname) | public void | setUserName(String userName) | public void | setUserPassword(String userPassword) | public void | setVersion(String version) |
A_NAME | final public static String A_NAME(Code) | | Tag for the "userinfo/entry@name" attribute, contains the additional user info entry name.
|
A_TYPE | final public static String A_TYPE(Code) | | Tag for the "type" attribute, contains the property type.
|
DTD_FILENAME | final public static String DTD_FILENAME(Code) | | The name of the DTD for this import version.
|
DTD_LOCATION | final public static String DTD_LOCATION(Code) | | The location of the OpenCms configuration DTD if the default prefix is the system ID.
|
IMPORT_VERSION7 | final public static int IMPORT_VERSION7(Code) | | The version number of this import implementation.
|
N_ACCESSCONTROL_ALLOWEDPERMISSIONS | final public static String N_ACCESSCONTROL_ALLOWEDPERMISSIONS(Code) | | Tag for the "allowed" node, to identify allowed user permissions.
|
N_ACCESSCONTROL_DENIEDPERMISSIONS | final public static String N_ACCESSCONTROL_DENIEDPERMISSIONS(Code) | | Tag for the "denied" node, to identify denied user permissions.
|
N_ACCESSCONTROL_ENTRIES | final public static String N_ACCESSCONTROL_ENTRIES(Code) | | Tag for the "accesscontrol" node, to identify access control entries.
|
N_ACCESSCONTROL_ENTRY | final public static String N_ACCESSCONTROL_ENTRY(Code) | | Tag for the "accessentry" node, to identify a single access control entry.
|
N_ACCESSCONTROL_PERMISSIONSET | final public static String N_ACCESSCONTROL_PERMISSIONSET(Code) | | Tag for the "permissionset" node, to identify a permission set.
|
N_ACCESSCONTROL_PRINCIPAL | final public static String N_ACCESSCONTROL_PRINCIPAL(Code) | | Tag for the "uuidprincipal" node, to identify a principal UUID.
|
N_ACCOUNTS | final public static String N_ACCOUNTS(Code) | | Tag for the "accounts" node.
|
N_DATECREATED | final public static String N_DATECREATED(Code) | | Tag for the "datecreated" node, contains the date created VFS file attribute.
|
N_DATEEXPIRED | final public static String N_DATEEXPIRED(Code) | | Tag for the "dateexpired" node, contains the expiration date VFS file attribute.
|
N_DATELASTMODIFIED | final public static String N_DATELASTMODIFIED(Code) | | Tag for the "datelastmodified" node, contains the date last modified VFS file attribute.
|
N_DATERELEASED | final public static String N_DATERELEASED(Code) | | Tag for the "datereleased" node, contains the release date VFS file attribute.
|
N_DESCRIPTION | final public static String N_DESCRIPTION(Code) | | Tag for the "description" node, contains a users description test.
|
N_DESTINATION | final public static String N_DESTINATION(Code) | | Tag for the "destination" node, contains target VFS file name.
|
N_EMAIL | final public static String N_EMAIL(Code) | | Tag for the "email" node, contains a users email.
|
N_FILE | final public static String N_FILE(Code) | | Tag for the "file" node, container node for all VFS resources.
|
N_FILES | final public static String N_FILES(Code) | | Tag for the "files" node, container node for all VFS resources.
|
N_FIRSTNAME | final public static String N_FIRSTNAME(Code) | | Tag for the "firstname" node, contains a users first name.
|
N_FLAGS | final public static String N_FLAGS(Code) | | Tag for the "flags" node, contains the flags of a VFS resource.
|
N_GROUP | final public static String N_GROUP(Code) | | Tag for the "group" node, contains a group name.
|
N_GROUPS | final public static String N_GROUPS(Code) | | Tag for the "groups" node, contains a users group data.
|
N_ID | final public static String N_ID(Code) | | Tag for the "id" relation attribute, contains the structure id of the target resource of the relation.
|
N_LASTNAME | final public static String N_LASTNAME(Code) | | Tag for the "lastname" node, contains a users last name.
|
N_MANAGERSGROUP | final public static String N_MANAGERSGROUP(Code) | | Tag for the "managersgroup" node, contains name of the managers group of the project.
|
N_NAME | final public static String N_NAME(Code) | | Tag for the "name" node, contains the name of a property.
|
N_ORGUNIT | final public static String N_ORGUNIT(Code) | | Tag for the "orgunit" node, starts the organizational unit data.
|
N_ORGUNITS | final public static String N_ORGUNITS(Code) | | Tag for the "orgunits" node, starts the organizational unit data.
|
N_PARENTGROUP | final public static String N_PARENTGROUP(Code) | | Tag for the "parentgroup" node, contains a groups parent group fqn.
|
N_PASSWORD | final public static String N_PASSWORD(Code) | | Tag for the "password" node, contains a users encrypted password.
|
N_PATH | final public static String N_PATH(Code) | | Tag for the "path" relation attribute, contains the path to the target resource of the relation.
|
N_PROJECT | final public static String N_PROJECT(Code) | | Tag for the "project" node, starts the project data.
|
N_PROJECTS | final public static String N_PROJECTS(Code) | | Tag for the "projects" node, starts the project data.
|
N_PROPERTIES | final public static String N_PROPERTIES(Code) | | Tag for the "properties" node, starts the list of properties of a VFS resource.
|
N_PROPERTY | final public static String N_PROPERTY(Code) | | Tag for the "property" node, starts a property for a VFS resource.
|
N_RELATION | final public static String N_RELATION(Code) | | Tag in the [@link #EXPORT_MANIFEST} for the "relation" node, starts a relation for a VFS resource.
|
N_RELATIONS | final public static String N_RELATIONS(Code) | | Tag for the "relations" node, starts the list of relations of a VFS resources.
|
N_RESOURCE | final public static String N_RESOURCE(Code) | | Tag for the "resource" node, contains the a organizational unit resource name.
|
N_RESOURCES | final public static String N_RESOURCES(Code) | | Tag for the "resources" node, contains the list of organizational unit resources.
|
N_SOURCE | final public static String N_SOURCE(Code) | | Tag for the "source" node, contains the source path of a VFS resource in the import zip (or folder).
|
N_TYPE | final public static String N_TYPE(Code) | | Tag for the "type" node, the resource type name of a VFS resource.
|
N_USER | final public static String N_USER(Code) | | Tag for the "user" node, starts the user data.
|
N_USERCREATED | final public static String N_USERCREATED(Code) | | Tag for the "usercreated" node, contains the name of the user who created the VFS resource.
|
N_USERGROUP | final public static String N_USERGROUP(Code) | | Tag for the "usergroup" node, the name of a users group.
|
N_USERGROUPS | final public static String N_USERGROUPS(Code) | | Tag for the "usergroups" node, starts the users group data.
|
N_USERINFO | final public static String N_USERINFO(Code) | | Tag for the "userinfo" node, contains the additional user info.
|
N_USERINFO_ENTRY | final public static String N_USERINFO_ENTRY(Code) | | Tag for the "userinfo/entry" node, contains the additional user info entry value.
|
N_USERLASTMODIFIED | final public static String N_USERLASTMODIFIED(Code) | | Tag for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.
|
N_USERROLE | final public static String N_USERROLE(Code) | | Tag for the "userrole" node, contains an users role name.
|
N_USERROLES | final public static String N_USERROLES(Code) | | Tag for the "userroles" node, starts the users role data.
|
N_USERS | final public static String N_USERS(Code) | | Tag for the "users" node, starts the list of users.
|
N_USERSGROUP | final public static String N_USERSGROUP(Code) | | Tag for the "usersgroup" node, contains name of the users group of the project.
|
N_UUIDRESOURCE | final public static String N_UUIDRESOURCE(Code) | | Tag for the "uuidresource" node, contains a the resource UUID of a VFS resource.
|
N_UUIDSTRUCTURE | final public static String N_UUIDSTRUCTURE(Code) | | Tag for the "uuidstructure" node, only required for backward compatibility with import version 2.
|
N_VALUE | final public static String N_VALUE(Code) | | Tag for the "value" node, contains the value of a property.
|
PROPERTY_ATTRIB_TYPE_SHARED | final public static String PROPERTY_ATTRIB_TYPE_SHARED(Code) | | Value for the "shared" property type attribute value.
|
CmsImportVersion7 | public CmsImportVersion7()(Code) | | Public constructor.
|
addAccountsGroupRules | protected void addAccountsGroupRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for groups.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addAccountsOrgunitRules | protected void addAccountsOrgunitRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for organizational units.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addAccountsUserRules | protected void addAccountsUserRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for users.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addOrgUnitResource | public void addOrgUnitResource(String resourceName)(Code) | | Adds a new resource to be associated to the current organizational unit.
Parameters: resourceName - the resource name to add |
addProjectResource | public void addProjectResource(String resourceName)(Code) | | Adds a new resource to be associated to the current project.
Parameters: resourceName - the resource name to add |
addProjectRules | protected void addProjectRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for projects.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addResourceAceRules | protected void addResourceAceRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for resource access control entries.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addResourceAttributesRules | protected void addResourceAttributesRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for resource attributes.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addResourcePropertyRules | protected void addResourcePropertyRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for resource properties.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addResourceRelationRules | protected void addResourceRelationRules(Digester digester, String xpath)(Code) | | Adds the XML digester rules for resource relations.
Parameters: digester - the digester to add the rules to Parameters: xpath - the base xpath for the rules |
addXmlDigesterRules | public void addXmlDigesterRules(Digester digester)(Code) | | Adds the XML digester rules for a single import file.
Parameters: digester - the digester to add the rules to |
addXmlPreprocessingDigesterRules | public void addXmlPreprocessingDigesterRules(Digester digester)(Code) | | Adds the XML digester rules for pre-processing a single import file.
Parameters: digester - the digester to add the rules to |
checkImmutable | protected boolean checkImmutable(String resourceName)(Code) | | Checks if the resources is in the list of immutable resources.
Parameters: resourceName - the name of the resource true or false |
convertDigestEncoding | protected String convertDigestEncoding(String value)(Code) | | Converts a given digest to base64 encoding.
Parameters: value - the digest value in the legacy encoding the digest in the new encoding |
convertTimestamp | protected long convertTimestamp(String timestamp)(Code) | | Convert a given time stamp from a String format to a long value.
The time stamp is either the string representation of a long value (old export format)
or a user-readable string format.
Parameters: timestamp - time stamp to convert long value of the time stamp |
getCms | public CmsObject getCms()(Code) | | Returns the cms object.
the cms object |
getGroupDescription | public String getGroupDescription()(Code) | | Returns the group Description.
the group Description |
getGroupFlags | public int getGroupFlags()(Code) | | Returns the group Flags.
the group Flags |
getGroupName | public String getGroupName()(Code) | | Returns the group Name.
the group Name |
getGroupParent | public String getGroupParent()(Code) | | Returns the group Parent.
the group Parent |
getIgnoredProperties | protected List getIgnoredProperties()(Code) | | Returns the list of properties to ignore during import.
the list of properties to ignore during import |
getImmutableResources | protected List getImmutableResources()(Code) | | Returns the list of immutable resources.
the list of immutable resources |
getOrgUnitDescription | public String getOrgUnitDescription()(Code) | | Returns the organizational unit description.
the organizational unit description |
getOrgUnitFlags | public int getOrgUnitFlags()(Code) | | Returns the organizational unit flags.
the organizational unit flags |
getOrgUnitName | public String getOrgUnitName()(Code) | | Returns the organizational unit name.
the organizational unit name |
getProjectDescription | public String getProjectDescription()(Code) | | Returns the project Description.
the project Description |
getProjectManagers | public String getProjectManagers()(Code) | | Returns the project Managers group name.
the project Managers group name |
getProjectName | public String getProjectName()(Code) | | Returns the project Name.
the project Name |
getProjectUsers | public String getProjectUsers()(Code) | | Returns the project Users group name.
the project Users group name |
getThrowable | public Throwable getThrowable()(Code) | | Returns the throwable.
the throwable |
getUserDateCreated | public long getUserDateCreated()(Code) | | Returns the user Date Created.
the user Date Created |
getUserEmail | public String getUserEmail()(Code) | | Returns the user Email address.
the user Email address |
getUserFirstname | public String getUserFirstname()(Code) | | Returns the user First name.
the user First name |
getUserFlags | public int getUserFlags()(Code) | | Returns the user Flags.
the user Flags |
getUserLastname | public String getUserLastname()(Code) | | Returns the user Last name.
the user Last name |
getUserName | public String getUserName()(Code) | | Returns the user Name.
the user Name |
getUserPassword | public String getUserPassword()(Code) | | Returns the user Password.
the user Password |
importGroup | public void importGroup()(Code) | | Import the current group from xml data.
|
importOrgUnit | public void importOrgUnit()(Code) | | Imports the current organizational unit.
|
importProject | public void importProject()(Code) | | Imports the current project.
|
importUser | public void importUser()(Code) | | Imports a new user from the current xml data.
|
importUserGroup | public void importUserGroup(String groupName)(Code) | | Sets the current user as member of the given group.
It can happen that the organizational unit has not been imported jet,
in this case, the data is kept for later.
Parameters: groupName - the name of the group to set See Also: CmsImportVersion7.setMembership() |
importUserInfo | public void importUserInfo(String infoName, String infoType, String infoValue)(Code) | | Creates a new additional information entry for the current user.
Parameters: infoName - the name of the additional information entry Parameters: infoType - the type of the additional information entry Parameters: infoValue - the value of the additional information entry |
importUserRole | public void importUserRole(String roleName)(Code) | | Sets the current user as member of the given role.
It can happen that the organizational unit has not been imported jet,
in this case, the data is kept for later.
Parameters: roleName - the name of the role to set See Also: CmsImportVersion7.setMembership() |
increaseCounter | public void increaseCounter()(Code) | | Increases the file counter.
|
increaseTotalFiles | public void increaseTotalFiles()(Code) | | Increases the total number of files.
|
rewriteParseables | public void rewriteParseables()(Code) | | Rewrites all parseable files, to assure link check.
This is a global process, that is executed only once at the
end of the import to be sure that all link targets are
available.
See Also: CmsImportVersion7.addXmlDigesterRules(Digester) |
setGroupDescription | public void setGroupDescription(String groupDescription)(Code) | | Sets the group Description.
Parameters: groupDescription - the description to set |
setGroupFlags | public void setGroupFlags(String groupFlags)(Code) | | Sets the group Flags.
Parameters: groupFlags - the flags to set |
setGroupName | public void setGroupName(String groupName)(Code) | | Sets the group Name.
Parameters: groupName - the name to set |
setGroupParent | public void setGroupParent(String groupParent)(Code) | | Sets the group Parent.
Parameters: groupParent - the group Parent to set |
setMembership | public void setMembership()(Code) | | Sets the membership information that could not been set immediately,
because of import order issues.
|
setOrgUnitDescription | public void setOrgUnitDescription(String orgUnitDescription)(Code) | | Sets the organizational unit description.
Parameters: orgUnitDescription - the description to set |
setOrgUnitFlags | public void setOrgUnitFlags(String orgUnitFlags)(Code) | | Sets the organizational unit flags.
Parameters: orgUnitFlags - the flags to set |
setOrgUnitName | public void setOrgUnitName(String orgUnitName)(Code) | | Sets the organizational unit name.
Parameters: orgUnitName - the name to set |
setProjectDescription | public void setProjectDescription(String projectDescription)(Code) | | Sets the project Description.
Parameters: projectDescription - the description to set |
setProjectManagers | public void setProjectManagers(String projectManagers)(Code) | | Sets the project Managers group name.
Parameters: projectManagers - the managers group to set |
setProjectName | public void setProjectName(String projectName)(Code) | | Sets the project Name.
Parameters: projectName - the name to set |
setProjectUsers | public void setProjectUsers(String projectUsers)(Code) | | Sets the project Users group name.
Parameters: projectUsers - the Users group to set |
setThrowable | public void setThrowable(Throwable throwable)(Code) | | Sets the throwable.
Parameters: throwable - the throwable to set |
setUserCreated | public void setUserCreated(CmsUUID userCreated)(Code) | | Sets the user Created.
Parameters: userCreated - the user Created to set |
setUserDateCreated | public void setUserDateCreated(String userDateCreated)(Code) | | Sets the user Date Created.
Parameters: userDateCreated - the date to set |
setUserEmail | public void setUserEmail(String userEmail)(Code) | | Sets the user email address.
Parameters: userEmail - the email address to set |
setUserFirstname | public void setUserFirstname(String userFirstname)(Code) | | Sets the user First name.
Parameters: userFirstname - the first name to set |
setUserFlags | public void setUserFlags(String userFlags)(Code) | | Sets the user Flags.
Parameters: userFlags - the flags to set |
setUserLastModified | public void setUserLastModified(CmsUUID userLastModified)(Code) | | Sets the user Last Modified.
Parameters: userLastModified - the user Last Modified to set |
setUserLastname | public void setUserLastname(String userLastname)(Code) | | Sets the user Last name.
Parameters: userLastname - the last name to set |
setUserName | public void setUserName(String userName)(Code) | | Sets the user Name.
Parameters: userName - the name to set |
setUserPassword | public void setUserPassword(String userPassword)(Code) | | Sets the user Password.
Parameters: userPassword - the password to set |
setVersion | public void setVersion(String version)(Code) | | Sets the export version from the manifest file.
Parameters: version - the export version to set |
|
|