Verschiedene deprecated Klassen und Methoden entfernt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@370 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b1e12b9e7f
commit
e20f3426b0
|
|
@ -15,7 +15,7 @@
|
||||||
// License along with this library; if not, write to the Free Software
|
// License along with this library; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// $Id: LifecycleService.pdl 287 2005-02-22 00:29:02Z sskracic $
|
// $Id: LifecycleService.pdl 1973 2009-09-09 16:16:44Z clasohm $
|
||||||
// $DateTime: 2004/08/17 23:15:09 $
|
// $DateTime: 2004/08/17 23:15:09 $
|
||||||
model com.arsdigita.cms;
|
model com.arsdigita.cms;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
// License along with this library; if not, write to the Free Software
|
// License along with this library; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// $Id: query-getEnabledUserTasks.ora.pdl 1280 2006-07-27 09:12:09Z cgyg9330 $
|
// $Id: query-getEnabledUserTasks.ora.pdl 1973 2009-09-09 16:16:44Z clasohm $
|
||||||
// $DateTime: 2004/08/17 23:15:09 $
|
// $DateTime: 2004/08/17 23:15:09 $
|
||||||
model com.arsdigita.cms.workflow;
|
model com.arsdigita.cms.workflow;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
// License along with this library; if not, write to the Free Software
|
// License along with this library; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// $Id: query-getEnabledUserTasks.pg.pdl 1280 2006-07-27 09:12:09Z cgyg9330 $
|
// $Id: query-getEnabledUserTasks.pg.pdl 1973 2009-09-09 16:16:44Z clasohm $
|
||||||
// $DateTime: 2004/08/17 23:15:09 $
|
// $DateTime: 2004/08/17 23:15:09 $
|
||||||
model com.arsdigita.cms.workflow;
|
model com.arsdigita.cms.workflow;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ import java.math.BigDecimal;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #28 $ $Date: 2004/08/17 $
|
* @version $Revision: #28 $ $Date: 2004/08/17 $
|
||||||
* @version $Id: Article.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: Article.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Article extends TextPage {
|
public class Article extends TextPage {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ public class ArticleImageAssociation extends ContentItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor retrieved the contained <code>DataObject</code> from the
|
* Constructor retrieves the contained <code>DataObject</code> from the
|
||||||
* persistent storage mechanism with an <code>OID</code> specified by
|
* persistent storage mechanism with an <code>OID</code> specified by
|
||||||
* <i>oid</i>.
|
* <i>oid</i>.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -31,13 +31,10 @@ import java.math.BigDecimal;
|
||||||
* authoring steps} in a particular order.
|
* authoring steps} in a particular order.
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
* @version $Id: AuthoringKitStepAssociation.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
class AuthoringKitStepAssociation extends DomainObject {
|
class AuthoringKitStepAssociation extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: AuthoringKitStepAssociation.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.AuthoringKitStepAssociation";
|
"com.arsdigita.cms.AuthoringKitStepAssociation";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,13 +30,10 @@ import java.math.BigDecimal;
|
||||||
* authoring kit}.
|
* authoring kit}.
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #13 $ $Date: 2004/08/17 $
|
* @version $Id: AuthoringStep.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class AuthoringStep extends ACSObject {
|
public class AuthoringStep extends ACSObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: AuthoringStep.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.AuthoringStep";
|
"com.arsdigita.cms.AuthoringStep";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,16 +26,14 @@ import com.arsdigita.persistence.DataCollection;
|
||||||
* Describes a set of {@link com.arsdigita.cms.AuthoringStep authoring
|
* Describes a set of {@link com.arsdigita.cms.AuthoringStep authoring
|
||||||
* steps}.
|
* steps}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:flattop@arsdigita.com">Jack Chung</a>
|
|
||||||
* @version 1.0
|
|
||||||
*
|
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:flattop@arsdigita.com">Jack Chung</a>
|
||||||
|
* @version $Id: AuthoringStepCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class AuthoringStepCollection extends DomainCollection {
|
public class AuthoringStepCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: AuthoringStepCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -38,12 +38,10 @@ import java.io.OutputStream;
|
||||||
* @author Jack Chung
|
* @author Jack Chung
|
||||||
* @author Stanislav Freidin
|
* @author Stanislav Freidin
|
||||||
*
|
*
|
||||||
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: BinaryAsset.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public abstract class BinaryAsset extends Asset {
|
public abstract class BinaryAsset extends Asset {
|
||||||
|
|
||||||
public static final String versionId = "$Id: BinaryAsset.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
protected BinaryAsset(OID oid) throws DataObjectNotFoundException {
|
protected BinaryAsset(OID oid) throws DataObjectNotFoundException {
|
||||||
super(oid);
|
super(oid);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ import java.math.BigDecimal;
|
||||||
/**
|
/**
|
||||||
* Represents a mapping from (category + content type) to a template.
|
* Represents a mapping from (category + content type) to a template.
|
||||||
*
|
*
|
||||||
* @version $Id: CategoryTemplateMapping.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: CategoryTemplateMapping.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*/
|
*/
|
||||||
public class CategoryTemplateMapping extends TemplateMapping {
|
public class CategoryTemplateMapping extends TemplateMapping {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,24 +53,24 @@ import org.apache.log4j.Logger;
|
||||||
*
|
*
|
||||||
* @author Shashin Shinde
|
* @author Shashin Shinde
|
||||||
* @author Justin Ross <jross@redhat.com>
|
* @author Justin Ross <jross@redhat.com>
|
||||||
* @version $Id: ContentBundle.java 967 2005-10-28 18:08:42Z sskracic $
|
* @version $Id: ContentBundle.java 2017 2009-10-04 09:03:45Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentBundle extends ContentItem {
|
public class ContentBundle extends ContentItem {
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger(ContentBundle.class);
|
private static final Logger s_log = Logger.getLogger(ContentBundle.class);
|
||||||
|
|
||||||
private static DomainObjectObserver s_instancesObserver =
|
private static DomainObjectObserver s_instancesObserver =
|
||||||
new AbstractDomainObjectObserver() {
|
new AbstractDomainObjectObserver() {
|
||||||
public void add(DomainObject dom, String name,
|
public void add(DomainObject dom, String name,
|
||||||
DataObject dobj) {
|
DataObject dobj) {
|
||||||
if (INSTANCES.equals(name)) {
|
if (INSTANCES.equals(name)) {
|
||||||
if (dobj != null) {
|
if (dobj != null) {
|
||||||
PermissionService.setContext(dobj.getOID(), dom.getOID());
|
PermissionService.setContext(dobj.getOID(), dom.getOID());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The base data object type of a bundle
|
* The base data object type of a bundle
|
||||||
*/
|
*/
|
||||||
|
|
@ -81,19 +81,19 @@ public class ContentBundle extends ContentItem {
|
||||||
* The primary instances association
|
* The primary instances association
|
||||||
*/
|
*/
|
||||||
public static final String INSTANCES = "instances";
|
public static final String INSTANCES = "instances";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The association to AtoZ aliases
|
* The association to AtoZ aliases
|
||||||
*/
|
*/
|
||||||
public static final String ATOZ_ALIASING_PROVIDERS = "atozAliasingProviders";
|
public static final String ATOZ_ALIASING_PROVIDERS = "atozAliasingProviders";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default language property
|
* The default language property
|
||||||
*/
|
*/
|
||||||
public static final String DEFAULT_LANGUAGE = "defaultLanguage";
|
public static final String DEFAULT_LANGUAGE = "defaultLanguage";
|
||||||
|
|
||||||
private boolean m_wasNew = false;
|
private boolean m_wasNew = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the data object type for this bundle.
|
* Returns the data object type for this bundle.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ import org.apache.log4j.Logger;
|
||||||
* @author Uday Mathur
|
* @author Uday Mathur
|
||||||
* @author Jack Chung
|
* @author Jack Chung
|
||||||
* @author Michael Pih
|
* @author Michael Pih
|
||||||
* @version $Id: ContentPage.java 1263 2006-07-17 08:18:47Z cgyg9330 $
|
* @version $Id: ContentPage.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentPage extends ContentItem {
|
public class ContentPage extends ContentItem {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ import org.apache.log4j.Logger;
|
||||||
* @see ContentSection#getConfig()
|
* @see ContentSection#getConfig()
|
||||||
*
|
*
|
||||||
* @author Justin Ross <jross@redhat.com>
|
* @author Justin Ross <jross@redhat.com>
|
||||||
* @version $Id: ContentSectionConfig.java 1689 2007-10-26 11:06:23Z chrisg23 $
|
* @version $Id: ContentSectionConfig.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public final class ContentSectionConfig extends AbstractConfig {
|
public final class ContentSectionConfig extends AbstractConfig {
|
||||||
|
|
||||||
|
|
@ -641,9 +641,6 @@ public final class ContentSectionConfig extends AbstractConfig {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private class DHTMLEditorConfigParameter extends StringParameter {
|
private class DHTMLEditorConfigParameter extends StringParameter {
|
||||||
public DHTMLEditorConfigParameter(final String name,
|
public DHTMLEditorConfigParameter(final String name,
|
||||||
final int multiplicity,
|
final int multiplicity,
|
||||||
|
|
@ -819,9 +816,9 @@ public final class ContentSectionConfig extends AbstractConfig {
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean getHasContactsAuthoringStep() {
|
public boolean getHasContactsAuthoringStep() {
|
||||||
return ((Boolean) get(m_hasContactsAuthoringStep)).booleanValue();
|
return ((Boolean) get(m_hasContactsAuthoringStep)).booleanValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public final boolean getHideTextAssetUploadFile() {
|
public final boolean getHideTextAssetUploadFile() {
|
||||||
return ((Boolean) get(m_hideTextAssetUploadFile)).booleanValue();
|
return ((Boolean) get(m_hideTextAssetUploadFile)).booleanValue();
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ com.arsdigita.cms.template_root_path.title=Template Root Path
|
||||||
com.arsdigita.cms.template_root_path.purpose=Path for the default template folder. Path is relative to webapp root
|
com.arsdigita.cms.template_root_path.purpose=Path for the default template folder. Path is relative to webapp root
|
||||||
com.arsdigita.cms.template_root_path.example=/packages/content-section/templates
|
com.arsdigita.cms.template_root_path.example=/packages/content-section/templates
|
||||||
com.arsdigita.cms.template_root_path.format=[string]
|
com.arsdigita.cms.template_root_path.format=[string]
|
||||||
|
|
||||||
com.arsdigita.cms.default_item_template_path.title=Default Item Template Path
|
com.arsdigita.cms.default_item_template_path.title=Default Item Template Path
|
||||||
com.arsdigita.cms.default_item_template_path.purpose=Path for the default item template. Path is relative to the Template Root path.
|
com.arsdigita.cms.default_item_template_path.purpose=Path for the default item template. Path is relative to the Template Root path.
|
||||||
com.arsdigita.cms.default_item_template_path.example=/default/item.jsp
|
com.arsdigita.cms.default_item_template_path.example=/default/item.jsp
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ import java.net.MalformedURLException;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Id: ContentType.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentType.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentType extends ACSObject {
|
public class ContentType extends ACSObject {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,16 +27,14 @@ import com.arsdigita.persistence.Filter;
|
||||||
* This class contains a collection of {@link
|
* This class contains a collection of {@link
|
||||||
* com.arsdigita.cms.ContentType content types}.
|
* com.arsdigita.cms.ContentType content types}.
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
|
||||||
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
|
||||||
*
|
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
*
|
||||||
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
|
* @version $Id: ContentTypeCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ContentTypeCollection extends DomainCollection {
|
public class ContentTypeCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ContentTypeCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,10 @@ import java.math.BigDecimal;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $Date: 2004/08/17 $
|
* @version $Id: ContentTypeLifecycleDefinition.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ContentTypeLifecycleDefinition extends DomainObject {
|
public class ContentTypeLifecycleDefinition extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ContentTypeLifecycleDefinition.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.ContentTypeLifecycleDefinition";
|
"com.arsdigita.cms.ContentTypeLifecycleDefinition";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,13 +37,9 @@ import org.apache.log4j.Logger;
|
||||||
* com.arsdigita.cms.ContentSection content section}.
|
* com.arsdigita.cms.ContentSection content section}.
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Id: ContentTypeWorkflowTemplate.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentTypeWorkflowTemplate.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
*/
|
*/
|
||||||
public class ContentTypeWorkflowTemplate extends DomainObject {
|
public class ContentTypeWorkflowTemplate extends DomainObject {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: ContentTypeWorkflowTemplate.java 287 2005-02-22 00:29:02Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger
|
private static final Logger s_log = Logger.getLogger
|
||||||
(ContentTypeWorkflowTemplate.class);
|
(ContentTypeWorkflowTemplate.class);
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,10 @@ import com.arsdigita.persistence.DataQuery;
|
||||||
*
|
*
|
||||||
* @author Uday Mathur (umathur@arsdigita.com)
|
* @author Uday Mathur (umathur@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: DataQueryExistsListener.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public abstract class DataQueryExistsListener
|
public abstract class DataQueryExistsListener
|
||||||
implements FormValidationListener {
|
implements FormValidationListener {
|
||||||
public static final String versionId = "$Id: DataQueryExistsListener.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
protected String m_errorMsg;
|
protected String m_errorMsg;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,9 @@ import com.arsdigita.domain.DomainServiceInterfaceExposer;
|
||||||
* Exposes all methods in {@link com.arsdigita.domain.DomainService}.
|
* Exposes all methods in {@link com.arsdigita.domain.DomainService}.
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: DefaultDomainService.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: DefaultDomainService.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*/
|
*/
|
||||||
public class DefaultDomainService extends DomainServiceInterfaceExposer {
|
public class DefaultDomainService extends DomainServiceInterfaceExposer {
|
||||||
|
|
||||||
public static final String versionId = "$Id: DefaultDomainService.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,12 +30,10 @@ import com.arsdigita.mimetypes.MimeType;
|
||||||
* com.arsdigita.cms.TemplateManager template manager}.
|
* com.arsdigita.cms.TemplateManager template manager}.
|
||||||
*
|
*
|
||||||
* @author Karl Goldstein (karlg@arsdigita.com)
|
* @author Karl Goldstein (karlg@arsdigita.com)
|
||||||
* @version $Revision: #12 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: DefaultTemplateManager.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class DefaultTemplateManager implements TemplateManager {
|
public class DefaultTemplateManager implements TemplateManager {
|
||||||
|
|
||||||
public static final String versionId = "$Id: DefaultTemplateManager.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final String SECTION_ID = "sectionID";
|
private static final String SECTION_ID = "sectionID";
|
||||||
private static final String TYPE_ID = "typeID";
|
private static final String TYPE_ID = "typeID";
|
||||||
private static final String USE_CONTEXT = "useContext";
|
private static final String USE_CONTEXT = "useContext";
|
||||||
|
|
|
||||||
|
|
@ -42,13 +42,9 @@ import java.util.Iterator;
|
||||||
* Recursively copies a domain object.
|
* Recursively copies a domain object.
|
||||||
*
|
*
|
||||||
* @author Justin Ross <jross@redhat.com>
|
* @author Justin Ross <jross@redhat.com>
|
||||||
* @version $Id: DomainCopier.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: DomainCopier.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
*/
|
*/
|
||||||
class DomainCopier extends DomainService {
|
class DomainCopier extends DomainService {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: DomainCopier.java 754 2005-09-02 13:26:17Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static Logger s_log = Logger.getLogger(DomainCopier.class);
|
private static Logger s_log = Logger.getLogger(DomainCopier.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,10 @@ import com.arsdigita.xml.Element;
|
||||||
* your content types may have.
|
* your content types may have.
|
||||||
*
|
*
|
||||||
* @author Fabrice Retkowsky (fabrice@runtime-collective.com)
|
* @author Fabrice Retkowsky (fabrice@runtime-collective.com)
|
||||||
* @version $Revision: #17 $ $Date: 2004/08/17 $
|
* @version $Id: ContentType.java 285 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public interface ExtraXMLGenerator {
|
public interface ExtraXMLGenerator {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ContentType.java 285 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify the XML for a given content item.
|
* Specify the XML for a given content item.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -39,12 +39,10 @@ import java.util.Locale;
|
||||||
* file, such as an image.
|
* file, such as an image.
|
||||||
*
|
*
|
||||||
* @author Scott Seago (scott@arsdigita.com)
|
* @author Scott Seago (scott@arsdigita.com)
|
||||||
* @version $Revision: #15 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: FileAsset.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class FileAsset extends BinaryAsset {
|
public class FileAsset extends BinaryAsset {
|
||||||
|
|
||||||
public static final String versionId = "$Id: FileAsset.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.FileAsset";
|
"com.arsdigita.cms.FileAsset";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,16 +27,15 @@ import com.arsdigita.persistence.PersistenceException;
|
||||||
/**
|
/**
|
||||||
* This class contains a collection of files.
|
* This class contains a collection of files.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scott@arsdigita.com">Scott Seago</a>
|
|
||||||
* @version 1.0
|
|
||||||
*
|
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:scott@arsdigita.com">Scott Seago</a>
|
||||||
|
* @version 1.0
|
||||||
|
* @version $Id: FileAssetCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class FileAssetCollection extends DomainCollection {
|
public class FileAssetCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: FileAssetCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -70,10 +70,6 @@ import java.util.Iterator;
|
||||||
* @version $Id: Folder.java 1639 2007-09-17 13:20:13Z chrisg23 $
|
* @version $Id: Folder.java 1639 2007-09-17 13:20:13Z chrisg23 $
|
||||||
*/
|
*/
|
||||||
public class Folder extends ContentItem {
|
public class Folder extends ContentItem {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: Folder.java 1639 2007-09-17 13:20:13Z chrisg23 $" +
|
|
||||||
"$Author: chrisg23 $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger(Folder.class);
|
private static final Logger s_log = Logger.getLogger(Folder.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,9 @@ import org.apache.log4j.Logger;
|
||||||
* @author Jack Chung
|
* @author Jack Chung
|
||||||
* @author Stanislav Freidin
|
* @author Stanislav Freidin
|
||||||
*
|
*
|
||||||
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: ImageAsset.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ImageAsset extends BinaryAsset {
|
public class ImageAsset extends BinaryAsset {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: ImageAsset.java 287 2005-02-22 00:29:02Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.ImageAsset";
|
"com.arsdigita.cms.ImageAsset";
|
||||||
|
|
|
||||||
|
|
@ -27,16 +27,15 @@ import com.arsdigita.persistence.PersistenceException;
|
||||||
/**
|
/**
|
||||||
* This class contains a collection of images.
|
* This class contains a collection of images.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:flattop@arsdigita.com">Jack Chung</a>
|
|
||||||
* @version 1.0
|
|
||||||
*
|
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:flattop@arsdigita.com">Jack Chung</a>
|
||||||
|
* @version 1.0
|
||||||
|
* @version $Id: ImageAssetCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ImageAssetCollection extends DomainCollection {
|
public class ImageAssetCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ImageAssetCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ import com.arsdigita.cms.util.LanguageUtil;
|
||||||
* The CMS initializer.
|
* The CMS initializer.
|
||||||
*
|
*
|
||||||
* @author Justin Ross <jross@redhat.com>
|
* @author Justin Ross <jross@redhat.com>
|
||||||
* @version $Id: Initializer.java 1428 2007-01-24 12:39:56Z sskracic $
|
* @version $Id: Initializer.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Initializer extends CompoundInitializer {
|
public class Initializer extends CompoundInitializer {
|
||||||
|
|
||||||
|
|
@ -106,6 +106,9 @@ public class Initializer extends CompoundInitializer {
|
||||||
/**
|
/**
|
||||||
* Initializes domain-coupling machinery, usually consisting of
|
* Initializes domain-coupling machinery, usually consisting of
|
||||||
* registering object instantiators and observers.
|
* registering object instantiators and observers.
|
||||||
|
*
|
||||||
|
* This starts up the search threads according to the values in the
|
||||||
|
* properties file
|
||||||
*/
|
*/
|
||||||
public void init(DomainInitEvent e) {
|
public void init(DomainInitEvent e) {
|
||||||
super.init(e);
|
super.init(e);
|
||||||
|
|
@ -170,6 +173,19 @@ public class Initializer extends CompoundInitializer {
|
||||||
XML.parse(ContentSection.getConfig().getItemAdapters(),
|
XML.parse(ContentSection.getConfig().getItemAdapters(),
|
||||||
new TraversalHandler());
|
new TraversalHandler());
|
||||||
|
|
||||||
|
// Just set the class implementing methods run when for publishing
|
||||||
|
// or unpublishing to file. No initialisation of the class here.
|
||||||
|
try {
|
||||||
|
QueueManager.setListener((PublishToFileListener)
|
||||||
|
ContentSection.getConfig()
|
||||||
|
.getPublishToFileClass().newInstance());
|
||||||
|
} catch (InstantiationException ex) {
|
||||||
|
throw new UncheckedWrapperException
|
||||||
|
("Failed to instantiate the listener class", ex);
|
||||||
|
} catch (IllegalAccessException ex) {
|
||||||
|
throw new UncheckedWrapperException
|
||||||
|
("Couldn't access the listener class", ex);
|
||||||
|
}
|
||||||
|
|
||||||
MetadataProviderRegistry.registerAdapter(
|
MetadataProviderRegistry.registerAdapter(
|
||||||
FileAsset.BASE_DATA_OBJECT_TYPE,
|
FileAsset.BASE_DATA_OBJECT_TYPE,
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,6 @@ import java.math.BigDecimal;
|
||||||
*/
|
*/
|
||||||
public class ItemSelectionModel extends ACSObjectSelectionModel {
|
public class ItemSelectionModel extends ACSObjectSelectionModel {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ItemSelectionModel.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private BigDecimal m_typeId;
|
private BigDecimal m_typeId;
|
||||||
|
|
||||||
private static final Logger s_log =
|
private static final Logger s_log =
|
||||||
|
|
|
||||||
|
|
@ -29,13 +29,12 @@ import com.arsdigita.mimetypes.MimeType;
|
||||||
* com.arsdigita.cms.ItemTemplateMapping item template mappings}.</p>
|
* com.arsdigita.cms.ItemTemplateMapping item template mappings}.</p>
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: ItemTemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ItemTemplateCollection.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
* @see com.arsdigita.cms.ItemTemplateCollection
|
* @see com.arsdigita.cms.ItemTemplateCollection
|
||||||
*/
|
*/
|
||||||
class ItemTemplateCollection extends TemplateCollection {
|
class ItemTemplateCollection extends TemplateCollection {
|
||||||
public static final String versionId = "$Id: ItemTemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ import java.math.BigDecimal;
|
||||||
* internal templating implementation.
|
* internal templating implementation.
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: ItemTemplateMapping.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: ItemTemplateMapping.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*/
|
*/
|
||||||
public class ItemTemplateMapping extends TemplateMapping {
|
public class ItemTemplateMapping extends TemplateMapping {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ import org.apache.log4j.Logger;
|
||||||
* The CMS loader.
|
* The CMS loader.
|
||||||
*
|
*
|
||||||
* @author Justin Ross <jross@redhat.com>
|
* @author Justin Ross <jross@redhat.com>
|
||||||
* @version $Id: Loader.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: Loader.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Loader extends PackageLoader {
|
public class Loader extends PackageLoader {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,15 +52,11 @@ import org.apache.log4j.Logger;
|
||||||
* <p>
|
* <p>
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
||||||
* @version $Id: ObjectCopier.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: ObjectCopier.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
* @see ContentItem
|
* @see ContentItem
|
||||||
* @see ContentItem#copyProperty(ContentItem, String, ItemCopier)
|
* @see ContentItem#copyProperty(ContentItem, String, ItemCopier)
|
||||||
*/
|
*/
|
||||||
class ObjectCopier extends DomainCopier implements ItemCopier {
|
class ObjectCopier extends DomainCopier implements ItemCopier {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: ObjectCopier.java 754 2005-09-02 13:26:17Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static Logger s_log = Logger.getLogger(ObjectCopier.class);
|
private static Logger s_log = Logger.getLogger(ObjectCopier.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,12 +24,9 @@ package com.arsdigita.cms;
|
||||||
*
|
*
|
||||||
* @author Karl Goldstein (karlg at arsdigita dot com)
|
* @author Karl Goldstein (karlg at arsdigita dot com)
|
||||||
*
|
*
|
||||||
* @version $Revision: #6 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: PageLocations.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public interface PageLocations {
|
public interface PageLocations {
|
||||||
|
|
||||||
public String versionId = "$Id: PageLocations.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public String SECTION_PAGE = "admin/index.jsp";
|
public String SECTION_PAGE = "admin/index.jsp";
|
||||||
public String ITEM_PAGE = "admin/item.jsp";
|
public String ITEM_PAGE = "admin/item.jsp";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,13 +48,9 @@ import org.apache.log4j.Logger;
|
||||||
* @author Scott Seago (sseago@redhat.com)
|
* @author Scott Seago (sseago@redhat.com)
|
||||||
* @author Stanislav Freidin
|
* @author Stanislav Freidin
|
||||||
*
|
*
|
||||||
* @version $Revision: #12 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: ReusableImageAsset.java 754 2005-09-02 13:26:17Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ReusableImageAsset extends ImageAsset {
|
public class ReusableImageAsset extends ImageAsset {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: ReusableImageAsset.java 754 2005-09-02 13:26:17Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log =
|
private static final Logger s_log =
|
||||||
Logger.getLogger( ReusableImageAsset.class );
|
Logger.getLogger( ReusableImageAsset.class );
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import java.util.StringTokenizer;
|
||||||
* search queries
|
* search queries
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: SearchFormatter.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: SearchFormatter.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SearchFormatter {
|
public class SearchFormatter {
|
||||||
|
|
|
||||||
|
|
@ -28,16 +28,14 @@ import com.arsdigita.persistence.DataCollection;
|
||||||
* This class contains a collection of Locales associated with a
|
* This class contains a collection of Locales associated with a
|
||||||
* {@link com.arsdigita.cms.ContentSection}.
|
* {@link com.arsdigita.cms.ContentSection}.
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
|
||||||
*
|
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
*
|
||||||
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
|
* @version $Id: SectionLocaleCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SectionLocaleCollection extends DomainCollection {
|
public class SectionLocaleCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SectionLocaleCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import com.arsdigita.persistence.DataCollection;
|
||||||
* This class contains a collection of {@link SectionTemplateMapping}s
|
* This class contains a collection of {@link SectionTemplateMapping}s
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: SectionTemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: SectionTemplateCollection.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*
|
*
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
|
@ -33,8 +33,6 @@ import com.arsdigita.persistence.DataCollection;
|
||||||
*/
|
*/
|
||||||
class SectionTemplateCollection extends TemplateCollection {
|
class SectionTemplateCollection extends TemplateCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SectionTemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -38,12 +38,10 @@ import org.apache.log4j.Logger;
|
||||||
* internal templating implementation.
|
* internal templating implementation.
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: SectionTemplateMapping.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: SectionTemplateMapping.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*/
|
*/
|
||||||
public class SectionTemplateMapping extends TemplateMapping {
|
public class SectionTemplateMapping extends TemplateMapping {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SectionTemplateMapping.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.SectionTemplateMapping";
|
"com.arsdigita.cms.SectionTemplateMapping";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,10 @@ import com.arsdigita.kernel.Party;
|
||||||
* <p>An interface for making access checks within a content section.</p>
|
* <p>An interface for making access checks within a content section.</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: Security.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public interface Security {
|
public interface Security {
|
||||||
|
|
||||||
public static final String versionId = "$Id: Security.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether a party has access to a particular action.
|
* Determine whether a party has access to a particular action.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,9 @@ import org.apache.log4j.Logger;
|
||||||
* CMS.</p>
|
* CMS.</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih
|
* @author Michael Pih
|
||||||
* @version $Revision: #24 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: SecurityManager.java 1344 2006-10-10 09:41:56Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SecurityManager implements Security, SecurityConstants {
|
public class SecurityManager implements Security, SecurityConstants {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: SecurityManager.java 1344 2006-10-10 09:41:56Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger
|
private static final Logger s_log = Logger.getLogger
|
||||||
(SecurityManager.class);
|
(SecurityManager.class);
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ import java.util.Map;
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
*
|
*
|
||||||
* @version $Id: Template.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: Template.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
*/
|
*/
|
||||||
public class Template extends TextAsset {
|
public class Template extends TextAsset {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ import com.arsdigita.mimetypes.MimeType;
|
||||||
* link attributes.
|
* link attributes.
|
||||||
*
|
*
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Id: TemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: TemplateCollection.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*
|
*
|
||||||
* @see com.arsdigita.domain.DomainCollection
|
* @see com.arsdigita.domain.DomainCollection
|
||||||
* @see com.arsdigita.persistence.DataCollection
|
* @see com.arsdigita.persistence.DataCollection
|
||||||
|
|
@ -38,8 +38,6 @@ import com.arsdigita.mimetypes.MimeType;
|
||||||
*/
|
*/
|
||||||
public abstract class TemplateCollection extends DomainCollection {
|
public abstract class TemplateCollection extends DomainCollection {
|
||||||
|
|
||||||
public static final String versionId = "$Id: TemplateCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String USE_CONTEXT = "useContext";
|
public static final String USE_CONTEXT = "useContext";
|
||||||
public static final String IS_DEFAULT = "isDefault";
|
public static final String IS_DEFAULT = "isDefault";
|
||||||
public static final String TEMPLATE = "template";
|
public static final String TEMPLATE = "template";
|
||||||
|
|
|
||||||
|
|
@ -60,11 +60,10 @@ import com.arsdigita.mimetypes.MimeType;
|
||||||
* @author Karl Goldstein (karlg@arsdigita.com)
|
* @author Karl Goldstein (karlg@arsdigita.com)
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: TemplateManager.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public interface TemplateManager {
|
public interface TemplateManager {
|
||||||
|
|
||||||
public static final String versionId = "$Id: TemplateManager.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default use context for templates
|
* The default use context for templates
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -26,11 +26,10 @@ package com.arsdigita.cms;
|
||||||
*
|
*
|
||||||
* @author Karl Goldstein (karlg@arsdigita.com)
|
* @author Karl Goldstein (karlg@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: TemplateManagerFactory.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class TemplateManagerFactory {
|
public class TemplateManagerFactory {
|
||||||
|
|
||||||
public static final String versionId = "$Id: TemplateManagerFactory.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static TemplateManager s_templateManager =
|
private static TemplateManager s_templateManager =
|
||||||
new DefaultTemplateManager();
|
new DefaultTemplateManager();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,11 +37,10 @@ import java.math.BigDecimal;
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
*
|
*
|
||||||
* @version $Revision: #14 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #14 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: TextAsset.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class TextAsset extends Asset {
|
public class TextAsset extends Asset {
|
||||||
|
|
||||||
public static final String versionId = "$Id: TextAsset.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.TextAsset";
|
"com.arsdigita.cms.TextAsset";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ import java.math.BigDecimal;
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: TextPage.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: TextPage.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
**/
|
**/
|
||||||
public class TextPage extends ContentPage {
|
public class TextPage extends ContentPage {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,13 +34,9 @@ import java.util.HashSet;
|
||||||
* point only to other live versions.
|
* point only to other live versions.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
||||||
* @version $Id: VersionCopier.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: VersionCopier.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
*/
|
*/
|
||||||
class VersionCopier extends ObjectCopier {
|
class VersionCopier extends ObjectCopier {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: VersionCopier.java 287 2005-02-22 00:29:02Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static Logger s_log = Logger.getLogger(VersionCopier.class);
|
private static Logger s_log = Logger.getLogger(VersionCopier.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,13 +38,11 @@ import java.util.Set;
|
||||||
* or care about this class.
|
* or care about this class.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
* @author <a href="mailto:sfreidin@arsdigita.com">Stanislav Freidin</a>
|
||||||
* @version $Id: VersionUpdater.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: VersionUpdater.java 1940 2009-05-29 07:15:05Z terry $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class VersionUpdater extends DomainService {
|
class VersionUpdater extends DomainService {
|
||||||
|
|
||||||
public static final String versionId = "$Id: VersionUpdater.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static org.apache.log4j.Logger s_log =
|
private static org.apache.log4j.Logger s_log =
|
||||||
org.apache.log4j.Logger.getLogger(VersionUpdater.class);
|
org.apache.log4j.Logger.getLogger(VersionUpdater.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ import java.math.BigDecimal;
|
||||||
*
|
*
|
||||||
* @author Randy Graebner (randyg@redhat.com)
|
* @author Randy Graebner (randyg@redhat.com)
|
||||||
*
|
*
|
||||||
* @version $Id: ContentGroup.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentGroup.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentGroup extends ContentItem {
|
public class ContentGroup extends ContentItem {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import com.arsdigita.util.Assert;
|
||||||
*
|
*
|
||||||
* @author Randy Graebner (randyg@redhat.com)
|
* @author Randy Graebner (randyg@redhat.com)
|
||||||
*
|
*
|
||||||
* @version $Id: ContentGroupAssociation.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentGroupAssociation.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentGroupAssociation extends ContentItem {
|
public class ContentGroupAssociation extends ContentItem {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,11 +50,10 @@ import java.math.BigDecimal;
|
||||||
/**
|
/**
|
||||||
* This displays a sortable list of items within a given content group
|
* This displays a sortable list of items within a given content group
|
||||||
*
|
*
|
||||||
* @version $Id: ContentGroupItemList.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentGroupItemList.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
class ContentGroupItemList extends SortableList {
|
class ContentGroupItemList extends SortableList {
|
||||||
|
|
||||||
|
|
||||||
private static final org.apache.log4j.Logger s_log =
|
private static final org.apache.log4j.Logger s_log =
|
||||||
org.apache.log4j.Logger.getLogger(ContentGroupItemList.class);
|
org.apache.log4j.Logger.getLogger(ContentGroupItemList.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ import java.math.BigDecimal;
|
||||||
* be nice about it.
|
* be nice about it.
|
||||||
*
|
*
|
||||||
* @author Hugh Brock (hbrock@redhat.com)
|
* @author Hugh Brock (hbrock@redhat.com)
|
||||||
* @version $Id: ImageDisplay.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ImageDisplay.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ImageDisplay extends SimpleComponent {
|
public class ImageDisplay extends SimpleComponent {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import javax.servlet.ServletException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @version $Id: BaseAsset.java 1571 2007-04-20 15:57:54Z apevec $
|
* @version $Id: BaseAsset.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
class BaseAsset extends ResourceHandlerImpl {
|
class BaseAsset extends ResourceHandlerImpl {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ import org.apache.log4j.Logger;
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Uday Mathur (umathur@arsdigita.com)
|
* @author Uday Mathur (umathur@arsdigita.com)
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Id: CMSDispatcher.java 1795 2009-02-07 10:47:32Z pboy $
|
* @version $Id: CMSDispatcher.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class CMSDispatcher implements Dispatcher, ChainedDispatcher {
|
public class CMSDispatcher implements Dispatcher, ChainedDispatcher {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ import org.apache.log4j.Logger;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Uday Mathur (umathur@arsdigita.com)
|
* @author Uday Mathur (umathur@arsdigita.com)
|
||||||
* @version $Id: CMSPage.java 1312 2006-09-04 11:26:55Z sskracic $
|
* @version $Id: CMSPage.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class CMSPage extends Page implements ResourceHandler {
|
public class CMSPage extends Page implements ResourceHandler {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ package com.arsdigita.cms.dispatcher;
|
||||||
* <p>An interface for caching objects.</p>
|
* <p>An interface for caching objects.</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Id: Cache.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: Cache.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public interface Cache {
|
public interface Cache {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ import org.apache.log4j.Logger;
|
||||||
* </ol>
|
* </ol>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Id: ContentCenterDispatcher.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: ContentCenterDispatcher.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class ContentCenterDispatcher extends LockableImpl
|
public class ContentCenterDispatcher extends LockableImpl
|
||||||
implements Dispatcher {
|
implements Dispatcher {
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,10 @@ import org.apache.log4j.Logger;
|
||||||
*
|
*
|
||||||
* @author Karl Goldstein (karlg@arsdigita.com)
|
* @author Karl Goldstein (karlg@arsdigita.com)
|
||||||
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: FileDispatcher.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public class FileDispatcher implements ChainedDispatcher {
|
public class FileDispatcher implements ChainedDispatcher {
|
||||||
|
|
||||||
public static final String versionId = "$Id: FileDispatcher.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static Logger s_log =
|
private static Logger s_log =
|
||||||
Logger.getLogger(ChainedDispatcher.class);
|
Logger.getLogger(ChainedDispatcher.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,11 +45,11 @@ import java.math.BigDecimal;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $ */
|
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ItemResolver.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
|
*/
|
||||||
public interface ItemResolver {
|
public interface ItemResolver {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ItemResolver.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a content item based on section, url, and use context.
|
* Return a content item based on section, url, and use context.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,10 @@ import javax.servlet.http.HttpServletRequest;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: MasterPage.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class MasterPage extends CMSPage {
|
public class MasterPage extends CMSPage {
|
||||||
|
|
||||||
public static final String versionId = "$Id: MasterPage.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public MasterPage() {
|
public MasterPage() {
|
||||||
super("Master", new SimpleContainer());
|
super("Master", new SimpleContainer());
|
||||||
setIdAttr("master_page");
|
setIdAttr("master_page");
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ import java.util.StringTokenizer;
|
||||||
* Created Mon Jan 20 14:30:03 2003.
|
* Created Mon Jan 20 14:30:03 2003.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:mhanisch@redhat.com">Michael Hanisch</a>
|
* @author <a href="mailto:mhanisch@redhat.com">Michael Hanisch</a>
|
||||||
* @version $Id: MultilingualItemResolver.java 1795 2009-02-07 10:47:32Z pboy $
|
* @version $Id: MultilingualItemResolver.java 2026 2009-11-02 10:04:34Z pboy $
|
||||||
*/
|
*/
|
||||||
public class MultilingualItemResolver extends AbstractItemResolver implements ItemResolver {
|
public class MultilingualItemResolver extends AbstractItemResolver implements ItemResolver {
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ public class MultilingualItemResolver extends AbstractItemResolver implements It
|
||||||
|
|
||||||
private static MasterPage s_masterP = null;
|
private static MasterPage s_masterP = null;
|
||||||
private static final String ADMIN_PREFIX = "admin";
|
private static final String ADMIN_PREFIX = "admin";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The string identifying an item's ID in the query string of a
|
* The string identifying an item's ID in the query string of a
|
||||||
* URL.
|
* URL.
|
||||||
|
|
@ -659,7 +659,7 @@ public class MultilingualItemResolver extends AbstractItemResolver implements It
|
||||||
|
|
||||||
pos++; // skip the "="
|
pos++; // skip the "="
|
||||||
|
|
||||||
// ID is the string between the isEqual (at pos) and the next separator
|
// ID is the string between the equal (at pos) and the next separator
|
||||||
int i = item_id.indexOf(SEPARATOR);
|
int i = item_id.indexOf(SEPARATOR);
|
||||||
item_id = item_id.substring(pos, Math.min(i, item_id.length() -1));
|
item_id = item_id.substring(pos, Math.min(i, item_id.length() -1));
|
||||||
|
|
||||||
|
|
@ -691,48 +691,48 @@ public class MultilingualItemResolver extends AbstractItemResolver implements It
|
||||||
Folder parentFolder) {
|
Folder parentFolder) {
|
||||||
if (s_log.isDebugEnabled()) {
|
if (s_log.isDebugEnabled()) {
|
||||||
s_log.debug("Resolving the item for live URL " + url +
|
s_log.debug("Resolving the item for live URL " + url +
|
||||||
" and parent folder " + parentFolder);
|
" and parent folder " + parentFolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parentFolder == null || url == null || url.equals("")) {
|
if (parentFolder == null || url == null || url.equals("")) {
|
||||||
if (s_log.isDebugEnabled()) {
|
if (s_log.isDebugEnabled()) {
|
||||||
s_log.debug("The url is null or parent folder was null " +
|
s_log.debug("The url is null or parent folder was null " +
|
||||||
"or something else is wrong, so just return " +
|
"or something else is wrong, so just return " +
|
||||||
"the parent folder");
|
"the parent folder");
|
||||||
}
|
}
|
||||||
|
|
||||||
return parentFolder;
|
return parentFolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
int len = url.length();
|
int len = url.length();
|
||||||
int index = url.indexOf('/');
|
int index = url.indexOf('/');
|
||||||
|
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
s_log.debug("The URL starts with a slash; paring off the first " +
|
s_log.debug("The URL starts with a slash; paring off the first " +
|
||||||
"URL element and recursing");
|
"URL element and recursing");
|
||||||
|
|
||||||
// If we got first slash (index == 0), ignore it and go
|
// If we got first slash (index == 0), ignore it and go
|
||||||
// on, sample '/foo/bar/item.html.en', in next recursion
|
// on, sample '/foo/bar/item.html.en', in next recursion
|
||||||
// will have deal with 'foo' folder.
|
// will have deal with 'foo' folder.
|
||||||
|
|
||||||
String name = index > 0 ? url.substring(0, index) : "";
|
String name = index > 0 ? url.substring(0, index) : "";
|
||||||
parentFolder = "".equals(name) ? parentFolder
|
parentFolder = "".equals(name) ? parentFolder
|
||||||
: (Folder) parentFolder.getItem(URLEncoder.encode(name), true);
|
: (Folder) parentFolder.getItem(URLEncoder.encode(name), true);
|
||||||
url = index + 1 < len ? url.substring(index + 1) : "";
|
url = index + 1 < len ? url.substring(index + 1) : "";
|
||||||
|
|
||||||
return getItemFromLiveURL(url, parentFolder);
|
return getItemFromLiveURL(url, parentFolder);
|
||||||
} else {
|
} else {
|
||||||
s_log.debug("Found a file element in the URL");
|
s_log.debug("Found a file element in the URL");
|
||||||
|
|
||||||
String[] nameAndLang = getNameAndLangFromURLFrag(url);
|
String[] nameAndLang = getNameAndLangFromURLFrag(url);
|
||||||
String name = nameAndLang[0];
|
String name = nameAndLang[0];
|
||||||
String lang = nameAndLang[1];
|
String lang = nameAndLang[1];
|
||||||
|
|
||||||
ContentItem item = parentFolder.getItem(URLEncoder.encode(name), false);
|
ContentItem item = parentFolder.getItem(URLEncoder.encode(name), false);
|
||||||
return getItemFromLangAndBundle(lang, item);
|
return getItemFromLangAndBundle(lang, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array containing the the item's name and lang based
|
* Returns an array containing the the item's name and lang based
|
||||||
* on the URL fragment.
|
* on the URL fragment.
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,10 @@ import java.util.HashMap;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $Date: 2004/08/17 $
|
* @version $Revision: #8 $ $Date: 2004/08/17 $
|
||||||
|
* @version $Id: PageResolver.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public abstract class PageResolver {
|
public abstract class PageResolver {
|
||||||
|
|
||||||
public static final String versionId = "$Id: PageResolver.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private BigDecimal m_sectionID;
|
private BigDecimal m_sectionID;
|
||||||
|
|
||||||
// Used for caching pages
|
// Used for caching pages
|
||||||
|
|
|
||||||
|
|
@ -39,11 +39,10 @@ import java.sql.SQLException;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: Resource.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public class Resource extends DomainObject {
|
public class Resource extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: Resource.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.Resource";
|
"com.arsdigita.cms.Resource";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,11 +31,10 @@ import javax.servlet.http.HttpServletRequest;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ResourceHandler.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public interface ResourceHandler extends Dispatcher {
|
public interface ResourceHandler extends Dispatcher {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ResourceHandler.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called by the {@link com.arsdigita.dispatcher.Dispatcher}
|
* This method is called by the {@link com.arsdigita.dispatcher.Dispatcher}
|
||||||
* that initializes this page.
|
* that initializes this page.
|
||||||
|
|
|
||||||
|
|
@ -41,12 +41,10 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ResourceHandlerImpl.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public abstract class ResourceHandlerImpl implements ResourceHandler {
|
public abstract class ResourceHandlerImpl implements ResourceHandler {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ResourceHandlerImpl.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called by the {@link com.arsdigita.dispatcher.Dispatcher}
|
* This method is called by the {@link com.arsdigita.dispatcher.Dispatcher}
|
||||||
* that initializes this page.
|
* that initializes this page.
|
||||||
|
|
|
||||||
|
|
@ -33,11 +33,10 @@ import java.math.BigDecimal;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ResourceMapping.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
**/
|
**/
|
||||||
public class ResourceMapping extends DomainObject {
|
public class ResourceMapping extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ResourceMapping.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String TYPE = "com.arsdigita.cms.ResourceMapping";
|
public static final String TYPE = "com.arsdigita.cms.ResourceMapping";
|
||||||
|
|
||||||
private static final String SECTION_ID = "sectionId";
|
private static final String SECTION_ID = "sectionId";
|
||||||
|
|
|
||||||
|
|
@ -36,11 +36,10 @@ import com.arsdigita.persistence.SessionManager;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
**/
|
* @version $Id: ResourceType.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
|
*/
|
||||||
public class ResourceType extends DomainObject {
|
public class ResourceType extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ResourceType.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.cms.ResourceType";
|
"com.arsdigita.cms.ResourceType";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,12 +68,10 @@ import java.util.Map;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ServiceDispatcher.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ServiceDispatcher extends LockableImpl implements Dispatcher {
|
public class ServiceDispatcher extends LockableImpl implements Dispatcher {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ServiceDispatcher.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The path of the file that maps resources.
|
* The path of the file that maps resources.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -26,11 +26,10 @@ import java.util.Map;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #6 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #6 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: SimpleCache.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SimpleCache extends Hashtable{
|
public class SimpleCache extends Hashtable{
|
||||||
|
|
||||||
public static final String versionId = "$Id: SimpleCache.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public SimpleCache() {
|
public SimpleCache() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,10 @@ import java.util.StringTokenizer;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #15 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #15 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: SimpleItemResolver.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SimpleItemResolver extends AbstractItemResolver implements ItemResolver {
|
public class SimpleItemResolver extends AbstractItemResolver implements ItemResolver {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SimpleItemResolver.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log =
|
private static final Logger s_log =
|
||||||
Logger.getLogger(SimpleItemResolver.class.getName());
|
Logger.getLogger(SimpleItemResolver.class.getName());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,12 +39,9 @@ import javax.servlet.ServletException;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
||||||
|
* @version $Id: SimplePageResolver.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SimplePageResolver extends PageResolver {
|
public class SimplePageResolver extends PageResolver {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: SimplePageResolver.java 287 2005-02-22 00:29:02Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger
|
private static final Logger s_log = Logger.getLogger
|
||||||
(SimplePageResolver.class);
|
(SimplePageResolver.class);
|
||||||
|
|
|
||||||
|
|
@ -51,11 +51,10 @@ import java.util.Iterator;
|
||||||
*
|
*
|
||||||
* @author Michael Pih
|
* @author Michael Pih
|
||||||
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: SimpleXMLGenerator.java 1651 2007-09-18 10:30:06Z chrisg23 $
|
||||||
*/
|
*/
|
||||||
public class SimpleXMLGenerator implements XMLGenerator {
|
public class SimpleXMLGenerator implements XMLGenerator {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SimpleXMLGenerator.java 1651 2007-09-18 10:30:06Z chrisg23 $ by $Author: chrisg23 $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static Logger s_log =
|
private static Logger s_log =
|
||||||
Logger.getLogger(SimpleXMLGenerator.class);
|
Logger.getLogger(SimpleXMLGenerator.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,10 @@ import com.arsdigita.cms.BinaryAsset;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: StreamAsset.java 1166 2006-06-14 11:45:15Z fabrice $
|
||||||
*/
|
*/
|
||||||
public class StreamAsset extends BaseAsset {
|
public class StreamAsset extends BaseAsset {
|
||||||
|
|
||||||
public static final String versionId = "$Id: StreamAsset.java 1166 2006-06-14 11:45:15Z fabrice $ by $Author: fabrice $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger(StreamAsset.class);
|
private static final Logger s_log = Logger.getLogger(StreamAsset.class);
|
||||||
|
|
||||||
public final static String ASSET_ID = BaseAsset.ASSET_ID;
|
public final static String ASSET_ID = BaseAsset.ASSET_ID;
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,10 @@ import org.apache.log4j.Logger;
|
||||||
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
* @author Stanislav Freidin (sfreidin@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: StreamImage.java 1571 2007-04-20 15:57:54Z apevec $
|
||||||
*/
|
*/
|
||||||
public class StreamImage extends ResourceHandlerImpl {
|
public class StreamImage extends ResourceHandlerImpl {
|
||||||
|
|
||||||
public static final String versionId = "$Id: StreamImage.java 1571 2007-04-20 15:57:54Z apevec $ by $Author: apevec $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String IMAGE_ID = "image_id";
|
public static final String IMAGE_ID = "image_id";
|
||||||
public static final String OID_PARAM = "oid";
|
public static final String OID_PARAM = "oid";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Karl Goldstein (karlg@arsdigita.com)
|
* @author Karl Goldstein (karlg@arsdigita.com)
|
||||||
* @version $Id: TemplateResolver.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: TemplateResolver.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
**/
|
**/
|
||||||
public interface TemplateResolver {
|
public interface TemplateResolver {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ import java.util.Map;
|
||||||
* System.</p>
|
* System.</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Id: Utilities.java 1546 2007-03-28 14:28:57Z chrisgilbert23 $
|
* @version $Id: Utilities.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Utilities {
|
public class Utilities {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ import com.arsdigita.xml.Element;
|
||||||
* formats it as an XML document.</p>
|
* formats it as an XML document.</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Id: XMLGenerator.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: XMLGenerator.java 1967 2009-08-29 21:05:51Z pboy $
|
||||||
*/
|
*/
|
||||||
public interface XMLGenerator {
|
public interface XMLGenerator {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// CMS initialization file
|
// CMS initialization file
|
||||||
//
|
//
|
||||||
// $Id: enterprise.init 1357 2006-11-06 13:02:24Z sskracic $
|
// $Id: enterprise.init 2070 2010-01-28 08:47:41Z pboy $
|
||||||
//
|
//
|
||||||
|
|
||||||
init com.arsdigita.cms.installer.Initializer {
|
init com.arsdigita.cms.installer.Initializer {
|
||||||
|
|
@ -28,7 +28,6 @@ init com.arsdigita.cms.installer.SectionInitializer {
|
||||||
// in integrations.properties of the respective bundle
|
// in integrations.properties of the respective bundle
|
||||||
// - registerDomain(navigationKey, "/content/", null); in ldn.aplaws.Loader
|
// - registerDomain(navigationKey, "/content/", null); in ldn.aplaws.Loader
|
||||||
name = "content";
|
name = "content";
|
||||||
//-- name = "intern";
|
|
||||||
|
|
||||||
// List of roles to create. First field is role name,
|
// List of roles to create. First field is role name,
|
||||||
// second is the description, third is a list of
|
// second is the description, third is a list of
|
||||||
|
|
@ -87,7 +86,6 @@ init com.arsdigita.cms.installer.SectionInitializer {
|
||||||
|
|
||||||
// Wether to make content viewable to 'The Public', ie non-registered users
|
// Wether to make content viewable to 'The Public', ie non-registered users
|
||||||
public = true;
|
public = true;
|
||||||
//-- public = false;
|
|
||||||
|
|
||||||
// When to generate email alerts: by default, generate email alerts
|
// When to generate email alerts: by default, generate email alerts
|
||||||
// on enable, finish, and rollback (happens on rejection)
|
// on enable, finish, and rollback (happens on rejection)
|
||||||
|
|
|
||||||
|
|
@ -44,19 +44,17 @@ import java.util.Timer;
|
||||||
* section, the <code>types</code> is a list of content types
|
* section, the <code>types</code> is a list of content types
|
||||||
* to register
|
* to register
|
||||||
*
|
*
|
||||||
* @author Daniel Berrange (berrange@redhat.com)
|
|
||||||
* @author Michael Pih
|
|
||||||
* @version $Revision: #43 $ $DateTime: 2004/08/17 23:15:09 $
|
|
||||||
*
|
|
||||||
* XXX As of version 6.5 (pboy):
|
* XXX As of version 6.5 (pboy):
|
||||||
* Commented out in cms.enterprise.init since several versions. Not invoked by
|
* Commented out in cms.enterprise.init since several versions. Not invoked by
|
||||||
* any other package of trunk. Some Parameters (as ITEM_RESOLVER_CLASS) are
|
* any other package of trunk. Some Parameters (as ITEM_RESOLVER_CLASS) are
|
||||||
* configured in ContentSectionConfig.java as a temporary measure.
|
* configured in ContentSectionConfig.java as a temporary measure.
|
||||||
|
*
|
||||||
|
* @author Daniel Berrange (berrange@redhat.com)
|
||||||
|
* @author Michael Pih
|
||||||
|
* @version $Id: SectionInitializer.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class SectionInitializer extends com.arsdigita.kernel.BaseInitializer {
|
public class SectionInitializer extends com.arsdigita.kernel.BaseInitializer {
|
||||||
|
|
||||||
public static final String versionId = "$Id: SectionInitializer.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static org.apache.log4j.Logger s_log =
|
private static org.apache.log4j.Logger s_log =
|
||||||
org.apache.log4j.Logger.getLogger(SectionInitializer.class);
|
org.apache.log4j.Logger.getLogger(SectionInitializer.class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,11 +33,10 @@ import com.arsdigita.kernel.SiteNode;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: ServiceInstaller.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ServiceInstaller implements PackageEventListener {
|
public class ServiceInstaller implements PackageEventListener {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ServiceInstaller.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public final static String PACKAGE_KEY = "cms-service";
|
public final static String PACKAGE_KEY = "cms-service";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,10 @@ import com.arsdigita.kernel.Stylesheet;
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #10 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
|
* @version $Id: WorkspaceInstaller.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class WorkspaceInstaller implements PackageEventListener {
|
public class WorkspaceInstaller implements PackageEventListener {
|
||||||
|
|
||||||
public static final String versionId = "$Id: WorkspaceInstaller.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public static final String PACKAGE_KEY = "content-center";
|
public static final String PACKAGE_KEY = "content-center";
|
||||||
private static final String INSTANCE_NAME = "Content Center";
|
private static final String INSTANCE_NAME = "Content Center";
|
||||||
private static final String DISPATCHER_CLASS =
|
private static final String DISPATCHER_CLASS =
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import com.arsdigita.util.Assert;
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
* @version $Revision: #11 $ $Date: 2004/08/17 $
|
||||||
* @version $Id: Duration.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: Duration.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Duration {
|
public class Duration {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ import org.apache.log4j.Logger;
|
||||||
* to the list of initializers to be executed
|
* to the list of initializers to be executed
|
||||||
*
|
*
|
||||||
* @author Peter Boy (pboy@barkhof.uni-bremen.de)
|
* @author Peter Boy (pboy@barkhof.uni-bremen.de)
|
||||||
* @version $Id: $
|
* @version $Id: Initializer.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Initializer extends com.arsdigita.runtime.GenericInitializer {
|
public class Initializer extends com.arsdigita.runtime.GenericInitializer {
|
||||||
|
|
@ -78,7 +78,7 @@ public class Initializer extends com.arsdigita.runtime.GenericInitializer {
|
||||||
}
|
}
|
||||||
|
|
||||||
s_log.debug("lifecycle background processing started");
|
s_log.debug("lifecycle background processing started");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ import java.util.Date;
|
||||||
* @author Jack Chung
|
* @author Jack Chung
|
||||||
* @author Michael Pih
|
* @author Michael Pih
|
||||||
* @version $Revision: 1.1 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: 1.1 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: Lifecycle.java 1585 2007-05-29 13:12:44Z chrisgilbert23 $
|
* @version $Id: Lifecycle.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Lifecycle extends ACSObject {
|
public class Lifecycle extends ACSObject {
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import java.util.Date;
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #14 $ $Date: 2004/08/17 $
|
* @version $Revision: #14 $ $Date: 2004/08/17 $
|
||||||
* @version $Id: LifecycleDefinition.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: LifecycleDefinition.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class LifecycleDefinition extends ACSObject {
|
public class LifecycleDefinition extends ACSObject {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ import com.arsdigita.persistence.DataCollection;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #8 $ $Date: 2004/08/17 $
|
* @version $Revision: #8 $ $Date: 2004/08/17 $
|
||||||
* @version $Id: LifecycleDefinitionCollection.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: LifecycleDefinitionCollection.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class LifecycleDefinitionCollection extends DomainCollection {
|
public class LifecycleDefinitionCollection extends DomainCollection {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ import java.util.Date;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: LifecycleEvent.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: LifecycleEvent.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LifecycleEvent {
|
public class LifecycleEvent {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ package com.arsdigita.cms.lifecycle;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #7 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: LifecycleListener.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: LifecycleListener.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ import java.sql.SQLException;
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #13 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: LifecycleService.java 287 2005-02-22 00:29:02Z sskracic $
|
* @version $Id: LifecycleService.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LifecycleService extends DomainObject{
|
public class LifecycleService extends DomainObject{
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ import java.util.Date;
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: 1.1 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: 1.1 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: Phase.java 1583 2007-05-25 15:32:13Z chrisgilbert23 $
|
* @version $Id: Phase.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Phase extends ACSObject {
|
public class Phase extends ACSObject {
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ import org.apache.log4j.Logger;
|
||||||
*
|
*
|
||||||
* @author Michael Pih
|
* @author Michael Pih
|
||||||
* @author Stanislav Freidin
|
* @author Stanislav Freidin
|
||||||
* @version $Id: PublishLifecycleListener.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: PublishLifecycleListener.java 1942 2009-05-29 07:53:23Z terry $
|
||||||
*/
|
*/
|
||||||
public class PublishLifecycleListener implements LifecycleListener {
|
public class PublishLifecycleListener implements LifecycleListener {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ import org.apache.log4j.Logger;
|
||||||
* @author Stanislav Freidin (stas@arsdigita.com)
|
* @author Stanislav Freidin (stas@arsdigita.com)
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #20 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @version $Id: Scheduler.java 1583 2007-05-25 15:32:13Z chrisgilbert23 $
|
* @version $Id: Scheduler.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
*/
|
*/
|
||||||
public class Scheduler {
|
public class Scheduler {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ import java.util.TimerTask;
|
||||||
* created by Scheduler. It simply calls the run method of Scheduler.
|
* created by Scheduler. It simply calls the run method of Scheduler.
|
||||||
*
|
*
|
||||||
* @author Jack Chung (flattop@arsdigita.com)
|
* @author Jack Chung (flattop@arsdigita.com)
|
||||||
* @version $Id: SchedulerTask.java 754 2005-09-02 13:26:17Z sskracic $
|
* @version $Id: SchedulerTask.java 2070 2010-01-28 08:47:41Z pboy $
|
||||||
**/
|
**/
|
||||||
class SchedulerTask extends TimerTask {
|
class SchedulerTask extends TimerTask {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
phase becomes active. The duration is the length of time that the
|
phase becomes active. The duration is the length of time that the
|
||||||
phase remains active.</p>
|
phase remains active.</p>
|
||||||
|
|
||||||
<p>Last modified:<br />$Id: $</p>
|
<p>Last modified:<br />$Id: package.html 1967 2009-08-29 21:05:51Z pboy $</p>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,11 @@ import com.arsdigita.kernel.ACSObject;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @version $Id: ACSObjectRequestLocal.java 754 2005-09-02 13:26:17Z sskracic $
|
||||||
|
*/
|
||||||
public class ACSObjectRequestLocal extends RequestLocal {
|
public class ACSObjectRequestLocal extends RequestLocal {
|
||||||
public static final String versionId =
|
|
||||||
"$Id: ACSObjectRequestLocal.java 754 2005-09-02 13:26:17Z sskracic $" +
|
|
||||||
"$Author: sskracic $" +
|
|
||||||
"$DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger
|
private static final Logger s_log = Logger.getLogger
|
||||||
(ACSObjectRequestLocal.class);
|
(ACSObjectRequestLocal.class);
|
||||||
|
|
|
||||||
|
|
@ -27,12 +27,10 @@ import com.arsdigita.cms.util.GlobalizationUtil;
|
||||||
* <p>Access Denied page</p>
|
* <p>Access Denied page</p>
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #9 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Id: AccessDenied.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class AccessDenied extends CMSPage {
|
public class AccessDenied extends CMSPage {
|
||||||
|
|
||||||
public static final String versionId = "$Id: AccessDenied.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
public AccessDenied() {
|
public AccessDenied() {
|
||||||
super("Access Denied");
|
super("Access Denied");
|
||||||
setClassAttr("AccessDenied");
|
setClassAttr("AccessDenied");
|
||||||
|
|
|
||||||
|
|
@ -36,11 +36,10 @@ import com.arsdigita.xml.Element;
|
||||||
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
* @version $Revision: #8 $ $DateTime: 2004/08/17 23:15:09 $
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @author Stanislav Freidin (stas@arsdigita.com)
|
* @author Stanislav Freidin (stas@arsdigita.com)
|
||||||
|
* @version $Id: ArticleImageDisplay.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class ArticleImageDisplay extends ImageDisplay {
|
public class ArticleImageDisplay extends ImageDisplay {
|
||||||
|
|
||||||
public static final String versionId = "$Id: ArticleImageDisplay.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private final ItemSelectionModel m_article;
|
private final ItemSelectionModel m_article;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,12 +34,10 @@ import javax.servlet.ServletException;
|
||||||
* Just override the back(PageState s) method to use.
|
* Just override the back(PageState s) method to use.
|
||||||
*
|
*
|
||||||
* @author Michael Pih (pihman@arsdigita.com)
|
* @author Michael Pih (pihman@arsdigita.com)
|
||||||
* @version $Revision: #7 $ $Date: 2004/08/17 $
|
* @version $Id: BackButton.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
*/
|
*/
|
||||||
public class BackButton extends ColumnPanel {
|
public class BackButton extends ColumnPanel {
|
||||||
|
|
||||||
public static final String versionId = "$Id: BackButton.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:15:09 $";
|
|
||||||
|
|
||||||
private final static String BACK_EVENT = "back";
|
private final static String BACK_EVENT = "back";
|
||||||
private final static String IMAGE_URL =
|
private final static String IMAGE_URL =
|
||||||
Utilities.getGlobalAssetsURL() + "back.gif";
|
Utilities.getGlobalAssetsURL() + "back.gif";
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue