if (!m_exportedResources.contains(file.getResourceId())) { m_exportedResources.add(file.getResourceId());
if (!m_exportedResources.contains(file.getResourceId())) { m_exportedResources.add(file.getResourceId());
m_vfsDriver.writeContent(dbc, resource.getResourceId(), contents);
/** * Returns the virtual resource as a file.<p> * * @return the virtual resource as a file */ public CmsFile getFile() { if (m_base instanceof CmsFile) { CmsFile file = (CmsFile)m_base; return new CmsFile( file.getStructureId(), file.getResourceId(), m_rootPath, m_typeId, file.getFlags(), file.getProjectLastModified(), file.getState(), file.getDateCreated(), file.getUserCreated(), file.getDateLastModified(), file.getUserLastModified(), file.getDateReleased(), file.getDateExpired(), file.getSiblingCount(), file.getLength(), file.getDateContent(), file.getVersion(), file.getContents()); } return new CmsFile(getResource()); }
getResourceId(), getRootPath(), getTypeId(),
getVfsDriver(dbc).writeContent(dbc, resource.getResourceId(), contents);
onlineProject, offlineResource.getResourceId(), newFile.getResourceId()); } catch (CmsDataAccessException e) { if (LOG.isErrorEnabled()) {
dbc, onlineProject.getUuid(), offlineFile.getResourceId())) { offlineFile.getResourceId(), offlineFile.getContents(), publishTag,
onlineProject, offlineResource.getResourceId(), newFile.getResourceId()); } catch (CmsDataAccessException e) { if (LOG.isErrorEnabled()) {
onlineProject, offlineResource.getResourceId(), newFile.getResourceId()); } catch (CmsDataAccessException e) { if (LOG.isErrorEnabled()) {
dbc, onlineProject.getUuid(), offlineFile.getResourceId())) { offlineFile.getResourceId(), offlineFile.getContents(), publishTag,
dbc, onlineProject.getUuid(), offlineFile.getResourceId())) { offlineFile.getResourceId(), offlineFile.getContents(), publishTag,
CmsFile offlineFile = new CmsFile(offlineResource); offlineFile.setContents( vfsDriver.readContent(dbc, dbc.currentProject().getUuid(), offlineFile.getResourceId())); internalWriteHistory( dbc,
dbc.currentProject(), onlineProject, newFile.getResourceId(), offlineResource.getResourceId()); } catch (CmsDataAccessException e) {
getResourceId(), getRootPath(), getTypeId(),
dbc.currentProject(), onlineProject, newFile.getResourceId(), offlineResource.getResourceId()); } catch (CmsDataAccessException e) {
dbc.currentProject(), onlineProject, newFile.getResourceId(), offlineResource.getResourceId()); } catch (CmsDataAccessException e) {
/** * Returns the virtual resource as a file.<p> * * @return the virtual resource as a file */ public CmsFile getFile() { if (m_base instanceof CmsFile) { CmsFile file = (CmsFile)m_base; return new CmsFile( file.getStructureId(), file.getResourceId(), m_rootPath, m_typeId, file.getFlags(), file.getProjectLastModified(), file.getState(), file.getDateCreated(), file.getUserCreated(), file.getDateLastModified(), file.getUserLastModified(), file.getDateReleased(), file.getDateExpired(), file.getSiblingCount(), file.getLength(), file.getDateContent(), file.getVersion(), file.getContents()); } return new CmsFile(getResource()); }
dbc, dbc.currentProject().getUuid(), offlineFile.getResourceId())); internalWriteHistory(dbc, offlineFile, resourceState, null, publishHistoryId, publishTag);
dbc, dbc.currentProject().getUuid(), offlineFile.getResourceId())); internalWriteHistory(dbc, offlineFile, resourceState, null, publishHistoryId, publishTag);