core: Kleinere Formatierungen und Ergänzung Kommentare.
git-svn-id: https://svn.libreccm.org/ccm/trunk@588 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
efa88c40a7
commit
afd350c7b9
|
|
@ -33,24 +33,17 @@ import java.sql.SQLException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Represents a role within a group. The class of users who
|
* Represents a role within a group. The class of users who have a given role
|
||||||
* have a given role within a group are treated as a party, so that
|
* within a group are treated as a party, so that permissions can be assigned
|
||||||
* permissions can be assigned to a role within a group.
|
* to a role within a group.
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* This class has not yet been reviewed and is subject to change.
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author Michael Bryzek
|
|
||||||
* @version 1.0
|
|
||||||
*
|
*
|
||||||
* @see com.arsdigita.kernel.Group#createRole(String)
|
* @see com.arsdigita.kernel.Group#createRole(String)
|
||||||
|
* @author Michael Bryzek
|
||||||
|
* @version 1.0
|
||||||
|
* @version $Id: Role.java 1169 2006-06-14 13:08:25Z fabrice $
|
||||||
**/
|
**/
|
||||||
public class Role extends DomainObject {
|
public class Role extends DomainObject {
|
||||||
|
|
||||||
public static final String versionId = "$Id: Role.java 1169 2006-06-14 13:08:25Z fabrice $ by $Author: fabrice $, $DateTime: 2004/08/16 18:10:38 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.kernel.Role";
|
"com.arsdigita.kernel.Role";
|
||||||
|
|
||||||
|
|
@ -65,6 +58,7 @@ public class Role extends DomainObject {
|
||||||
// TODO: Hack until we integrated roles with permissions
|
// TODO: Hack until we integrated roles with permissions
|
||||||
private static final String IMPLICIT_GROUP = "implicitGroup";
|
private static final String IMPLICIT_GROUP = "implicitGroup";
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBaseDataObjectType() {
|
protected String getBaseDataObjectType() {
|
||||||
return BASE_DATA_OBJECT_TYPE;
|
return BASE_DATA_OBJECT_TYPE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ import com.redhat.persistence.EventProcessorManager;
|
||||||
* @version $Revision: #6 $ $Date: 2004/08/16 $
|
* @version $Revision: #6 $ $Date: 2004/08/16 $
|
||||||
**/
|
**/
|
||||||
final class VersioningProcessorManager implements EventProcessorManager {
|
final class VersioningProcessorManager implements EventProcessorManager {
|
||||||
|
|
||||||
private static final ThreadLocal s_processor = new ThreadLocal() {
|
private static final ThreadLocal s_processor = new ThreadLocal() {
|
||||||
public Object initialValue() {
|
public Object initialValue() {
|
||||||
return new VersioningEventProcessor();
|
return new VersioningEventProcessor();
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,7 @@ public abstract class Debugger {
|
||||||
public abstract String debug();
|
public abstract String debug();
|
||||||
|
|
||||||
private static class DebuggerListLocal extends InternalRequestLocal {
|
private static class DebuggerListLocal extends InternalRequestLocal {
|
||||||
|
@Override
|
||||||
protected Object initialValue() {
|
protected Object initialValue() {
|
||||||
if (Kernel.getConfig().isDebugEnabled()) {
|
if (Kernel.getConfig().isDebugEnabled()) {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
|
|
@ -89,6 +90,7 @@ public abstract class Debugger {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void clearValue() {
|
protected void clearValue() {
|
||||||
if (Kernel.getConfig().isDebugEnabled()) {
|
if (Kernel.getConfig().isDebugEnabled()) {
|
||||||
ArrayList list = (ArrayList) get();
|
ArrayList list = (ArrayList) get();
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,11 @@ import com.arsdigita.persistence.metadata.ObjectType;
|
||||||
import com.arsdigita.domain.DataObjectNotFoundException;
|
import com.arsdigita.domain.DataObjectNotFoundException;
|
||||||
import com.arsdigita.kernel.User;
|
import com.arsdigita.kernel.User;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @version $Id: WorkflowTemplate.java 287 2005-02-22 00:29:02Z sskracic $
|
||||||
|
*/
|
||||||
public class WorkflowTemplate extends Workflow {
|
public class WorkflowTemplate extends Workflow {
|
||||||
public static final String versionId = "$Id: WorkflowTemplate.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
|
|
||||||
|
|
||||||
public static final String BASE_DATA_OBJECT_TYPE =
|
public static final String BASE_DATA_OBJECT_TYPE =
|
||||||
"com.arsdigita.workflow.simple.WorkflowTemplate";
|
"com.arsdigita.workflow.simple.WorkflowTemplate";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue